public function __construct() { $this->opo_search_base = new SearchBase(); $this->opo_app_config = Configuration::load(); $this->opo_search_config = Configuration::load($this->opo_app_config->get("search_config")); $this->opo_search_indexing_config = Configuration::load($this->opo_search_config->get("search_indexing_config")); $this->opa_setting_descriptions = array(); $this->opa_setting_names = array(); $this->opa_setting_hints = array(); $this->_initMessages(); parent::__construct(); }
public function __construct() { $this->opo_search_base = new SearchBase(); $this->opo_app_config = Configuration::load(); $this->opo_search_config = Configuration::load($this->opo_app_config->get("search_config")); $this->opo_search_indexing_config = Configuration::load($this->opo_search_config->get("search_indexing_config")); $this->ops_webserver_user = posix_getpwuid(posix_getuid()); $this->ops_webserver_user = $this->ops_webserver_user['name']; $this->opa_setting_descriptions = array(); $this->opa_setting_names = array(); $this->opa_setting_hints = array(); $this->_initMessages(); parent::__construct(); }
public function __construct() { $this->opo_search_base = new SearchBase(); $this->opo_app_config = Configuration::load(); $this->opo_search_config = Configuration::load($this->opo_app_config->get("search_config")); $this->opo_search_indexing_config = Configuration::load($this->opo_search_config->get("search_indexing_config")); $this->opa_setting_descriptions = array(); $this->opa_setting_names = array(); $this->opa_setting_hints = array(); $this->_initMessages(); // allow overriding settings from search.conf via constant (usually defined in bootstrap file) // this is useful for multi-instance setups which have the same set of config files for multiple instances if (defined('__CA_ELASTICSEARCH_BASE_URL__') && strlen(__CA_ELASTICSEARCH_BASE_URL__) > 0) { $this->ops_elasticsearch_base_url = __CA_ELASTICSEARCH_BASE_URL__; } else { $this->ops_elasticsearch_base_url = $this->opo_search_config->get('search_elasticsearch_base_url'); } if (defined('__CA_ELASTICSEARCH_INDEX_NAME__') && strlen(__CA_ELASTICSEARCH_INDEX_NAME__) > 0) { $this->ops_elasticsearch_index_name = __CA_ELASTICSEARCH_INDEX_NAME__; } else { $this->ops_elasticsearch_index_name = $this->opo_search_config->get('search_elasticsearch_index_name'); } parent::__construct(); }
public function __construct() { $this->opo_search_base = new SearchBase(); $this->opo_app_config = Configuration::load(); $this->opo_search_config = Configuration::load($this->opo_app_config->get("search_config")); $this->opo_search_indexing_config = Configuration::load($this->opo_search_config->get("search_indexing_config")); $this->ops_webserver_user = posix_getpwuid(posix_getuid()); $this->ops_webserver_user = $this->ops_webserver_user['name']; $this->opa_setting_descriptions = array(); $this->opa_setting_names = array(); $this->opa_setting_hints = array(); $this->_initMessages(); // allow overriding settings from search.conf via constant (usually defined in bootstrap file) // this is useful for multi-instance setups which have the same set of config files for multiple instances if (defined('__CA_SOLR_URL__') && strlen(__CA_SOLR_URL__) > 0) { $this->ops_search_solr_url = __CA_SOLR_URL__; } else { $this->ops_search_solr_url = $this->opo_search_config->get('search_solr_url'); } if (defined('__CA_SOLR_HOME_DIR__') && strlen(__CA_SOLR_HOME_DIR__) > 0) { $this->ops_search_solr_home_dir = __CA_SOLR_HOME_DIR__; } else { $this->ops_search_solr_home_dir = $this->opo_search_config->get('search_solr_home_dir'); } parent::__construct(); }
public function __construct() { parent::__construct(); }