Class SessionNamespace
	
	
Session namespace for Session.
	 
	
		- 
			Nette\Object
			
			
			
		
- 
			 Nette\Web\SessionNamespace			
			 implements 
				IteratorAggregate, 
			
				ArrayAccess Nette\Web\SessionNamespace			
			 implements 
				IteratorAggregate, 
			
				ArrayAccess
	Methods summary
	
		| 
			
			 public 
			
			
			 | 
		#
		__construct(  & $data,  & $meta )
			
Do not call directly. Use Session::getNamespace(). 
			
Do not call directly. Use Session::getNamespace(). | 
	
		| 
			
			 public 
			ArrayIterator | 
		#
		getIterator( )
			
Returns an iterator over all namespace variables. 
			
Returns an iterator over all namespace variables. ReturnsImplementation of | 
	
		| 
			
			 public 
			
			
			 | 
		#
		__set( string $name, mixed $value )
			
Sets a variable in this session namespace. 
			
Sets a variable in this session namespace. Parameters
					$namestringname
$valuemixedvalue
Throws | 
	
		| 
			
			 public 
			mixed
			&
			 | 
		#
		__get( string $name )
			
Gets a variable from this session namespace. 
			
Gets a variable from this session namespace. ParametersReturns
					mixed
 Throws | 
	
		| 
			
			 public 
			boolean
			
			 | 
		#
		__isset( string $name )
			
Determines whether a variable in this session namespace is set. 
			
Determines whether a variable in this session namespace is set. ParametersReturns
					boolean
 | 
	
		| 
			
			 public 
			
			
			 | 
		#
		__unset( string $name )
			
Unsets a variable in this session namespace. 
			
Unsets a variable in this session namespace. ParametersThrows | 
	
		| 
			
			 public 
			
			
			 | 
		#
		offsetSet( string $name, mixed $value )
			
Sets a variable in this session namespace. 
			
Sets a variable in this session namespace. Parameters
					$namestringname
$valuemixedvalue
Implementation of | 
	
		| 
			
			 public 
			mixed
			
			 | 
		#
		offsetGet( string $name )
			
Gets a variable from this session namespace. 
			
Gets a variable from this session namespace. ParametersReturns
					mixed
 Implementation of | 
	
		| 
			
			 public 
			boolean
			
			 | 
		#
		offsetExists( string $name )
			
Determines whether a variable in this session namespace is set. 
			
Determines whether a variable in this session namespace is set. ParametersReturns
					boolean
 Implementation of | 
	
		| 
			
			 public 
			
			
			 | 
		#
		offsetUnset( string $name )
			
Unsets a variable in this session namespace. 
			
Unsets a variable in this session namespace. ParametersImplementation of | 
	
		| 
			
			 public 
			Nette\Web\SessionNamespace | 
		#
		setExpiration( string|integer|DateTime$time, mixed $variables = NULL )
			
Sets the expiration of the namespace or specific variables. 
			
Sets the expiration of the namespace or specific variables. Parameters
					$timestring|integer|DateTimetime, value 0 means "until the browser is closed"
$variablesmixedoptional list of variables / single variable to expire
Returns | 
	
		| 
			
			 public 
			
			
			 | 
		#
		removeExpiration( mixed $variables = NULL )
			
Removes the expiration from the namespace or specific variables. 
			
Removes the expiration from the namespace or specific variables. Parameters
					$variablesmixedoptional list of variables / single variable to expire
 | 
	
		| 
			
			 public 
			
			
			 | 
		#
		remove( )
			
Cancels the current session namespace. 
			
Cancels the current session namespace. |