PEAR_PackageUpdate::loadPreferences

PEAR_PackageUpdate::loadPreferences --  Loads the user's preferences from the preference file.

Synopsis

publicmixed PEAR_PackageUpdate::loadPreferences

Description

Loads the user's preferences from the preference file.

The preferences are stored in the user's home directory as the file .ppurc. The file contains a serialized array of preferences for each package that has been checked for updates so far.

Note

This function can not be called statically.

Return value

boolean - TRUE if the preferences were loaded successfully, FALSE otherwise.