Auth_PrefManager::useCache

Auth_PrefManager::useCache() – Sets whether the cache should be used.

Synopsis

require_once '/PrefManager.php';

void Auth_PrefManager::useCache ( bool $use = true )

Описание

Sets whether the caching system should be used or not.

If the cache is enabled then any values retrieved will be saved in the user's session to reduce load on the database.

Parameter

boolean $use

Should the cache be used.

Throws

No exceptions thrown.

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ