Auth_PrefManager::getDefaultPref (Previous) (Next) Auth_PrefManager::setDefaultPref

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

Auth_PrefManager::getPref()

Auth_PrefManager::getPref()  --  Get a preference.

Description

Retrieves the preference specified for a user, or, if returning default values is enabled, the default.

Parameter

string $user_id

The user to get the preference for.

string $pref_id

The preference to get.

boolean $showDefaults

Should default values be searched (overrides the global setting).

Return value

returns The value if it's found, or NULL if it isn't.

Throws

No exceptions thrown.

Note

This function can not be called statically.

Auth_PrefManager::getDefaultPref (Previous) (Next) Auth_PrefManager::setDefaultPref

Download Documentation Last updated: Sun, 31 Aug 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.