![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Base class for pseudo enumerators. More...
Static Protected Member Functions | |
static | check_val ($instance, $value, $msg=null) |
Checks whether the value is valid. |
Base class for pseudo enumerators.
You whould derive from this class to create your own pseudo enum.
|
staticprotected |
Checks whether the value is valid.
$value | [in] value to test. |
$msg | [in] message of the launched exception on failling test. |
InvalidArgumentException | when provided value is invalid. |