Inheritance diagram for XCube_HttpContext:
Public Member Functions | |
setAttribute ($key, $value) | |
hasAttribute ($key) | |
getAttribute ($key) | |
setRequest (&$request) | |
& | getRequest () |
setUser (&$principal) | |
& | getUser () |
setThemeName ($theme) | |
getThemeName () | |
Public Attributes | |
$mRequest = null | |
$mThemeName = null |
XCube_HttpContext::setAttribute | ( | $ | key, | |
$ | 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.
string | $key | |
mixed | $value |
XCube_HttpContext::hasAttribute | ( | $ | key | ) |
Gets a value indicating whether the value specified by $key exists.
string | $key |
XCube_HttpContext::getAttribute | ( | $ | key | ) |
Gets a value of attributes with $key. If the value specified by $key doesn't exist in attributes, gets null.
string | $key |
XCube_HttpContext::setRequest | ( | &$ | request | ) |
Sets the object which has a interface of XCube_AbstractRequest.
XCube_AbstractRequest | $request |
& XCube_HttpContext::getRequest | ( | ) |
XCube_HttpContext::setUser | ( | &$ | principal | ) |
Sets the object which has a interface of XCube_Principal.
XCube_AbstractPrincipal | $principal |
& XCube_HttpContext::getUser | ( | ) |
XCube_HttpContext::setThemeName | ( | $ | theme | ) |
XCube_HttpContext::getThemeName | ( | ) |
XCube_HttpContext::$mRequest = null |
The object which enables to read the request values.
XCube_HttpContext::$mThemeName = null |
The theme is one in one time of request. A decided theme is registered with this property
private