PEAR_PackageUpdate::savePreferences --
Saves the user preferences to the preference file.
Beschreibung
Saves the user's preferences to the preference file.
Parameter
- string $pref_file
The path to the file to save user's preferences to.
Fehler-Meldungen
throws PEAR_PACKAGEUPDATE_ERROR_PREFFILE_WRITEACCESS,
when user's preference file has no WRITE access right.
throws PEAR_PACKAGEUPDATE_ERROR_PREFFILE_WRITEERROR,
when an I/O error occured while writing user's preference file contents.
Hinweise
since 0.4.0a1
Diese Methode kann nicht
statisch aufgerufen werden.
Rückgabewert
boolean - TRUE if the user's preferences were saved successfully, FALSE
othewise.