Example #1
0
 /**
  *
  * @param string $masterPagePath
  * @param View $view 
  */
 public function __construct($masterPagePath, View $view)
 {
     $this->masterPagePath = $masterPagePath;
     // set the view that uses the masterpage
     $this->view = $view;
     $this->viewData = $view->getViewData();
     $this->helper = new \Pvik\Web\ViewHelpers\HtmlHelper();
     $this->executePartialCode();
 }