Exemplo n.º 1
0
 function PmWikiConnectedCMS($cms)
 {
     parent::ConnectedCMS($cms);
     $this->client = WebserviceClient::instance($GLOBALS['ELEARNING_INTERFACE_MODULES'][$this->cms_type]['ABSOLUTE_PATH_SOAP'] . '?' . $GLOBALS['ELEARNING_INTERFACE_MODULES'][$this->cms_type]['URL_PARAMS'], $GLOBALS['ELEARNING_INTERFACE_MODULES'][$this->cms_type]['WEBSERVICE_CLASS']);
     $this->api_key = $GLOBALS['ELEARNING_INTERFACE_MODULES'][$this->cms_type]['soap_data']['api-key'];
 }
Exemplo n.º 2
0
 /**
  * constructor
  *
  * init class. 
  * @access public
  * @param string $module_id module-id
  * @param string $module_type module-type
  * @param string $cms_type system-type
  */
 function PmWikiContentModule($module_id = "", $module_type, $cms_type)
 {
     parent::ContentModule($module_id, $module_type, $cms_type);
     $this->link = $GLOBALS['connected_cms'][$this->cms_type]->ABSOLUTE_PATH_ELEARNINGMODULES . $this->id . "/";
     $this->client = WebserviceClient::instance($this->link . '?' . $GLOBALS['ELEARNING_INTERFACE_MODULES'][$this->cms_type]['URL_PARAMS'], $GLOBALS['ELEARNING_INTERFACE_MODULES'][$this->cms_type]['WEBSERVICE_CLASS']);
 }