/** * initialize() Initialize constructor * @access public * @return null */ public function initialize() { parent::initialize(); $this->tag->setTitle(self::NAME); // create cache key $this->cacheKey = md5($this->router->getModuleName() . $this->router->getControllerName() . $this->router->getActionName()); }
/** * initialize() Initialize constructor * @access public * @return null */ public function initialize() { parent::initialize(); $this->tag->setTitle(' - ' . DashboardController::NAME); // create cache key $this->cacheKey = md5(\Modules\Backend::MODULE . self::NAME . $this->router->getControllerName() . $this->router->getActionName()); $this->_breadcrumbs->add(DashboardController::NAME, $this->url->get(['for' => 'dashboard'])); }
/** * initialize() Initialize constructor * @access public * @return null */ public function initialize() { parent::initialize(); // set json content here if ($this->request->getPost('sEcho') != null) { $this->_isJsonResponse = true; } else { $this->tag->setTitle(' - ' . DashboardController::NAME); // create cache key $this->cacheKey = md5(\Modules\Backend::MODULE . self::NAME . $this->router->getControllerName() . $this->router->getActionName()); $this->_breadcrumbs->add(DashboardController::NAME, $this->url->get(['for' => 'dashboard'])); } }
protected function initialize() { parent::initialize(); $this->setModel("Member"); }
protected function initialize() { parent::initialize(); }
/** * initialize() Initialize constructor * @access public * @return null */ public function initialize() { parent::initialize(); $this->tag->setTitle(' - ' . DashboardController::NAME); $this->_breadcrumbs->add(DashboardController::NAME, $this->url->get(['for' => 'dashboard'])); }