Paul Klimov
|
3598f8180c
|
Fixes #13087: Fixed getting active validators for safe attribute
|
8 years ago |
Sam
|
06967f9018
|
Fixes #13254: Core validators no longer require Yii::$app to be set
|
8 years ago |
Alexander Makarov
|
3536c7c4f9
|
Additional fixes for #13087
|
8 years ago |
Elvira Sheina
|
2de18cf9a5
|
Fixes #13087: Fixed getting active validators for safe attribute
|
8 years ago |
Nikola Kovacs
|
f5beaf3edf
|
Make validator getClientOptions public
This allows implementing custom client-side validation
without extending every validator.
Fixes #11163
close #13145
|
8 years ago |
Alexey Rogachev
|
76e253e140
|
`yii\validators\Validator` - added separate methods for client-side validation options
Closes #11163
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Boudewijn Vahrmeijer
|
32f4dc8997
|
Fixes #5385: links created from classes to corresponding guide articles (#12920)
|
8 years ago |
Nikola Kovacs
|
1414b18835
|
Add short validator names `time` and `datetime`.
These map to `DateValidator` with `$type` set to
TYPE_TIME and TYPE_DATETIME.
close #12198
|
8 years ago |
SilverFire - Dmitry Naumenko
|
b42b8d6458
|
Updated PHPDoc for `Validator::createValidator()`. Closes #12564
|
8 years ago |
SilverFire - Dmitry Naumenko
|
494842636e
|
📖 Fixed `client-side` and `server-side` grammar in all files
|
8 years ago |
Aleksey Loban
|
5307d50852
|
Typos yii\validators\Validator::$whenClient [skip ci]
|
8 years ago |
Sam Mousa
|
b30b5a99ea
|
Fixes #11672: Fixed `yii\validators\NumberValidator` erroring when value is an object without `__toString()` method
|
8 years ago |
Nikola Kovacs
|
662f86acb5
|
fix missing closing bracket in documentation (#11716)
|
8 years ago |
Alexander Makarov
|
f312163258
|
Fixes #11220: NumberValidator now handles objects properly
|
9 years ago |
SilverFire - Dmitry Naumenko
|
5db2afbaeb
|
Code style fixed, PHPDoc updated
|
9 years ago |
mdmunir
|
67b5f4ea19
|
fix for unsafe validator
Closes #8145 #8139 #11153
|
9 years ago |
SilverFire - Dmitry Naumenko
|
a0e614eb20
|
`yii\validators\EachValidator` injects specific attribute value in error message parameters
Closes #11139
|
9 years ago |
Alexander Makarov
|
5242765257
|
Fixes #3506: Added `\yii\validators\IpValidator` to perform validation of IP addresses and subnets
|
9 years ago |
Nikola Kovacs
|
4c0bcaf12e
|
Fixes #8822, fixes #9298. Clientside validator docs enhancements.
|
9 years ago |
Alexander Makarov
|
4f6f041e8b
|
The stricter the better
|
9 years ago |
Thiago Talma
|
4b50ace287
|
Update Validator.php
|
9 years ago |
Klimov Paul
|
4672a8c83f
|
Doc comments at `yii\validators\Validator::isEmpty()` fixed
|
10 years ago |
Klimov Paul
|
e29fcc8ea2
|
Docs about `yii\validators\EachValidator` adjusted
|
10 years ago |
Klimov Paul
|
35eb833a2b
|
Added `yii\validators\EachValidator`
|
10 years ago |
Alexander Makarov
|
f66b8ba571
|
Fixes #6589: updated code style guide to mention else after return, adjusted code involved in the issue
|
10 years ago |
Qiang Xue
|
7c48837a67
|
Fixes #5836: doc fixes.
|
10 years ago |
Arthur Khachaturov
|
5794534a26
|
Unused InvalidConfigException
|
10 years ago |
Qiang Xue
|
2ef7eda249
|
Fixes #4611.
|
10 years ago |
Tomek Romik
|
24d0314928
|
Update docs for clientValidateAttribute()
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Alexander Makarov
|
0edd8bc65a
|
Fixed missing and incorrect phpdoc
|
10 years ago |
Qiang Xue
|
9f08d18f96
|
Fixes #3020 [skip ci]
|
10 years ago |
Qiang Xue
|
01e5ffdceb
|
guide WIP [skip ci]
|
10 years ago |
Maikel Brouwer
|
46add80ac2
|
Add missing Exception when wrong validator is used
|
11 years ago |
Carsten Brandt
|
b65b0ce591
|
better exception message for non existing validator
|
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 |
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 |
Carsten Brandt
|
33d6acba25
|
Improved behavior support, fixes #2550
call hasMethod() instead of using method_exists
|
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
|
0c38655217
|
psr-4 move
|
11 years ago |
Qiang Xue
|
cb4a8c764c
|
Refactored validators.
|
11 years ago |
Qiang Xue
|
a5e3c00d75
|
replaced inheritdoc tags.
|
11 years ago |
Panagiotis Moustafellos
|
2ff8ac3d61
|
fixed PhpDoc by swapping to {@inheritdoc}
|
11 years ago |
Qiang Xue
|
368dd4b1d4
|
Allow Validator::except to be either a string or an array.
|
11 years ago |