Session

class OC\Session\Session
Source:lib/private/Session/Session.php#33
Implements:ArrayAccess OCP\ISession

Properties

protected static property OC\Session\Session::$sessionClosed
Source:lib/private/Session/Session.php#38
Type:bool

Methods

public abstract OC\Session\Session::__construct($name)
$name serves as a namespace for the session keys
Source:

lib/private/Session/Session.php#45

Parameters:
  • $name (string)
public OC\Session\Session::offsetExists($offset)
Source:

lib/private/Session/Session.php#51

Parameters:
  • $offset (mixed)
Returns:

bool

public OC\Session\Session::offsetGet($offset)
Source:

lib/private/Session/Session.php#59

Parameters:
  • $offset (mixed)
Returns:

mixed

public OC\Session\Session::offsetSet($offset, $value)
Source:

lib/private/Session/Session.php#67

Parameters:
  • $offset (mixed)
  • $value (mixed)
public OC\Session\Session::offsetUnset($offset)
Source:

lib/private/Session/Session.php#74

Parameters:
  • $offset (mixed)
public OC\Session\Session::close()
Close the session and release the lock
Source:lib/private/Session/Session.php#81