Class: InputParam
Source Location: /system.inc.php
Represents an input parameter from the user, it doesn't inherit from Object to be faster and smaller. Objects of this type are returned from the Input object.
|
Class Details
|
Properties
Events
Javascript Events
Methods
InputParam __construct(
$name
$name, [$stream
$stream = SGET])
|
|
Create the object
Parameters:
void
asBoolean [line 346]
Returns the input filtered as a boolean
void
asEmail [line 408]
Returns the input filtered as an email address
void
asEncoded [line 456]
URL-encode string, optionally strip or encode special characters.
void
asFloat [line 361]
void asFloat(
[
$flags = 0])
|
|
Returns the input filtered as a float
Parameters:
void
asInteger [line 331]
Returns the input filtered as a integer
void
asIP [line 424]
Returns the input filtered as an IP address
void
asRegExp [line 376]
Returns the input filtered as a regular expression
void
asSpecialChars [line 472]
HTML-escape '"<>& and characters with ASCII value less than 32, optionally strip or encode other special characters.
void
asString [line 291]
Returns the input filtered as a string
void
asStringArray [line 307]
Returns the input filtered as a string array
void
asStripped [line 440]
Returns the input filtered as an string
void
asUnsafeRaw [line 488]
Do nothing, optionally strip or encode special characters.
void
asURL [line 392]
Returns the input filtered as an URL
void
createNativeFilter [line 281]
void createNativeFilter(
)
|
|
Creates the native Input Filter to be used when there is no available extension
|