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

Description

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.

Note

This function can not be called statically.

Return value

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