PEAR_PackageUpdate::checkUpdate

PEAR_PackageUpdate::checkUpdate --  Checks to see if an update is available and the user has not asked not to be notified about the update.

Synopsis

publicbooleanPEAR_PackageUpdate::checkUpdate

Beschreibung

Checks to see if an update is available and the user has not asked not to be notified about the update.

This method takes the user's preferences in consideration when determining if an update is available. If a new bug fix release is available but the user has asked not to be notified until the next major release of the package, this method will return FALSE.

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Rückgabewert

boolean - TRUE if an update is available and the user has not asked not to be notified about the update, FALSE otherwise.