MagicSmoke  $VERSION$
WOWebSession Class Reference

creates a web session to authorize a customer More...

Inheritance diagram for WOWebSession:
WOWebSessionAbstract WObject

Public Member Functions

 logout ()
 logs the customer out More...
 
- Public Member Functions inherited from WOWebSessionAbstract
 __construct ()
 
 getcustomer ()
 
 getcustomerid ()
 
 getsessionid ()
 
 getstr_customerid ()
 
 getstr_sessionid ()
 
 getstr_timeout ()
 
 gettimeout ()
 
 propertyArray ()
 
 setcustomer ($value)
 
 setcustomerid ($value)
 
 setsessionid ($value)
 
 settimeout ($value)
 
 toString ()
 
 toTablewebsession (&$table)
 
 toXml ($xml, $elementname="WebSession")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 

Static Public Member Functions

static getNewSessionId ()
 
static getOrCreateWebSession ()
 if the cookie exists: gets the current web session, if not: creates it More...
 
- Static Public Member Functions inherited from WOWebSessionAbstract
static fromString ($txt)
 
static fromTableArraywebsession (array $table)
 
static fromTablewebsession ($table)
 
static fromXml ($xml, $elem)
 
static validatecustomer ($value)
 
static validatecustomerid ($value)
 
static validatesessionid ($value)
 
static validatetimeout ($value)
 
- Static Public Member Functions inherited from WObject
static elementsByTagName ($root, $tag)
 helper function that returns only the elements directly beneith the one given as $root More...
 
static fromXmlBoolean ($str)
 helper function for XML'ized objects that transforms XML boolean to PHP boolean More...
 
static isXmlBoolean ($str)
 helper function for XML'ized objects: it returns whether the string is a valid boolean More...
 

Additional Inherited Members

- Protected Member Functions inherited from WOWebSessionAbstract
 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 
- Static Protected Member Functions inherited from WOWebSessionAbstract
static fromXmlHelper ($data, $xml, $elem)
 
- Static Protected Member Functions inherited from WObject
static fromXmlHelper ($data, $xml, $elem)
 base for deserialization More...
 
static objectToArray ($obj)
 helper function for classy objects that calls getPropertyArray if available More...
 
- Protected Attributes inherited from WOWebSessionAbstract
 $prop_customer =null
 
 $prop_customerid =null
 
 $prop_sessionid =null
 
 $prop_timeout =null
 

Detailed Description

creates a web session to authorize a customer

Member Function Documentation

static WOWebSession::getNewSessionId ( )
static
static WOWebSession::getOrCreateWebSession ( )
static
WOWebSession::logout ( )

logs the customer out

References $db, COOKIE_WEBSESSION, and redirectHome().


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