getViewPath() public static method

public static getViewPath ( )
Exemplo n.º 1
0
 public function __construct($viewName, array $attributes)
 {
     $this->_viewName = $viewName;
     $this->_attributes = $attributes;
     $this->_loaderPath = Path::join(ROOT_PATH, ApplicationPaths::getViewPath());
     $this->_viewFilename = $viewName . self::EXTENSION;
     $this->_viewPath = Path::join($this->_loaderPath, $this->_viewFilename);
 }
Exemplo n.º 2
0
 private function _loadViewHelper()
 {
     $helperPath = Path::join(ROOT_PATH, ApplicationPaths::getViewPath(), $this->_viewName . '.helper.php');
     Files::loadIfExists($helperPath);
 }
Exemplo n.º 3
0
 public static function resolveViewPath($name, $responseType)
 {
     return Path::join(ROOT_PATH, ApplicationPaths::getViewPath(), $name . self::getViewPostfix($responseType));
 }