protected function view($view = '')
 {
     if (!empty($this->layout)) {
         $this->data['content1'] = $this->PartialView($view, true);
         parent::View($this->layout);
     } else {
         parent::View($view);
     }
 }
Example #2
0
 function Welcome()
 {
     $model = array('wel', 'come');
     return parent::View($model);
 }
Example #3
0
 public function Index()
 {
     $model = array('foo', 'bar');
     return parent::View($model);
 }