Auth_PrefManager::setDefaultPref

Auth_PrefManager::setDefaultPref()

Auth_PrefManager::setDefaultPref()  -- Set the default value for a preference.

Description

Sets the default value for $pref_id, which will be retrieved if a user doesn't have the preference set.

Parameter

string $pref_id

The name of the preference to set.

mixed $value

The value to set it to.

Return value

returns Sucess or failure.

Throws

No exceptions thrown.

Note

This function can not be called statically.

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