Class Rule (namespace Nette\Forms)
Single validation rule or condition represented as value object.
Object | --Rule
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Constant Summary | |||
---|---|---|---|
int | CONDITION |
1 |
line 36 type |
int | FILTER |
3 |
line 42 type |
int | TERMINATOR |
4 |
line 45 type |
int | VALIDATOR |
2 |
line 39 type |
Variable Summary | ||||
---|---|---|---|---|
mixed | $arg |
|
line 54 |
|
bool | $breakOnFailure | TRUE |
line 66 (only for VALIDATOR type) |
|
IFormControl | $control |
|
line 48 |
|
bool | $isNegative | FALSE |
line 60 |
|
string | $message |
|
line 63 (only for VALIDATOR type) |
|
mixed | $operation |
|
line 51 |
|
Rules | $subRules |
|
line 69 (only for CONDITION type) |
|
int | $type |
|
line 57 (CONDITION, VALIDATOR, FILTER) |