• ActiveWAFL 2727 API Reference Documentation
  • Search
  • Version

DblEj \ Communication \ Http \ Request

The Request class in the Http namespace.

Represents an HTTP request.

Properties

Request

Alias for Get_RequestUrl().

RequestType

The request type for this request.

Must be one of the following: Request::HTTP_GET, Request::HTTP_POST, Request::HTTP_PUT, Request::HTTP_DELETE

RequestUrl

The Url that was requested by the client.

Inherited Properties

This class does not inherit any properties.

Methods

@Constructor
new Request ( string requestUrl [, int requestType ])

Create a request instance.

GetAllInputs
Request::GetAllInputs ( [ string inputType ])

Get all of the HTTP variables (such as submitted GET or POST variables) of the specified type.

GetInput
Request::GetInput ( string variableName, decimal minAllowedValue [, string inputType, string validation, type sanitization, mixed defaultValue, integer flags, boolean throwExceptionOnInvalidData, string decimalSeperator, decimal maxAllowedValue, string regExp ])

Get an HTTP variable (such as submitted POST or GET variables)

GetInputArray
Request::GetInputArray ( string variableName, mixed defaultValue [, string inputType, string validation, type sanitization, integer flags, boolean throwExceptionOnInvalidData ])

Get HTTP input variables (such as submitted GET or POST variables) where the value is an array.

GetInputBoolean
Request::GetInputBoolean ( string variableName [, string inputType, mixed defaultValue ])

Get an HTTP variable (such as submitted POST or GET variables), if the value is a valid boolean.

GetInputDecimal
Request::GetInputDecimal ( string variableName [, string inputType, mixed defaultValue ])

Get an HTTP variable (such as submitted POST or GET variables), if the value is a valid decimal.

GetInputEmailAddress
Request::GetInputEmailAddress ( string variableName [, string inputType, mixed defaultValue ])

Get an HTTP variable (such as submitted POST or GET variables), if the value is a valid email address.

GetInputInteger
Request::GetInputInteger ( string variableName [, string inputType, mixed defaultValue ])

Get an HTTP variable (such as submitted POST or GET variables), if the value is a valid whole number.

GetInputIpAddress
Request::GetInputIpAddress ( string variableName [, string inputType, mixed defaultValue ])

Get an HTTP variable (such as submitted POST or GET variables), if the value is a valid ip address.

GetInputMacAdress
Request::GetInputMacAdress ( string variableName [, string inputType, mixed defaultValue ])

Get an HTTP variable (such as submitted POST or GET variables), if the value is a valid mac address.

GetInputRegex
Request::GetInputRegex ( string variableName, mixed regexPattern [, string inputType, mixed defaultValue ])

Get an HTTP variable (such as submitted POST or GET variables), if the value matches the specified regular expression.

GetInputString
Request::GetInputString ( string variableName [, string inputType, mixed defaultValue, mixed sanitize ])

Get an HTTP variable (such as submitted POST or GET variables), if the value is a valid string.

GetInputUrl
Request::GetInputUrl ( string variableName [, string inputType, mixed defaultValue ])

Get an HTTP variable (such as submitted POST or GET variables), if the value is a valid URL.

GetUploadedFile
Request::GetUploadedFile ( string variableName )

Get details about files uploaded via an HTTP form input element

GetUploadedFileArray
Request::GetUploadedFileArray ( string variableName )

Get details about files uploaded via multiple HTTP form input elements

IsInput
Request::IsInput ( string variableName [, string inputType ])

Check if there is an HTTP variable of the specified name.

SetInput
Request::SetInput ( string variableName, string|number variableValue [, int inputType ])

Sets a request input variable, as if it had actually been input.

Inherited Methods

This class does not inherit any methods.

Inheritence Chain

Implements

  • This class does not implement any interfaces.