Maslosoft Mangan API
Class CompareValidator
CompareValidator
- Maslosoft\Mangan\Validators\BuiltIn\CompareValidator implements Maslosoft\Mangan\Interfaces\Validators\ValidatorInterface uses Maslosoft\Mangan\Validators\Traits\AllowEmpty, Maslosoft\Mangan\Validators\Traits\Messages, Maslosoft\Mangan\Validators\Traits\Strict, Maslosoft\Mangan\Validators\Traits\OnScenario, Maslosoft\Mangan\Validators\Traits\Safe, Maslosoft\Mangan\Validators\Traits\SkipOnError
Namespace: Maslosoft\Mangan\Validators\BuiltIn
Author: Piotr Maselkowski
Located at Validators/BuiltIn/CompareValidator.php
Author: Piotr Maselkowski
Located at Validators/BuiltIn/CompareValidator.php
Methods summary
public
|
Methods inherited from Maslosoft\Mangan\Interfaces\Validators\ValidatorInterface
Methods used from Maslosoft\Mangan\Validators\Traits\Messages
Constants summary
Constants inherited from Maslosoft\Mangan\Interfaces\Validators\ValidatorInterface
Properties summary
public
string
|
$compareAttribute
the name of the attribute to be compared with |
|
public
string
|
$compareValue
the constant value to be compared with |
|
public
string
|
$operator
the operator for comparison. Defaults to '='. The followings are valid operators:
|
#
'='
|
public
string
|
$msgRepeat
|
#
''
|
public
string
|
$msgEq
|
#
''
|
public
string
|
$msgGt
|
#
''
|
public
string
|
$msgGte
|
#
''
|
public
string
|
$msgLt
|
#
''
|
public
string
|
$msgLte
|
#
''
|
Properties used from Maslosoft\Mangan\Validators\Traits\AllowEmpty
Properties used from Maslosoft\Mangan\Validators\Traits\Messages
Properties used from Maslosoft\Mangan\Validators\Traits\Strict
Properties used from Maslosoft\Mangan\Validators\Traits\OnScenario
Properties used from Maslosoft\Mangan\Validators\Traits\Safe
Properties used from Maslosoft\Mangan\Validators\Traits\SkipOnError
API documentation generated by ApiGen