public function __construct($di) { parent::__construct($di); $this->_session = $this->_di->get('session'); $this->_client = new Clients($di); $this->setTitle('Личный кабинет'); }
public function __construct($di) { parent::__construct($di); $this->_session = new SessionManager($di); $this->_model = new Admins($di); $this->setTitle('Административная панель'); }
public function __construct($di) { parent::__construct($di); $this->_model = new Basket($di); $this->_orders = new Orders($di); $this->_client = new Clients($di); $this->setTitle('Корзина'); }
public function __construct($di) { header("Expires: Mon, 11 May 1982 08:40:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); header("Content-type: text/xml; charset=UTF-8"); parent::__construct($di); $this->_xml = new \DomDocument('1.0', "UTF-8"); $this->_xml_root = $this->_xml->appendChild($this->_xml->createElement('root')); $this->_session = $di->get('session'); }
public function __construct($di) { parent::__construct($di); $this->setTitle('Новости'); $this->_model = new News($di); }
public function __construct($di) { parent::__construct($di); $this->setTitle('Регистрация'); $this->_model = new Clients($di); }
public function __construct($di) { parent::__construct($di); $this->_model = new Clients($this->_di); $this->setTitle('Авторизация'); }
public function __construct($di) { parent::__construct($di); $this->_model = new Search($di); $this->setTitle('Поиск запчасти'); }