Example #1
0
 public function onAfterExecute()
 {
     $this->template->setData($this->data);
     $res = $this->template->process();
     Registry::get('response')->setBody($res);
 }