/** * Create new instance. */ public function __construct() { parent::__construct('prfilter', Runtime::getContainer()->get('translator')->trans('Price Range')); $this->ranges = array(); if (!empty($this->filterValues) && is_array($this->filterValues)) { // values are in the form of from-to foreach ($this->filterValues as $value) { $range = explode('-', $value); if (!empty($value)) { $this->ranges[$value] = $range; } } } }
/** * Create new instance. */ public function __construct() { parent::__construct('mfilter', Runtime::getContainer()->get('translator')->trans('Manufacturer'), Runtime::getContainer()->get('request')->query->get('mfilter')); }
/** * Create new instance. */ public function __construct() { parent::__construct('cfilter', Runtime::getContainer()->get('translator')->trans('Category'), Runtime::getContainer()->get('request')->query->get('cfilter')); $this->productIds = null; }
/** * Create new instance. */ public function __construct() { parent::__construct('afilter', Runtime::getContainer()->get('translator')->trans('First character of Name')); }
/** * Create new instance. */ public function __construct() { parent::__construct('ofilter', Runtime::getContainer()->get('translator')->trans('Order Status'), Runtime::getContainer()->get('request')->query->get('ofilter')); }