Login |  Register 
After taking your course, my knowledge of PHP has ballooned!
Rob
 

RocksSession Class

Description

This class represents the session, it will create a session automatically if one hasn't been initialised.

Once created session items can be mainpulated by adding and retrieving values as properties

  • author: Dominic Skinner
  • version: 0.2.1

Located in /RocksSession.php (line 13)


	
			
Method Summary
RocksSession __construct ()
void DestroyAll ()
void Remove (string $name)
void __get ( $name)
void __set ( $name,  $value)
Methods
Constructor __construct (line 15)
  • access: public
RocksSession __construct ()
DestroyAll (line 32)

Calling this destroys the session

  • access: public
void DestroyAll ()
Remove (line 41)

Calling this will remove the session item with the given name

  • access: public
void Remove (string $name)
  • string $name: the name of the session item to remove
__get (line 54)
  • access: public
void __get ( $name)
  • $name
__set (line 49)
  • access: public
void __set ( $name,  $value)
  • $name
  • $value

No comments have been provided.
security image

Written by Dominic Skinner
Last Updated: 2011-10-25 16:00:38