/** * Categories Module Constructor * * @access public * @param string */ public function __construct($config) { parent::__construct(); if (!empty($config) && is_string($config)) { $this->config = json_decode($config, TRUE); } $this->title = lang('box_compare_products_heading'); }
/** * Slideshow Module Constructor * * @access public * @param string */ public function __construct($config) { parent::__construct(); if (!empty($config) && is_string($config)) { $this->config = json_decode($config, true); } $this->title = lang('box_banner_heading'); }
/** * Article Categories Module Constructor * * @access public */ public function __construct($config) { parent::__construct(); if (!empty($config) && is_string($config)) { $this->config = json_decode($config, TRUE); } $this->title = lang('box_articles_categories_heading'); }
/** * New Products Content Module Constructor * * @access public * @param string */ public function __construct() { parent::__construct(); if (!empty($config) && is_string($config)) { $this->config = json_decode($config, true); } $this->title = lang('box_popular_search_terms_tag_cloud_heading'); }
/** * Module Constructor * * @access public * @param string */ public function __construct($config) { parent::__construct(); if (!empty($config) && is_string($config)) { $this->config = json_decode($config, TRUE); } $this->title = lang('box_shop_by_price_heading'); //load library $this->ci->load->library('currencies'); //set the params $currencies = $this->ci->currencies->get_data(); if (!empty($currencies)) { foreach ($currencies as $key => $currency) { $this->params[] = array('name' => 'MODULE_SHOP_BY_PRICE_' . $key, 'title' => $currency['title'], 'type' => 'numberfield', 'value' => '', 'description' => 'price interval (Price seperated by ";")'); } } }
/** * Categories Information Constructor * * @access public * @param string */ public function __construct($config) { parent::__construct(); $this->title = lang('box_information_heading'); }
/** * Categories Module Constructor * * @access public * @param string */ public function __construct() { parent::__construct(); $this->title = lang('box_currencies_heading'); }
/** * New Products Content Module Constructor * * @access public * @param string */ public function __construct() { parent::__construct(); $this->title = lang('box_search_heading'); }