Gumbo_Interface_Constraint
Input Constraint 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 addCase ( mixed $val )
[line 47]
Adds a Case to the Constraint Method (accepts additional arguments)
Parameter(s):
- (mixed) $val
[ Top ]
public array getCases ( )
[line 91]
Returns the Case Arguments (extra parameters sent to the function)
[ Top ]
public void resetCases ( )
[line 53]
Resets all Case Argument
- postcondition:
!getCases()
[ Top ]public void setKey ( int $key ) [line 69]Sets the Key, which indicates the location the 'data' argument should be placed (starts at 0 for 1st position)
Parameter(s):
- (int) $key
[ Top ]public void setMethod ( string $func, [string|StdClass $obj] ) [line 63]Sets the Function|Method
Parameter(s):
- (string) $func
- (string|StdClass) $obj
[ Top ]