PEAR_PackageUpdate::releaseType

PEAR_PackageUpdate::releaseType --  Returns the release type of the most recent version of the package compared to the installed version.

Synopsis

publicchaîne de caractèresPEAR_PackageUpdate::releaseType

Description

Returns the release type of the most recent version of the package compared to the installed version. The result will be one of PEAR_PACKAGEUPDATE_TYPE_MAJOR, PEAR_PACKAGEUPDATE_TYPE_MINOR, or PEAR_PACKAGEUPDATE_TYPE_BUG.

This value is used to determine if the user's preferences allow an update for the current release.

Note

Cette fonction ne peut pas être appelée de façon statique.

Valeur retournée

chaîne de caractères - The release type.