Methods summary
public
mixed
|
#
__get( string $key )
Parameters
Returns
mixed
Inheritdocs
|
public
mixed
|
#
__set( string $key, mixed $value )
Parameters
Returns
mixed
Inheritdocs
|
public
boolean
|
#
__isset( string $key )
Parameters
Returns
boolean
Inheritdocs
|
public
|
|
public
array
|
#
__debugInfo( )
Print all about current session namespace instance for debug purposes.
Print all about current session namespace instance for debug purposes.
Returns
array
|
public
integer
|
#
count( )
Get how many records is in the session namespace.
Example: count($sessionNamespace);
Get how many records is in the session namespace.
Example: count($sessionNamespace);
Returns
integer
|
public
mixed
|
#
current( )
Return the current element.
Return the current element.
Returns
mixed
|
public
string|integer
|
#
key( )
Return the key of the current element.
Return the key of the current element.
Returns
string|integer
|
public
|
#
next( )
Move forward to next element.
Move forward to next element.
|
public
|
#
rewind( )
Rewind the Iterator to the first element.
Rewind the Iterator to the first element.
|
public
boolean
|
#
valid( )
Checks if current position is valid.
Checks if current position is valid.
Returns
boolean
|
public
|
#
offsetSet( mixed $offset, mixed $value )
Set the value at the specified index.
Example: $sessionNamespace['any'] = 'thing';
Set the value at the specified index.
Example: $sessionNamespace['any'] = 'thing';
Parameters
|
public
|
#
offsetGet( mixed $offset, mixed $value,… )
Get the value at the specified index.
Example: $thing = $sessionNamespace['any'];
Get the value at the specified index.
Example: $thing = $sessionNamespace['any'];
Parameters
|
public
boolean
|
#
offsetExists( mixed $offset )
Return whether the requested index exists.
Example: isset($sessionNamespace['any']);
Return whether the requested index exists.
Example: isset($sessionNamespace['any']);
Parameters
Returns
boolean
|
public
|
#
offsetUnset( mixed $offset )
Unset the value at the specified index.
Example: unset($sessionNamespace['any']);
Unset the value at the specified index.
Example: unset($sessionNamespace['any']);
Parameters
|