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'); }
/** * Constructor */ function __construct() { parent::__construct(); // load the users model $this->load->model('users_model'); // load the users language file $this->lang->load('users'); }
/** * 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'); }
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; } } }
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']; } }
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']); }
public function __construct(\Lavalite\Contact\Interfaces\ContactInterface $model) { $this->model = $model; parent::__construct(); }
public function __construct($data) { parent::__construct($data); }
public function __construct($params) { parent::__construct($params); $this->show->Title = 'Пользователь'; }
public function __construct($params) { parent::__construct($params); }
public function __construct() { parent::__construct(); $this->load->helper('general'); }
public function __construct(\Lavalite\Portfolio\Interfaces\PortfolioInterface $portfolio) { $this->portfolio = $portfolio; parent::__construct(); }