previousAuth_PrefManager::setPref (Previous) (Next) Auth_PrefManager::useCachenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Auth_PrefManager::setReturnDefaults

Auth_PrefManager::setReturnDefaults() – Set whether to return default values.

Synopsis

require_once '/PrefManager.php';

void Auth_PrefManager::setReturnDefaults ( mixed $returnDefaults = true )

Description

Set whether a default value should be returned by getPref() if no value was set for the specified user.

Parameter

mixed $returnDefaults

Throws

No exceptions thrown.

Note

This function can not be called statically.

getDefaultPref() will always return the default value.

previousAuth_PrefManager::setPref (Previous) (Next) Auth_PrefManager::useCachenext

Download Documentation Last updated: Sun, 18 Oct 2009
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.