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

Beschreibung

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.

Fehler-Meldungen

Es werden keine Exceptions ausgelöst.

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.