Class Request

Description

The request object stores information about the web request and how it was routed, as well as stores data setup by the controller, including view file and loaded data.

Located in /class.request.php (line 23)


                
			
Variable Summary
Method Summary
Request __construct ()
bool IsGetRequest ()
bool IsPostRequest ()
Variables
mixed $aArguments = array() (line 53)

Arguments supplied with this request that are passed to the action method

  • access: public
mixed $aLoadedData = array() (line 58)

Data loaded by the controller and utilized by the view file

  • access: public
mixed $bSecureConnection = false (line 73)

Is this connection secure (HTTPS)?

  • access: public
mixed $oController = null (line 43)

A copy of the controller handling this request

  • access: public
mixed $sAction = null (line 48)

The controller action method being invoked for this request

  • access: public
mixed $sControllerName = null (line 38)

The name of the controller handling this request

  • access: public
mixed $sRequestType = "" (line 68)

The request type (GET, POST, etc)

  • access: public
mixed $sRewrittenURI = null (line 33)

The URI after custom route rules have written the original

  • access: public
mixed $sURI = null (line 28)

The URI of the Request

  • access: public
mixed $sView = null (line 63)

The name of the view file loaded for this request

  • access: public
Methods
Constructor __construct (line 81)

Constructor. Determines information about the request type and connection type and stores it within the class.

  • access: public
Request __construct ()
IsGetRequest (line 118)

Returns true if the current request is a GET request, or false otherwise.

  • return: True if the current request is a GET request, false otherwise
  • access: public
bool IsGetRequest ()
IsPostRequest (line 106)

Returns true if the current request is a POST request, or false otherwise.

  • return: True if the current request is a POST request, false otherwise
  • access: public
bool IsPostRequest ()
IsSecureConnection (line 94)

Returns true if the current request came via a secure connection, or false otherwise.

  • return: True if the current request is a secure connection, false otherwise
  • access: public
bool IsSecureConnection ()

Documentation generated on Thu, 25 Feb 2010 15:59:41 -0500 by phpDocumentor 1.4.3