Beispiel #1
0
 public function render()
 {
     // Build the sorted message list
     $this->messages = $this->getObject('session')->getContainer('message')->all();
     //Set the component and layout information
     $this->extension = $this->getObject('component')->getIdentifier()->package;
     $this->layout = $this->getObject('component')->getController()->getView()->getLayout();
     return parent::render();
 }
Beispiel #2
0
 public function render()
 {
     // Build the sorted message list
     $this->messages = $this->getObject('response')->getMessages();
     //Set the component, layout and view information
     $this->extension = $this->getObject('component')->getIdentifier()->package;
     $this->layout = $this->getObject('component')->getController()->getView()->getLayout();
     $this->view = $this->getObject('component')->getController()->getView()->getName();
     return parent::render();
 }