Auth_PrefManager::setReturnDefaults
Auth_PrefManager::setReturnDefaults() –
Set whether to return default values.
Synopsis
require_once '/PrefManager.php';
void
Auth_PrefManager::setReturnDefaults
(
mixed
$returnDefaults
= true
)
Описание
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.
Замечание
This function can not be called statically.
getDefaultPref() will always return the default value.