Example #1
0
 public function __construct($registry, $modelFile)
 {
     parent::__construct($registry, $modelFile);
     $this->viewid = Helper::getViewId();
     $this->languageid = Helper::getLanguageId();
     $this->_rawData = array();
     $this->activePath = array();
 }
 public function __construct($registry, $modelFile = NULL)
 {
     parent::__construct($registry, $modelFile);
     $this->controller = $this->registry->router->getCurrentController();
     $this->init();
     if (isset($_POST['layered_submitted']) && $_POST['layered_submitted'] == 1) {
         App::redirectUrl($this->generateRedirectUrl());
     }
     $this->productIds = $this->getProducts();
 }
Example #3
0
 public function __construct($registry)
 {
     parent::__construct($registry);
     $this->queryColumns = array();
     $this->queryFrom = '';
     $this->queryGroupBy = '';
     $this->queryOrderBy = '';
     $this->queryHaving = '';
     $this->queryLimit = 100;
     $this->queryOffset = 0;
     $this->pagination = 100;
     $this->currentPage = 0;
     $this->sqlParams = array();
     $this->encryptionKey = Session::getActiveEncryptionKeyValue();
     $this->languageId = Helper::getLanguageId();
     $this->viewId = !is_null(Helper::getViewId()) ? Helper::getViewId() : 0;
     $this->queryAdditionalWhere = '';
     $this->DataSet = array();
     $this->cacheEnabled = array('enabled' => false, 'lifetime' => 3600, 'cacheid' => null);
     $this->layerData = $this->registry->loader->getCurrentLayer();
 }
Example #4
0
 public function __construct($registry)
 {
     parent::__construct($registry);
 }
Example #5
0
 public function __construct($registry, $modelFile)
 {
     parent::__construct($registry, $modelFile);
     $this->layer = $this->registry->loader->getCurrentLayer();
 }
Example #6
0
 public function __construct($registry, $modelFile)
 {
     parent::__construct($registry, $modelFile);
     $this->viewid = Helper::getViewId();
     $this->languageid = Helper::getLanguageId();
 }
Example #7
0
 public function __construct($registry, $modelFile)
 {
     parent::__construct($registry, $modelFile);
 }