public function __construct() { parent::__construct(); $this->opo_app_config = Configuration::load(); $vs_external_app_config_path = $this->opo_app_config->get('external_applications'); $this->opo_external_app_config = Configuration::load($vs_external_app_config_path); }
/** * Returns status of plugin. Normally this is overriden by the plugin subclass * * @return array - status info array; 'available' key determines if the plugin should be loaded or not */ public function checkStatus() { $va_status = parent::checkStatus(); if ($this->register()) { $va_status['available'] = true; } return $va_status; }
public function __construct() { $this->opo_config = Configuration::load(); $this->opo_search_config = Configuration::load($this->opo_config->get('search_config')); $this->opo_datamodel = Datamodel::load(); $this->ops_encoding = $this->opo_config->get('character_set'); $this->opo_db = new Db(); $this->init(); parent::__construct(); }
public function __construct($pa_hits, $pn_table_num) { parent::__construct(); $this->opn_subject_tablenum = $pn_table_num; $this->setHits($pa_hits); }