Auth_PrefManager::getDefaultPref

Auth_PrefManager::getDefaultPref() – Retrieves a default value.

Synopsis

require_once '/PrefManager.php';

mixed Auth_PrefManager::getDefaultPref ( string $pref_id )

Description

Retrieves the default value for $pref_id, even if there is currently a user ID set for the object being used.

Parameter

string $pref_id

The name of the preference to get.

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.