PEAR_PackageUpdate::setMinimumState (Previous) (Next) PEAR_PackageUpdate::setPreferences

View this page in Last updated: Sun, 28 Sep 2008
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

PEAR_PackageUpdate::setPreference

PEAR_PackageUpdate::setPreference --  Sets the given preference to the given value.

Description

Sets one of the given preference to the given value. Both preference and value, should have valid values.

Valeurs renvoyées

throws PEAR_PACKAGEUPDATE_ERROR_INVALIDPREF, when invalid preference is used (PEAR_PACKAGEUPDATE_PREF_NOUPDATES, PEAR_PACKAGEUPDATE_PREF_NEXTRELEASE, PEAR_PACKAGEUPDATE_PREF_TYPE, PEAR_PACKAGEUPDATE_PREF_STATE).

Note

since 0.4.0a1

Cette fonction ne peut pas être appelée de façon statique.

Valeur retournée

booléen - TRUE if the preference was set properly, FALSE otherwise.

PEAR_PackageUpdate::setMinimumState (Previous) (Next) PEAR_PackageUpdate::setPreferences

Download Documentation Last updated: Sun, 28 Sep 2008
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.