Example #1
0
 /**
  * gets the view object
  *
  * @return View
  */
 public function getView()
 {
     if ($this->_view === null) {
         $this->_view = new View($this->getViewPath());
         $this->_view->setAction($this->_view_name);
         $this->_view->setActiveController($this->_name);
     }
     return $this->_view;
 }