[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/misc/ -> version.class.php (sommaire)

URL pointing to the project page

Poids: 135 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 5 fois
Nécessite: 0 fichiers

Définit 1 class

Version:: (7 méthodes):
  getVersion()
  getProjectPage()
  getLifetypeVersionFeed()
  getPluginVersionFeed()
  isDevelopment()
  compare()
  isNewer()


Classe: Version  - X-Ref

\ingroup Misc

Returns the current version of plog as well as a link to the project page
getVersion()   X-Ref
Returns the current version of pLog, determined by the value of the $version
variable in the version.php file.
If the file is not available, the result is unknown.

return: The version identifier.

getProjectPage()   X-Ref
Returns the official page of the project.

return: The official project page.

getLifetypeVersionFeed()   X-Ref
Returns the link to the current Lifetype version feed


getPluginVersionFeed()   X-Ref
Returns the link to the current Lifetype version feed


isDevelopment( $version = "" )   X-Ref
Returns true if the current version is a development version


compare( $v1, $v2 )   X-Ref
Compares two LT versions

param: v1
param: v2
return: 1 if v1>v2, 0 if v1==v2 and -1 if v1<v2

isNewer( $v1, $v2 = "" )   X-Ref
Returns true if the given version is newer than the current one

param: v1 The version that we'd like to compare to
param: v1 If specified, the version that we should check whether it's older than v1 or not.
return: True if the given version is newer than the current one or false otherwise



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics