public function defaultAction() { $this->_view = \views\ViewFactory::getView(); //require 'image.php'; $file = _ROOT . DS . 'public' . DS . 'desktop.php'; include $file; }
protected function initView($type = 'html') { $this->_view = \views\ViewFactory::getView($type); }