Alexander Kochetov
|
af09fe16df
|
Improve `in` validator to properly support array attributes.
|
11 years ago |
Chong Freeman
|
c6e8f66e1b
|
Update UniqueValidator.php
|
11 years ago |
Alexander Kochetov
|
49f8d45d8b
|
ExistValidator final refactoring. `allowArray` checking also added to `validateValue` method.
|
11 years ago |
Alexander Kochetov
|
14ec7e21bd
|
ExistValidator::validateValue() fixed
|
11 years ago |
Alexander Kochetov
|
68f65a9f7a
|
ExistValidator bugfix
|
11 years ago |
Alexander Kochetov
|
3e94b24885
|
ExistValidator refactoring
|
11 years ago |
Alexander Kochetov
|
252795ec94
|
`allowArray` introduced.
|
11 years ago |
Alexander Kochetov
|
ccaa052d57
|
ExistValidator count logic fix
|
11 years ago |
Maikel Brouwer
|
46add80ac2
|
Add missing Exception when wrong validator is used
|
11 years ago |
Alexander Kochetov
|
fe5376ff7d
|
Refactoring
|
11 years ago |
Alexander Kochetov
|
8188cc78d3
|
Refactoring
|
11 years ago |
Alexander Kochetov
|
3eb257c302
|
Improve `exist` validator to support array attributes
|
11 years ago |
Carsten Brandt
|
b65b0ce591
|
better exception message for non existing validator
|
11 years ago |
Alex-Code
|
7ff1f4ae33
|
Update DefaultValueValidator.php
|
11 years ago |
Alex-Code
|
7dfd210b79
|
Update DefaultValueValidator.php
Allow the default value to be a closure
|
11 years ago |
Carsten Brandt
|
91965fd391
|
phpdoc formatting issues
|
11 years ago |
Carsten Brandt
|
83a63f2346
|
fixed wrong client validation issue in numbervalidator
fixes #3118
|
11 years ago |
Thiago Talma
|
c1445871f4
|
Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
|
11 years ago |
Алексей
|
f2d5ddab4f
|
Update UniqueValidator.php
|
11 years ago |
Carsten Brandt
|
3c400dbca8
|
fixed file PHPdoc
issue #3026
|
11 years ago |
Qiang Xue
|
a16c2eb653
|
Use proper error message.
|
11 years ago |
Carsten Brandt
|
435747cf98
|
apidoc and codestyle fixes
|
11 years ago |
Carsten Brandt
|
bf3c75147d
|
reverted breaking PHPdoc codestyle changes
issue #2852
|
11 years ago |
Qiang Xue
|
d1363d9684
|
Added Validator::whenClient.
|
11 years ago |
David Renty
|
7ea52fb262
|
Implemented conditional validators (see #2406)
|
11 years ago |
Jani Mikkonen
|
0361efbb31
|
small typo fix
|
11 years ago |
Zhandos Nuftiev
|
202e3ae0ca
|
Fixed typo in FilterValidator for skipping array values.
|
11 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
Qiang Xue
|
da48b37856
|
Fixes #2756: Added support for injecting custom `isEmpty` check for all validators
|
11 years ago |
Qiang Xue
|
cc08492b08
|
Fixes #2729: Added `FilterValidator::skipOnArray` so that filters like `trim` will not fail for array inputs
|
11 years ago |
Zhandos
|
2e84fcb0b0
|
Update FileValidator.php
fix tabs
|
11 years ago |
Zhandos Nuftiev
|
b3b9bd353e
|
fix isEmpty method for file validator.
|
11 years ago |
Carsten Brandt
|
e2aacad8aa
|
Added links to PHP.net to apidoc
|
11 years ago |
AlexGx
|
6d72c6a723
|
fix code style
|
11 years ago |
AlexGx
|
112f67d20a
|
fix code style `There must be one blank line after the namespace declaration`
|
11 years ago |
Carsten Brandt
|
33d6acba25
|
Improved behavior support, fixes #2550
call hasMethod() instead of using method_exists
|
11 years ago |
Qiang Xue
|
928df00951
|
fixed validation message translation [skip ci]
|
11 years ago |
Qiang Xue
|
b64f618545
|
refactored file validator.
|
11 years ago |
Qiang Xue
|
807223efbf
|
Fixes #1412
|
11 years ago |
Qiang Xue
|
a4a72033d6
|
Fixes #1412: `FileValidator` still triggers `uploadRequired` error in some case when `skipOnEmpty` is true and no upload is provided
|
11 years ago |
Carsten Brandt
|
262189533a
|
huge amount of documentation link fixes
|
11 years ago |
Qiang Xue
|
18d7224ac8
|
Fixes #2149: Added `yii\base\DynamicModel` to support ad-hoc data validation
|
11 years ago |
Qiang Xue
|
e13557d333
|
doc fix.
|
11 years ago |
Qiang Xue
|
31c24ec92b
|
Fixes #2003: Added `filter` property to `ExistValidator` and `UniqueValidator` to support adding additional filtering conditions
|
11 years ago |
Alexander Makarov
|
7bfdbe9d46
|
fixed formatting
|
11 years ago |
Alexander Makarov
|
5d23a066ca
|
Removed unused imports
|
11 years ago |
Alexander Makarov
|
e7fab51efc
|
fixes #1870: better fix that is message extractor friendly
|
11 years ago |
Alexander Makarov
|
4239b2a5f2
|
Fixes #1870: Validation errors weren't properly translated when using clientside validation
|
11 years ago |
Qiang Xue
|
fa85447749
|
Fixes #1900.
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |