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 37 type |
int | FILTER |
3 |
line 43 type |
int | TERMINATOR |
4 |
line 46 type |
int | VALIDATOR |
2 |
line 40 type |
Variable Summary | ||||
---|---|---|---|---|
mixed | $arg |
|
line 55 |
|
bool | $breakOnFailure | TRUE |
line 67 (only for VALIDATOR type) |
|
IFormControl | $control |
|
line 49 |
|
bool | $isNegative | FALSE |
line 61 |
|
string | $message |
|
line 64 (only for VALIDATOR type) |
|
mixed | $operation |
|
line 52 |
|
Rules | $subRules |
|
line 70 (only for CONDITION type) |
|
int | $type |
|
line 58 (CONDITION, VALIDATOR, FILTER) |