Internal¶
-
class
OC\Session\
Internal
¶ - Class Internalwrap php’s internal session handling into the Session interface
Source: lib/private/Session/Internal.php#48 Parent: OC\Session\Session
Methods¶
-
public
OC\Session\Internal::
__construct
($name)¶ Source: Parameters: - $name (string)
Throws: \Exception
-
public
OC\Session\Internal::
set
($key, $value)¶ Source: Parameters: - $key (string)
- $value (int)
-
public
OC\Session\Internal::
get
($key)¶ Source: Parameters: - $key (string)
Returns: mixed
-
public
OC\Session\Internal::
exists
($key)¶ Source: Parameters: - $key (string)
Returns: bool
-
public
OC\Session\Internal::
remove
($key)¶ Source: Parameters: - $key (string)
-
public
OC\Session\Internal::
clear
()¶ Source: lib/private/Session/Internal.php#104
-
public
OC\Session\Internal::
close
()¶ Source: lib/private/Session/Internal.php#111
-
public
OC\Session\Internal::
regenerateId
($deleteOldSession=true, $updateToken=false)¶ - Wrapper around session_regenerate_id
Source: Parameters: - $deleteOldSession (bool) Whether to delete the old associated session file or not.
- $updateToken (bool) Wheater to update the associated auth token
Returns: void
-
public
OC\Session\Internal::
getId
()¶ - Wrapper around session_id
Source: lib/private/Session/Internal.php#164 Returns: string Throws: \OCP\Session\Exceptions\SessionNotAvailableException
Since: 9.1.0
-
public
OC\Session\Internal::
reopen
()¶ Source: lib/private/Session/Internal.php#175 Throws: \Exception
-
public
OC\Session\Internal::
trapError
($errorNumber, $errorString)¶ Source: Parameters: - $errorNumber (int)
- $errorString (string)
Throws: \ErrorException