/** * Execute the action */ public function execute() { parent::execute(); $this->getData(); $this->parse(); $this->display(); }
/** * Execute the action * * @return void */ public function execute() { // call parent, this will probably add some general CSS/JS or other required files parent::execute(); // parse $this->parse(); // display the page $this->display(); }
/** * Execute the action */ public function execute() { parent::execute(); // get parameters $this->pagePath = $this->getParameter('page', 'string'); if ($this->pagePath === null) { $this->redirect(BackendModel::createURLForAction('content')); } $this->parse(); $this->display(); }
/** * Execute the action * * @return void */ public function execute() { // call parent, this will probably add some general CSS/JS or other required files parent::execute(); // get parameters $this->pagePath = $this->getParameter('page', 'string'); // no parameter if ($this->pagePath === null) { $this->redirect(BackendModel::createURLForAction('content')); } // parse $this->parse(); // display the page $this->display(); }