Class Rule
Single validation rule or condition represented as value object.
- Nette\Object
- Nette\Forms\Rule
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
integer
|
CONDITION
|
1 |
#
type |
integer
|
VALIDATOR
|
2 |
#
type |
integer
|
FILTER
|
3 |
#
type |
public
|
$control |
|
|
public
mixed
|
$operation |
|
|
public
mixed
|
$arg |
|
|
public
integer
|
$type |
|
#
(CONDITION, VALIDATOR, FILTER) |
public
boolean
|
$isNegative | FALSE |
|
public
string
|
$message |
|
#
(only for VALIDATOR type) |
public
|
$subRules |
|
#
(only for CONDITION type) |