Public Member Functions

Services_Yadis_PHPSession Class Reference

Public Member Functions

 set ($name, $value)
 get ($name, $default=null)
 del ($name)

Detailed Description

Definition at line 17 of file Manager.php.


Member Function Documentation

del ( name  ) 

Remove a key/value pair from the session.

Parameters:
string $name The name of the key to remove.

Definition at line 52 of file Manager.php.

get ( name,
default = null 
)

Get a key's value from the session.

Parameters:
string $name The name of the key to retrieve.
string $default The optional value to return if the key is not found in the session.
Returns:
string $result The key's value in the session or $default if it isn't found.

Definition at line 38 of file Manager.php.

set ( name,
value 
)

Set a session key/value pair.

Parameters:
string $name The name of the session key to add.
string $value The value to add to the session.

Definition at line 24 of file Manager.php.


The documentation for this class was generated from the following file: