Example #1
0
 /**
  * Test set multi layouts
  */
 public function testMultiLayouts()
 {
     $viewRoot = __DIR__ . '/tpl/';
     $view = new WisView();
     $view->setLayout($viewRoot . 'layout.phtml', $viewRoot . 'layout.sub.phtml');
     $view->sets($this->vars);
     $view->display($viewRoot . 'body.phtml');
 }