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.

Deletes a preference for the specified user. (Previous) Get a preference. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.