Example #1
0
 /**
  * Execute the action
  */
 public function execute()
 {
     parent::execute();
     $this->getData();
     $this->parse();
     $this->display();
 }
Example #2
0
 /**
  * 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();
 }
Example #3
0
 /**
  * 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();
 }
Example #4
0
 /**
  * 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();
 }