previousPEAR_PackageUpdate::setDontAskAgain (Previous) (Next) PEAR_PackageUpdate::setMinimumReleaseTypenext

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::setDontAskUntilNextRelease

PEAR_PackageUpdate::setDontAskUntilNextRelease – Sets the user's "Don't Ask Again Until Next Release" preference for the package.

Synopsis

require_once 'PEAR/PackageUpdate.php';

boolean PEAR_PackageUpdate::setDontAskUntilNextRelease ( boolean $dontAsk )

Description

Sets the user's "Don't Ask Again Until Next Release" preference to $dontAsk . If $dontAsk is TRUE the user will not be asked to update the package again until a new version is released.

Throws

throws PEAR_PACKAGEUPDATE_ERROR_NOINFO, when there are no information available about the package name hosted on the channel server.

Note

since 0.4.0a1

This function can not be called statically.

Return value

boolean - TRUE if the preference was set properly, FALSE otherwise.

previousPEAR_PackageUpdate::setDontAskAgain (Previous) (Next) PEAR_PackageUpdate::setMinimumReleaseTypenext

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.