VCL
[ class tree: VCL ] [ index: VCL ] [ all elements ]

Class: InputParam

Source Location: /system.inc.php

Class Overview


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

[line 240]
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.



[ Top ]

Properties

    [none]

Events

    [none]

JS Events

    [none]

Methods

Constants

    [none]


Properties



Events



Javascript Events



Methods


constructor __construct [line 252]

InputParam __construct( $name $name, [$stream $stream = SGET])

Create the object



Parameters:

$name   $name   Key of the stream to look form
$stream   $stream   Stream to look for

[ Top ]

void asBoolean [line 346]

void asBoolean( )

Returns the input filtered as a boolean



[ Top ]

void asEmail [line 408]

void asEmail( )

Returns the input filtered as an email address



[ Top ]

void asEncoded [line 456]

void asEncoded( )

URL-encode string, optionally strip or encode special characters.



[ Top ]

void asFloat [line 361]

void asFloat( [ $flags = 0])

Returns the input filtered as a float



Parameters:

   $flags  

[ Top ]

void asInteger [line 331]

void asInteger( )

Returns the input filtered as a integer



[ Top ]

void asIP [line 424]

void asIP( )

Returns the input filtered as an IP address



[ Top ]

void asRegExp [line 376]

void asRegExp( )

Returns the input filtered as a regular expression



[ Top ]

void asSpecialChars [line 472]

void asSpecialChars( )

HTML-escape '"<>& and characters with ASCII value less than 32, optionally strip or encode other special characters.



[ Top ]

void asString [line 291]

void asString( )

Returns the input filtered as a string



[ Top ]

void asStringArray [line 307]

void asStringArray( )

Returns the input filtered as a string array



[ Top ]

void asStripped [line 440]

void asStripped( )

Returns the input filtered as an string



[ Top ]

void asUnsafeRaw [line 488]

void asUnsafeRaw( )

Do nothing, optionally strip or encode special characters.



[ Top ]

void asURL [line 392]

void asURL( )

Returns the input filtered as an URL



[ Top ]

void createNativeFilter [line 281]

void createNativeFilter( )

Creates the native Input Filter to be used when there is no available extension



[ Top ]



Documentation generated on Tue, 27 Mar 2007 13:35:59 +0200 by phpDocumentor 1.3.1