getLayoutPath() public static method

public static getLayoutPath ( )
Beispiel #1
0
 public function renderLayout()
 {
     if ($this->_layout) {
         $layoutPath = Path::join(ROOT_PATH, ApplicationPaths::getLayoutPath(), $this->_layout . '.phtml');
         /** @noinspection PhpIncludeInspection */
         require_once $layoutPath;
     }
 }