|
| __construct ($min=0, $max=null, $equality=false, $errorPhrase=array('MIN'=> null, 'MAX'=> null)) |
|
| validate ($value, $primary, array $row, ORM\Fields\Field $field) |
|
Открытые члены унаследованные от Validator |
| __construct ($errorPhrase=null) |
|
Открытые члены унаследованные от IValidator |
| validate ($value, $primary, array $row, Field $field) |
|
См. определение в файле rangevalidator.php строка 17
◆ __construct()
__construct |
( |
| $min = 0, |
|
|
| $max = null, |
|
|
| $equality = false, |
|
|
| $errorPhrase = array('MIN' => null, 'MAX' => null) ) |
- Аргументы
-
int | $min | |
null | $max | |
bool | $equality | Check "or equal" to the edges of the range |
array | $errorPhrase | |
- Исключения
-
См. определение в файле rangevalidator.php строка 44
◆ validate()
◆ $equality
◆ $errorPhraseMax
◆ $errorPhraseMaxCode
$errorPhraseMaxCode = 'MAIN_ENTITY_VALIDATOR_RANGE_MAX' |
|
protected |
◆ $errorPhraseMin
◆ $errorPhraseMinCode
$errorPhraseMinCode = 'MAIN_ENTITY_VALIDATOR_RANGE_MIN' |
|
protected |
◆ $max
◆ $min