Gumbo_Http_Input
Http User Input Class
Author(s): |
Michael Luster <mluster79@yahoo.com> |
License: | New BSD License |
Copyright: | Copyright (c) 2007, iBayou, Michael Luster |
Link: | http://sourceforge.net/projects/phpgumbo |
Version: | 0.0.1 |
Implements interfaces:
Class Variables
static Gumbo_Interface_Http_Input $_instance = null [line 40]
boolean $_ignore = false [line 45]
Gumbo_Interface_Input[] $_input = array () [line 43]
Class Methods
public void addConstraint ( string $field, $obj, [bool $return_val] )
[line 118]
Adds a Constraint to a given field
Parameter(s):
- (string) $field
- (Gumbo_Interface_Constraint) $obj
- (bool) $return_val :: if Constraint returns a value
- throws:
Gumbo_Exception Implementation of:
[ Top ]Returns the Constaints of the supplied field
Parameter(s):
- (string) $field
- throws:
Gumbo_Exception Implementation of:
[ Top ]public bool hasInput ( string $field ) [line 222]Returns if the field has a constraint
Parameter(s):
- (string) $field
- throws:
Gumbo_Exception Implementation of:
[ Top ]public void resetInput ( string $field ) [line 149]Resets Constraints
Parameter(s):
- (string) $field
- throws:
Gumbo_Exception Implementation of:
[ Top ]public void setIgnoreConstraints ( bool $val ) [line 175]Sets if the object should ignore the status code and return raw data
Parameter(s):
- (bool) $val
- throws:
Gumbo_Exception Implementation of:
[ Top ]public bool toIgnoreConstraints ( ) [line 242]Returns if data should be returned raw
Implementation of:
[ Top ]public void __set ( string $field, [Gumbo_Interface_Constraint $obj] ) [line 82]Adds|Resets a Constraint for the supplied REQUEST field name
Parameter(s):
- (string) $field
- (Gumbo_Interface_Constraint) $obj
- throws:
Gumbo_Exception
[ Top ]