/** constructor * the only available constructor * * @param object environment the environment object */ public function __construct ($environment) { parent::__construct($environment); $this->_translator->addMessageDatFolder('plugins/voyeur/messages'); $this->_identifier = 'voyeur'; $this->_title = 'Voyant'; $this->_image_path = 'plugins/'.$this->getIdentifier(); }
/** constructor * the only available constructor * * @param object environment the environment object */ public function __construct ($environment) { parent::__construct($environment); $this->_identifier = 'ckeditor'; $this->_title = 'CKEditor'; $this->_image_path = 'plugins/'.$this->getIdentifier(); $this->_translator->addMessageDatFolder('plugins/'.$this->getIdentifier().'/messages'); $this->_htdocs_identifier = 'ckeditor_3.6.2'; }
/** constructor * the only available constructor * * @param object environment the environment object */ public function __construct ($environment) { parent::__construct($environment); $this->_identifier = 'life'; $this->_title = 'Life'; @include_once('plugins/life/config.php'); if ( !empty($life_url_to_life) ) { $this->_url_to_life = $life_url_to_life; } if ( !empty($life_proxy_ip) ) { $this->_proxy_ip = $life_proxy_ip; } if ( !empty($life_proxy_port) ) { $this->_proxy_port = $life_proxy_port; } }
/** constructor * the only available constructor * * @param object environment the environment object */ public function __construct ($environment) { parent::__construct($environment); $this->_translator->addMessageDatFolder('plugins/onyx/messages'); $this->_identifier = 'onyx'; $this->_title = 'Onyx'; $this->_image_path = 'plugins/'.$this->getIdentifier(); $this->_player_url_base = $this->_getConfigValueFor($this->_identifier.'_player_url'); $this->_player_url_wsdl = $this->_player_url_base.'/services?wsdl'; $this->_player_url_run = $this->_player_url_base.'/onyxrun'; $this->_player_lms_key = $this->_getConfigValueFor($this->_identifier.'_lms_name'); $this->_reporter_url_wsdl = $this->_player_url_base.'/reporterservices?wsdl'; $this->_proxy_use = $this->_getConfigValueFor($this->_identifier.'_proxy'); $this->_plugin_folder = 'plugins'.DIRECTORY_SEPARATOR.$this->getIdentifier(); // config file $this->_plugin_config_folder = $this->_plugin_folder.DIRECTORY_SEPARATOR.'etc'; if ( file_exists($this->_plugin_config_folder.DIRECTORY_SEPARATOR.'config.php') ) { include_once($this->_plugin_config_folder.DIRECTORY_SEPARATOR.'config.php'); $this->_player_url_xsschema = $c_onyx_url_xsschema; } }
/** constructor * the only available constructor * * @param object environment the environment object */ public function __construct ($environment) { parent::__construct($environment); $this->_identifier = 'piwik'; $this->_translator->addMessageDatFolder('plugins/'.$this->_identifier.'/messages'); $this->_title = ucfirst($this->_identifier); $this->_image_path = 'plugins/'.$this->getIdentifier(); $this->_format_media_key = '(:'.$this->_identifier; $this->_method = 'javascript'; // options = javascript / php - see etc/config.php $this->_timeout_ms = 200; // to configure see etc/config.php // only for php method $this->_plugin_folder = 'plugins'.DIRECTORY_SEPARATOR.$this->getIdentifier(); // config file $this->_plugin_config_folder = $this->_plugin_folder.DIRECTORY_SEPARATOR.'etc'; if ( file_exists($this->_plugin_config_folder.DIRECTORY_SEPARATOR.'config.php') ) { include_once($this->_plugin_config_folder.DIRECTORY_SEPARATOR.'config.php'); if ( !empty($c_piwik_api_method) ) { $this->_method = $c_piwik_api_method; } if ( !empty($c_timeout_ms) ) { $this->_timeout_ms = $c_timeout_ms; } } }
/** constructor * the only available constructor * * @param object environment the environment object */ public function __construct ($environment) { parent::__construct($environment); $this->_translator->addMessageDatFolder('plugins/mediabird'); $this->_identifier = 'mediabird'; $this->_title = 'Mediabird'; }