src/View/AppView.php
protected function _getLayoutPartialPath($name)
    {
        list($plugin, $name) = $this->pluginSplit($name);

        $paths       = $this->_paths($plugin);
        $layoutPaths = $this->_getSubPaths('Layout' . DS . 'Partial');

        foreach ($paths as $path) {
            foreach ($layoutPaths as $layoutPath) {
                $partial = $path . $layoutPath . DS . $name . $this->_ext;
                if (FS::isFile($partial)) {
                    return $partial;
                }
            }
        }

        return false;
    }
protected function _getLayoutPartialPath($name)
    {
        list($plugin, $name) = $this->pluginSplit($name);

        $paths       = $this->_paths($plugin);
        $layoutPaths = $this->_getSubPaths('Layout' . DS . 'Partial');

        foreach ($paths as $path) {
            foreach ($layoutPaths as $layoutPath) {
                $partial = $path . $layoutPath . DS . $name . $this->_ext;
                if (FS::isFile($partial)) {
                    return $partial;
                }
            }
        }

        return false;
    }
protected function _getLayoutPartialPath ( $ name ) { list ( $ plugin , $ name ) = $ this -> pluginSplit ( $ name ) ; $ paths = $ this -> _paths ( $ plugin ) ; $ layoutPaths = $ this -> _getSubPaths ( 'Layout' . DS . 'Partial' ) ; foreach ( $ paths as $ path ) { foreach ( $ layoutPaths as $ layoutPath ) { $ partial = $ path . $ layoutPath . DS . $ name . $ this -> _ext ; if ( FS :: isFile ( $ partial ) ) { return $ partial ; } } } return false ; }
Finds an partial filename, returns false on failure.

@param   string $name
@return  bool|string
Finds an partial filename returns false on failure .