src/View/AppView.php
public function getViewFile($name)
    {
        list($plugin, $name) = $this->pluginSplit($name);
        $return = null;
        foreach ($this->_paths($plugin) as $path) {
            $viewFile = FS::clean($path . $name . $this->_ext);
            if (FS::isFile($viewFile)) {
                $return = $this->_checkFilePath($viewFile, $path);
                break;
            }
        }

        return $return;
    }
public function getViewFile($name)
    {
        list($plugin, $name) = $this->pluginSplit($name);
        $return = null;
        foreach ($this->_paths($plugin) as $path) {
            $viewFile = FS::clean($path . $name . $this->_ext);
            if (FS::isFile($viewFile)) {
                $return = $this->_checkFilePath($viewFile, $path);
                break;
            }
        }

        return $return;
    }
public function getViewFile ( $ name ) { list ( $ plugin , $ name ) = $ this -> pluginSplit ( $ name ) ; $ return = null ; foreach ( $ this -> _paths ( $ plugin ) as $ path ) { $ viewFile = FS :: clean ( $ path . $ name . $ this -> _ext ) ; if ( FS :: isFile ( $ viewFile ) ) { $ return = $ this -> _checkFilePath ( $ viewFile , $ path ) ; break ; } } return $ return ; }
Get view file path.

@param   string $name
@return  null|string
Get view file path .