Auth_PrefManager::useCache

Auth_PrefManager::useCache()

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

Description

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.

Note

This function can not be called statically.

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