public function getAllVersions()
    {
        $versions = array();

        foreach ($this->getEntities() as $entity) {
            if ($entity->getVersion()) {
                $versions[$entity->getVersion()] = $entity->getVersion();
            } else {
                $versions['0.0'] = _t('DocumentationManifest.MASTER', 'Master');
            }
        }

        asort($versions);

        return $versions;
    }
public function getAllVersions()
    {
        $versions = array();

        foreach ($this->getEntities() as $entity) {
            if ($entity->getVersion()) {
                $versions[$entity->getVersion()] = $entity->getVersion();
            } else {
                $versions['0.0'] = _t('DocumentationManifest.MASTER', 'Master');
            }
        }

        asort($versions);

        return $versions;
    }
public function getAllVersions ( ) { $ versions = array ( ) ; foreach ( $ this -> getEntities ( ) as $ entity ) { if ( $ entity -> getVersion ( ) ) { $ versions [ $ entity -> getVersion ( ) ] = $ entity -> getVersion ( ) ; } else { $ versions [ '0.0' ] = _t ( 'DocumentationManifest.MASTER' , 'Master' ) ; } } asort ( $ versions ) ; return $ versions ; }
Returns a sorted array of all the unique versions registered
Returns a sorted array of all the unique versions registered