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])

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.