Esempio n. 1
0
 /**
  * @param $method
  * @param bool $view
  */
 protected function setMethod($method, $view = true)
 {
     $this->view->setMethod($method);
     if ($view && isset($this->methodView[$method]) && is_array($this->methodView[$method])) {
         $this->view->assign($this->methodView[$method]);
     }
 }