phpCoreLib2
[ class tree: phpCoreLib2 ] [ index: phpCoreLib2 ] [ all elements ]

Class: DSession

Source Location: /Web/Session/DSession.php

Class Overview

DObject
   |
   --DSession

Session class


Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: DObject

DObject::__construct()
Constructor
DObject::debug()
Debig
DObject::getClassMembers()
Gets member variables of the instance
DObject::getClassMemberType()
Gets class member type
DObject::getClassMethods()
Gets classes of the class
DObject::getClassName()
Gets class name
DObject::PHPSerialize()
Gets serialized string of the class
DObject::trace()
Trace
DObject::__destruct()
Descructor
DObject::__toString()
Returns String equivalent of the object.

Class Details

[line 23]
Session class



[ Top ]


Class Variables

$activePage =

[line 30]

Name of the active page



Tags:

access:  public

Type:   string


[ Top ]



Class Methods


static method checkIfPageExists [line 175]

static bool checkIfPageExists( string $pageId)

Checks if the page exists



Tags:

access:  public


Parameters:

string   $pageId  

[ Top ]

static method deletePage [line 266]

static void deletePage( string $pageId)

Removes all variables from defined page and removed the page



Tags:

access:  public


Parameters:

string   $pageId  

[ Top ]

static method getAllPages [line 280]

static array getAllPages( )

Returns all data from all pages



Tags:

access:  public


[ Top ]

static method getSessionId [line 293]

static string getSessionId( )

Gets session id



Tags:

access:  public


[ Top ]

static method staticDeleteValue [line 136]

static void staticDeleteValue( mixed $pageId, mixed $valueName)

Deletes value for defined page



Tags:

access:  public


Parameters:

mixed   $pageId  
mixed   $valueName  

[ Top ]

static method staticGetValue [line 99]

static mixed staticGetValue( mixed $pageId, mixed $valueName)

Gets value from defined page



Tags:

access:  public


Parameters:

mixed   $pageId  
mixed   $valueName  

[ Top ]

static method staticSetValue [line 115]

static void staticSetValue( mixed $pageId, mixed $valueName, mixed $valueData)

Sets value for defined page



Tags:

access:  public


Parameters:

mixed   $pageId  
mixed   $valueName  
mixed   $valueData  

[ Top ]

constructor __construct [line 39]

DSession __construct( [string $pageId = 0])

Class constructor



Tags:

access:  public


Overrides DObject::__construct() (Constructor)

Parameters:

string   $pageId  

[ Top ]

method deleteValue [line 231]

void deleteValue( string $valueName)

Removes value from current page



Tags:

access:  public


Parameters:

string   $valueName  

[ Top ]

method destroy [line 186]

void destroy( )

Removes all



Tags:

access:  public


[ Top ]

method getAllVariablesOnPage [line 248]

array getAllVariablesOnPage( [string $pageId = null])

Gets all variables from given page



Tags:

access:  public


Parameters:

string   $pageId  

[ Top ]

method getValue [line 218]

mixed getValue( string $valueName)

Gets value for given key from the current page



Tags:

access:  public


Parameters:

string   $valueName  

[ Top ]

method initPage [line 153]

void initPage( string $pageId)

Inits the page



Tags:

access:  public


Parameters:

string   $pageId  

[ Top ]

method setValue [line 202]

void setValue( string $valueName, mixed $valueData)

Sets value for given key on the current page



Tags:

access:  public


Parameters:

string   $valueName  
mixed   $valueData  

[ Top ]

method __get [line 52]

mixed __get( string $name)

Gets value



Tags:

access:  public


Parameters:

string   $name  

[ Top ]

method __isset [line 86]

boolean __isset( string $name)

Checks if value is set



Tags:

access:  public


Parameters:

string   $name  

[ Top ]

method __set [line 64]

void __set( string $name, mixed $value)

Sets name - value pair



Tags:

access:  public


Parameters:

string   $name  
mixed   $value  

[ Top ]

method __unset [line 75]

void __unset( string $name)

Deletes value on unset



Tags:

access:  public


Parameters:

string   $name  

[ Top ]


Documentation generated on Sat, 17 Apr 2010 22:11:17 +0300 by phpDocumentor 1.4.3