Methods summary
public
|
|
public
ArrayIterator
|
#
getIterator( )
Returns an iterator over all section variables.
Returns an iterator over all section variables.
Returns
Implementation of
|
public
|
#
__set( string $name, mixed $value )
Sets a variable in this session section.
Sets a variable in this session section.
Parameters
Throws
MemberAccessException if the property is not defined or is read-only
Overrides
|
public
mixed
&
|
#
__get( string $name )
Gets a variable from this session section.
Gets a variable from this session section.
Parameters
Returns
mixed mixed
Throws
MemberAccessException if the property is not defined.
Overrides
|
public
boolean
|
#
__isset( string $name )
Determines whether a variable in this session section is set.
Determines whether a variable in this session section is set.
Parameters
Returns
boolean bool
Overrides
|
public
|
#
__unset( string $name )
Unsets a variable in this session section.
Unsets a variable in this session section.
Parameters
Throws
MemberAccessException MemberAccessException
Overrides
|
public
|
#
offsetSet( string $name, mixed $value )
Sets a variable in this session section.
Sets a variable in this session section.
Parameters
Implementation of
|
public
mixed
|
#
offsetGet( string $name )
Gets a variable from this session section.
Gets a variable from this session section.
Parameters
Returns
mixed mixed
Implementation of
|
public
boolean
|
#
offsetExists( string $name )
Determines whether a variable in this session section is set.
Determines whether a variable in this session section is set.
Parameters
Returns
boolean bool
Implementation of
|
public
|
#
offsetUnset( string $name )
Unsets a variable in this session section.
Unsets a variable in this session section.
Parameters
Implementation of
|
public
Nette\Http\SessionSection
|
#
setExpiration( string|integer|DateTime $time, mixed $variables = NULL )
Sets the expiration of the section or specific variables.
Sets the expiration of the section or specific variables.
Parameters
- $time
- value 0 means "until the browser is closed"
- $variables
- list of variables / single variable to expire
Returns
|
public
|
#
removeExpiration( mixed $variables = NULL )
Removes the expiration from the section or specific variables.
Removes the expiration from the section or specific variables.
Parameters
- $variables
- list of variables / single variable to expire
|
public
|
#
remove( )
Cancels the current session section.
Cancels the current session section.
|