function __construct()
 {
     parent::__construct('items');
     $this->load->library('item_lib');
     $this->data['pagetitle'] = $this->lang->line('module_' . strtolower(get_class()));
     $this->data['pagedescription'] = $this->lang->line('module_items_desc');
 }
Example #2
0
 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
     // load the users model
     $this->load->model('users_model');
     // load the users language file
     $this->lang->load('users');
 }
Example #3
0
 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct();
     // load the language file
     $this->lang->load('contact');
     // load the model file
     $this->load->model('contact_model');
     // load the captcha helper
     $this->load->helper('captcha');
 }
Example #4
0
 public function __construct($data)
 {
     parent::__construct($data);
     if ($this->show->itemID) {
         $this->show->staticPath = $this->show->itemID;
     } else {
         if (!empty($this->data[0])) {
             $this->show->staticPath = $this->data[0];
         } else {
             $this->show->staticPath = 0;
         }
     }
 }
Example #5
0
 public function __construct($data)
 {
     parent::__construct($data);
     $this->show->Title = 'Каталог';
     $oPage = Page_Handler::getPage();
     $oPage->StaticPath = 'catalog/category/' . $this->show->itemID;
     $this->show->path2Category = $oPage->getPathToRoot() . $oPage->StaticPath;
     $this->show->isCatalog = true;
     $this->show->catalogIndex = false;
     $this->show->catalogCategory = $this->oCatalogCategory->getList(-1);
     $this->show->filterID = 0;
     $metas = $this->oCatalogCategory->getById($this->show->itemID);
     if ($metas['MetaKeywords']) {
         $this->show->MetaKeywords = $metas['MetaKeywords'];
     }
     if ($metas['MetaTitle']) {
         $this->show->MetaTitle = $metas['MetaTitle'];
     }
     if ($metas['MetaDescription']) {
         $this->show->MetaDescription = $metas['MetaDescription'];
     }
 }
Example #6
0
 function __construct()
 {
     parent::__construct();
 }
 /**
  * Create a new ResourceController instance.
  */
 public function __construct()
 {
     parent::__construct();
     // No CSRF protection.
     unset($this->middleware['Anomaly\\Streams\\Platform\\Http\\Middleware\\VerifyCsrfToken']);
 }
Example #8
0
 public function __construct(\Lavalite\Contact\Interfaces\ContactInterface $model)
 {
     $this->model = $model;
     parent::__construct();
 }
Example #9
0
 public function __construct($data)
 {
     parent::__construct($data);
 }
Example #10
0
 public function __construct($params)
 {
     parent::__construct($params);
     $this->show->Title = 'Пользователь';
 }
Example #11
0
File: Page.php Project: kizz66/meat
 public function __construct($params)
 {
     parent::__construct($params);
 }
Example #12
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('general');
 }
 public function __construct(\Lavalite\Portfolio\Interfaces\PortfolioInterface $portfolio)
 {
     $this->portfolio = $portfolio;
     parent::__construct();
 }