original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Returns a sorted array of all the unique versions registered
docstring_tokens: Returns a sorted array of all the unique versions registered