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