constructor __construct [line 397]
InputParam __construct(
$name
$name, [$stream
$stream = SGET])
|
|
Create the object
Parameters:
method asBoolean [line 514]
Returns the input filtered as a boolean
Use this property to get the value from the input as a boolean value. The input is validated and if it's not a boolean, an empty string is returned.
Overridden in child classes as:
- RawInputParam::asBoolean()
method asEmail [line 609]
Returns the input filtered as an email address
Use this property to get the value from the input as an email. The input is sanitized to remove anything that might not be part of an email.
Overridden in child classes as:
- RawInputParam::asEmail()
method asEncoded [line 679]
URL-encode string, optionally strip or encode special characters.
Use this property to get the value from the input as an encoded URL. The input is sanitized to remove anything that might not be part of an encoded url.
Overridden in child classes as:
- RawInputParam::asEncoded()
method asFloat [line 539]
float asFloat(
[integer
$flags = 0])
|
|
Returns the input filtered as a float
Use this property to get the value from the input as a float value. The input is sanitized to remove anything that might not be part of a float number.
Overridden in child classes as:
- RawInputParam::asFloat()
Parameters:
method asInteger [line 491]
method asIP [line 632]
Returns the input filtered as an IP address
Use this property to get the value from the input as an IP number. The input is validated to see if it's a valid IP and if not, an empty string is returned.
Overridden in child classes as:
- RawInputParam::asIP()
method asRegExp [line 562]
Returns the input filtered as a regular expression
Use this property to get the value from the input as a float value. The input is validated and if it's not a regular expression, an empty string is returned.
Overridden in child classes as:
- RawInputParam::asRegExp()
method asSpecialChars [line 699]
HTML-escape '"<>& and characters with ASCII value less than 32, optionally strip or encode other special characters.
Overridden in child classes as:
- RawInputParam::asSpecialChars()
method asString [line 442]
Returns the input filtered as a string
Use this property to get the value from the input as a string value. The input is sanitized to strip out dangerous content.
Overridden in child classes as:
- RawInputParam::asString()
method asStringArray [line 465]
Returns the input filtered as a string array
Use this property to get the value from the input as a string array. The input is sanitized to strip out dangerous content.
Overridden in child classes as:
- RawInputParam::asStringArray()
method asStripped [line 656]
Returns the input filtered as an string
Use this property to get the value from the input as string. The input is sanitized to remove anything that may cause a security issue.
Overridden in child classes as:
- RawInputParam::asStripped()
method asUnsafeRaw [line 721]
Do nothing with the input
Use it to get the input as-is, use it when you know, for sure, the input is safe.
Overridden in child classes as:
- RawInputParam::asUnsafeRaw()
method asURL [line 586]
Returns the input filtered as an URL
Use this property to get the value from the input as an URL. The input is sanitized to remove anything that might not be part of a URL.
Overridden in child classes as:
- RawInputParam::asURL()
method createNativeFilter [line 427]
void createNativeFilter(
)
|
|
Creates the native Input Filter to be used when there is no available extension