Gumbo_Interface_Http_Input



Http User Input Interface

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

Interface Methods

public void addConstraint ( string $field, $obj, [bool $return_val] ) [line 42]

Adds a Constraint to a given field

Parameter(s):


[ Top ]
public Gumbo_Interface_Input getInput ( string $field ) [line 68]

Returns the Constaints of the supplied field

Parameter(s):

  • (string) $field

[ Top ]
public bool hasInput ( string $field ) [line 75]

Returns if the field has a constraint

Parameter(s):

  • (string) $field

[ Top ]
public void resetInput ( string $field ) [line 49]

Resets Constraints

Parameter(s):

  • (string) $field
  • throws:  Gumbo_Exception

[ Top ]
public void setIgnoreConstraints ( bool $val ) [line 58]

Sets if the object should ignore the status code and return raw data

Parameter(s):

  • (bool) $val

[ Top ]
public bool toIgnoreConstraints ( ) [line 81]

Returns if data should be returned raw


[ Top ]