[ Index ]
 

Code source de Phorum 5.1.25

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/include/ -> version_functions.php (sommaire)

(pas de description)

Poids: 178 lignes (8 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 4 fonctions

  phorum_parse_version()
  phorum_compare_version()
  phorum_available_releases()
  phorum_find_upgrades()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

phorum_parse_version($version)   X-Ref
Parses the Phorum version number.

param: version - version number to parse
return: An array containing two elements. The first one holds the release

phorum_compare_version($version1, $version2)   X-Ref
Compares two version numbers as returned by phorum_parse_version()
and tells which of those two is larger.

param: version1 - The first version number
param: version2 - The second version number
return: 1 if version1 is higher than version2, 0 if equal, -1 if lower

phorum_available_releases()   X-Ref
Retrieves the available software versions from the Phorum website.
The format of the data returned from the server is two lines. The first
line is for the stable version and the second for the development version.
Each line contains pipe separated values, with the following fields in it:
<version>|<release date>|<downloadloc 1>|<downloadloc 2>|...|<downloadloc n>

return: releases - An array of releases for release types "stable" and "development".

phorum_find_upgrades($version = PHORUM)   X-Ref
Finds out if there are any upgrades available for a version of Phorum.

param: version - the version to check for (default is the running version)
return: releases - An array of available releases with the



Généré le : Thu Nov 29 12:22:27 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics