PEAR_PackageUpdate::setDontAskAgain – Sets the user's "Don't Ask Again" preference for the package.


require_once 'PEAR/PackageUpdate.php';

boolean PEAR_PackageUpdate::setDontAskAgain ( boolean $dontAsk )


Sets the user's "Don't Ask Again" preference to $dontAsk . If $dontAsk is TRUE the user will not be asked to update the package again.


since 0.4.0a1

This function can not be called statically.

Return value

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

PEAR_PackageUpdate::getLatestRelease (Previous) PEAR_PackageUpdate::
setDontAskUntilNextRelease (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.