Auth_PrefManager::setReturnDefaults

Auth_PrefManager::setReturnDefaults()

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

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.

© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.