Gumbo_Interface_Valid



Validation Interface

The methods defined in the interface only apply to handling Exceptions. The first will define if Exceptions should be thrown during a validation method call. The second will define the Error Level for any Exceptions thrown by the Validation method. All Gumbo_Exceptions default to ERROR_DEBUG. This simply changes that level to another value.

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 int getLevel ( ) [line 67]

Returns the Error Level for Exceptions thrown by the class


[ Top ]
public bool isThrowing ( ) [line 61]

Returns if Exceptions should be thrown from this class


[ Top ]
public void setLevel ( int $level ) [line 52]

Sets the Error Level

Parameter(s):

  • (int) $level

[ Top ]
public void setThrow ( bool $yes ) [line 46]

Sets if the class should throw Exceptions

Parameter(s):

  • (bool) $yes

[ Top ]