public function __construct() { parent::__construct(); ee()->load->library('Low_search_params'); ee()->load->library('Low_search_filters'); $this->params =& ee()->low_search_params; $this->settings =& ee()->low_search_settings; }
/** * Constructor * * @access public * @param array * @return void */ public function __construct($settings = array()) { // Call Base constructor parent::__construct(); // Set the Settings object ee()->low_search_settings->set($settings); // Assign current settings $this->settings = ee()->low_search_settings->get(); }
/** * Constructor * * @return void */ public function __construct() { // ------------------------------------- // Call parent constructor // ------------------------------------- parent::__construct(); // ------------------------------------- // Get member group shortcut // ------------------------------------- $this->member_group = (int) @ee()->session->userdata['group_id']; // ------------------------------------- // Model shortcuts // ------------------------------------- $this->collection =& ee()->low_search_collection_model; $this->shortcuts =& ee()->low_search_shortcut_model; $this->groups =& ee()->low_search_group_model; }