previousPEAR_PackageUpdate::preferencesAllowUpdate (Previous) (Next) PEAR_PackageUpdate::getInstalledReleasenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

PEAR_PackageUpdate::releaseType

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

Synopsis

require_once 'PEAR/PackageUpdate.php';

string PEAR_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

since 0.4.0a1

This function can not be called statically.

Return value

string - The release type (bug|minor|major).

previousPEAR_PackageUpdate::preferencesAllowUpdate (Previous) (Next) PEAR_PackageUpdate::getInstalledReleasenext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.