Auth_PrefManager::setDefaultPref()
Auth_PrefManager::setDefaultPref()
-- Set the default value for a preference.
概要
require_once '/PrefManager.php'; |
bool
Auth_PrefManager::setDefaultPref
(string
$pref_id, mixed
$value)
説明
Sets the default value for $pref_id, which will be retrieved if a user doesn't have the preference set.
パラメータ
- string
$pref_id The name of the preference to set.
- mixed
$value The value to set it to.
返り値
returns
Sucess or failure.
注意
この関数は、スタティックにコールする
ことはできません。