예제 #1
0
 /**
  * Prepare
  *
  * @return void
  *
  * @access protected
  */
 protected function prepare()
 {
     parent::prepare();
     $name = $this->getViewName();
     $this->view->setView($name);
     $this->addPayloadData();
 }
예제 #2
0
 /**
  * Prepare
  *
  * @return void
  *
  * @access protected
  */
 protected function prepare()
 {
     parent::prepare();
     $name = $this->getViewName();
     $this->view->setView($name);
     $method = $this->getMethodForPayload();
     $this->{$method}();
 }