Settings
in package
Container for session settings, allowing those settings to be configured "just in case" they are needed, without invoking the heavy weight of instantiating the session itself. See \VuFind\Session\ManagerFactory for details on the use of this object.
Tags
Table of Contents
- $disableWrite : bool
- Have session writes been disabled?
- $manager : SessionManager
- Session manager (if instantiated)
- disableWrite() : void
- Disable session writes after this point in time.
- isWriteDisabled() : bool
- Have session writes been disabled?
- setSessionManager() : Settings
- Set a session manager instance.
Properties
$disableWrite
Have session writes been disabled?
protected
bool
$disableWrite
= false
$manager
Session manager (if instantiated)
protected
SessionManager
$manager
= null
Methods
disableWrite()
Disable session writes after this point in time.
public
disableWrite() : void
Return values
void —isWriteDisabled()
Have session writes been disabled?
public
isWriteDisabled() : bool
Return values
bool —setSessionManager()
Set a session manager instance.
public
setSessionManager(SessionManager $sessionManager) : Settings
Parameters
- $sessionManager : SessionManager
-
Session manager