Class XCube_HttpContext
Encapsulates major HTTP specific information about a HTTP request.
Direct known subclasses
Legacy_HttpContext
public
|
|
public
|
#
setAttribute( string $key, mixed $value )
Sets $value with $key to attributes. Use direct access to $mAttributes if references are must, because PHP4 can't handle reference in the signature of this member function. |
public
mixed
|
|
public
mixed
|
#
getAttribute( string $key )
Gets a value of attributes with $key. If the value specified by $key doesn't exist in attributes, gets null. |
public
|
#
setRequest(
Sets the object which has a interface of XCube_AbstractRequest. |
public
|
|
public
|
|
public
XCube_AbstractPrincipal
&
|
public
Array
|
$mAttributes | array() |
#
Hashmap that can be used to organize and share data. Use setAttribute() and get Attribute() to access this member property. But, direct access is allowed, because PHP4 is unpossible to handle reference well. |
public
|
$mRequest | null |
#
The object which enables to read the request values. |
public
|
$mUser | null |
|
public
string
|
$mType | XCUBE_CONTEXT_TYPE_DEFAULT |
#
String which expresses the type of the current request. |
public
|
$mThemeName | null |
#
The theme is one in one time of request. A decided theme is registered with this property |