src/Zend/Loader/Autoloader.php
protected function _getVersionType($version)
    {
        if (strtolower($version) == 'latest') {
            return 'latest';
        }

        $parts = explode('.', $version);
        $count = count($parts);
        if (1 == $count) {
            return 'major';
        }
        if (2 == $count) {
            return 'minor';
        }
        if (3 < $count) {
            throw new Zend_Loader_Exception('Invalid version string provided');
        }
        return 'specific';
    }
protected function _getVersionType($version)
    {
        if (strtolower($version) == 'latest') {
            return 'latest';
        }

        $parts = explode('.', $version);
        $count = count($parts);
        if (1 == $count) {
            return 'major';
        }
        if (2 == $count) {
            return 'minor';
        }
        if (3 < $count) {
            throw new Zend_Loader_Exception('Invalid version string provided');
        }
        return 'specific';
    }
protected function _getVersionType ( $ version ) { if ( strtolower ( $ version ) == 'latest' ) { return 'latest' ; } $ parts = explode ( '.' , $ version ) ; $ count = count ( $ parts ) ; if ( 1 == $ count ) { return 'major' ; } if ( 2 == $ count ) { return 'minor' ; } if ( 3 < $ count ) { throw new Zend_Loader_Exception ( 'Invalid version string provided' ) ; } return 'specific' ; }
Retrieve the ZF version type

@param  string $version
@return string "latest", "major", "minor", or "specific"
@throws Zend_Loader_Exception if version string contains too many dots
Retrieve the ZF version type