Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
SessionDecoder Class Reference
Inheritance diagram for SessionDecoder:
Inheritance graph
Collaboration diagram for SessionDecoder:
Collaboration graph

Public Member Functions

 __construct ($encoded_session_string)
 decode ($encoded_session_string)
 keys ()
 rewind ()
 current ()
 key ()
 next ()
 valid ()
 offsetExists ($offset)
 offsetGet ($offset)
 offsetSet ($offset, $value)
 offsetUnset ($offset)
 count ()
 __get ($name)
 __isset ($name)

Constructor & Destructor Documentation

__construct (   $encoded_session_string)

Usage: Pass the string containing encoded session data to the constructor, the identified session variables become public members of the object

$session = new SessionDecoder($encoded_session_string); print_r($session->my_var); or print_r($session['my_var']); get the names of identified variables print_r($session->keys());

Parameters
string$encoded_session_string

Here is the call graph for this function:

Member Function Documentation

__get (   $name)

Here is the call graph for this function:

__isset (   $name)

Here is the call graph for this function:

count ( )

Here is the caller graph for this function:

current ( )

Here is the call graph for this function:

Here is the caller graph for this function:

decode (   $encoded_session_string)

pass an encoded session string to fill the object

Parameters
string$encoded_session_string
Returns
int number of identified variables

Here is the call graph for this function:

Here is the caller graph for this function:

key ( )

Here is the call graph for this function:

keys ( )

returns an array containing the names of the identified variables

Returns
array names of identified variables
next ( )

Here is the call graph for this function:

offsetExists (   $offset)

Here is the caller graph for this function:

offsetGet (   $offset)

Here is the call graph for this function:

Here is the caller graph for this function:

offsetSet (   $offset,
  $value 
)
offsetUnset (   $offset)
rewind ( )
valid ( )

Here is the call graph for this function:


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