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 |
Qiang Xue
|
0d814fa523
|
Moved "framework" to "iii".
|
12 years ago |
Qiang Xue
|
96fd37de2e
|
Fixes issue #49: finished CAPTCHA feature.
|
12 years ago |
Alexander Kochetov
|
82bcd0b298
|
Fixes
|
12 years ago |
Alexander Kochetov
|
d7df7053e0
|
=== array() => empty()
|
12 years ago |
Qiang Xue
|
dd5969147d
|
move JsExpression to web.
|
12 years ago |
Zander Baldwin
|
4be9e195c2
|
Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
|
12 years ago |
Rasmus Lerdorf
|
3c83b8ed7c
|
Fix typos
A couple of obvious typos here
|
12 years ago |
Qiang Xue
|
e6af955bdc
|
form wip
|
12 years ago |
Qiang Xue
|
263e8c7f7e
|
Finished CaptchaValidator.
|
12 years ago |
Qiang Xue
|
08c3f90d48
|
Finished js validation for number validator.
|
12 years ago |