Exemplo n.º 1
0
 /**
  * Computes the path of the view.
  * 
  * @param string $rootDir
  * @see \Puzzlout\Framework\Core\ViewLoader::GetFrameworkRootDir()
  * @see \Puzzlout\Framework\Core\ViewLoader::GetApplicationRootDir()
  * @return string The directory where to find the view.
  */
 public function GetPathForView($rootDir)
 {
     $path = "APP_ROOT_DIR" . $rootDir . ucfirst($this->controller->module()) . "/" . ucfirst($this->controller->action()) . self::VIEWFILEEXTENSION;
     return $path;
 }