src/Zend/Loader/Autoloader.php
protected function _getVersionPath($path, $version)
    {
        $type = $this->_getVersionType($version);

        if ($type == 'latest') {
            $version = 'latest';
        }

        $availableVersions = $this->_getAvailableVersions($path, $version);
        if (empty($availableVersions)) {
            throw new Zend_Loader_Exception('No valid ZF installations discovered');
        }

        $matchedVersion = array_pop($availableVersions);
        return $matchedVersion;
    }
protected function _getVersionPath($path, $version)
    {
        $type = $this->_getVersionType($version);

        if ($type == 'latest') {
            $version = 'latest';
        }

        $availableVersions = $this->_getAvailableVersions($path, $version);
        if (empty($availableVersions)) {
            throw new Zend_Loader_Exception('No valid ZF installations discovered');
        }

        $matchedVersion = array_pop($availableVersions);
        return $matchedVersion;
    }
protected function _getVersionPath ( $ path , $ version ) { $ type = $ this -> _getVersionType ( $ version ) ; if ( $ type == 'latest' ) { $ version = 'latest' ; } $ availableVersions = $ this -> _getAvailableVersions ( $ path , $ version ) ; if ( empty ( $ availableVersions ) ) { throw new Zend_Loader_Exception ( 'No valid ZF installations discovered' ) ; } $ matchedVersion = array_pop ( $ availableVersions ) ; return $ matchedVersion ; }
Retrieve the filesystem path for the requested ZF version

@param  string $path
@param  string $version
@return void
Retrieve the filesystem path for the requested ZF version