Carsten Brandt
|
64379dc7ba
|
phpdoc fix
|
9 years ago |
Carsten Brandt
|
d8047f34f6
|
RangeValidator phpdoc tweak
|
9 years ago |
Alexander Makarov
|
77d6111b06
|
Fixed phpdoc of DefaultValidator
|
9 years ago |
RomeroMsk
|
e93b797098
|
Fixes #7581: Added ability to specify range using anonymous function in `RangeValidator`
|
9 years ago |
Nikola Kovacs
|
4c0bcaf12e
|
Fixes #8822, fixes #9298. Clientside validator docs enhancements.
|
9 years ago |
Carsten Brandt
|
cd84f6c4c5
|
typo in DateValidator docs
|
9 years ago |
Lorenzo Milesi
|
a6fc02345e
|
FileValidator->getSizeLimit: check also php's post_max_size
- return the lowerest of `post_max_size` or `upload_max_filesize`
- Raised warning for misconfigured PHP
close #8373
|
9 years ago |
Carsten Brandt
|
6e3da6b329
|
various phpdoc fixes
|
9 years ago |
Carsten Brandt
|
6d9fe671de
|
various code style and whitespace adjustments
|
9 years ago |
Dmitry Naumenko
|
b16d734c29
|
Fixes #8671: Extracted `yii\helpers\Html::escapeJsRegularExpression()` method from `yii\validators\RegularExpressionValidator`
|
9 years ago |
lynicidn
|
7926b7d4e9
|
Update EachValidator.php
|
9 years ago |
Sebastian Chojniak
|
6ee285f321
|
unused imports removed
|
9 years ago |
Carsten Brandt
|
54dd0eab72
|
add note about #8897 to the docs
|
9 years ago |
Alexander Makarov
|
4f6f041e8b
|
The stricter the better
|
9 years ago |
Thiago Talma
|
4b50ace287
|
Update Validator.php
|
9 years ago |
nkovacs
|
b4d22cfe63
|
Fix documentation
wrongType -> wrongExtension
|
9 years ago |
Alexander Mohorev
|
68c30c1034
|
Replace aliases of functions
|
9 years ago |
Alexander Mohorev
|
ae42a054bb
|
PSR-2 spaces, commas, etc
|
9 years ago |
Alexander Mohorev
|
3ec0d94b4a
|
Remove unused variable
|
9 years ago |
Luke Briner
|
271a86aff3
|
Extend description
Help users understand the concept of massive assignment without relying on the Guide by extending the description for this type.
|
10 years ago |
Nikola Kovacs
|
f64d00bdf0
|
Fix client-side trim validator.
Subsequent validators now use the trimmed value instead of the original value.
fixes #7707
|
10 years ago |
Carsten Brandt
|
23b31d13de
|
improve documentation of date validator
fixes #7514
|
10 years ago |
Qiang Xue
|
78d3a856d3
|
Added `Json::htmlEncode()` to support safer JSON data encoding in HTML code
|
10 years ago |
Nikola Kovacs
|
3f24954659
|
Added min/max option to DateValidator.
Refs #7514
close #8115
|
10 years ago |
Carsten Brandt
|
cf51d46a75
|
keep BC in internal implamentation of DateValidator
prepare for #8115
|
10 years ago |
Carsten Brandt
|
1c41c2bd58
|
added DateValidator::$timestampAttributeTimeZone
this also makes DateValidator completly functional for validating values that include time.
issue #5053
|
10 years ago |
Carsten Brandt
|
d60445c066
|
Add DateValidator::$timestampAttributeFormat
includes refactoring of the formatting method to fix some major timezone issues.
fixes #5053
close #6820
|
10 years ago |
Carsten Brandt
|
ef662b57be
|
added missing `@since` annotations
|
10 years ago |
Klimov Paul
|
4672a8c83f
|
Doc comments at `yii\validators\Validator::isEmpty()` fixed
|
10 years ago |
Nikola Kovacs
|
f11bdfa2a7
|
Grammar fix: followings -> following
|
10 years ago |
Klimov Paul
|
83e2603985
|
Restriction on inline model method usage at `yii\validators\EachValidator` removed in case of usage inside model scope
|
10 years ago |
Qiang Xue
|
d8848ebf25
|
Doc improvement [skip ci]
|
10 years ago |
Paul Klimov
|
d594ab0b03
|
`yii\validators\EachValidator` uses single generic error message
|
10 years ago |
Klimov Paul
|
e29fcc8ea2
|
Docs about `yii\validators\EachValidator` adjusted
|
10 years ago |
Klimov Paul
|
9fedb978f6
|
Docs for `yii\validators\EachValidator` adjusted
|
10 years ago |
Klimov Paul
|
35eb833a2b
|
Added `yii\validators\EachValidator`
|
10 years ago |
Carsten Brandt
|
2a23520618
|
added documentation about handling date values
fixes #6530
fixes #5857
relates to #3973
|
10 years ago |
Carsten Brandt
|
ba6bce4e2d
|
fixed DateValidator to work with multibyte strings
fixes #6835
|
10 years ago |
Yoyon Cahyono
|
8b5e16ed56
|
compare position at which date value parsing ended with its string length to ensure validation when using php intl extension to parse date value
- fixes #6553
- Add additional testValidateAttributeICUFormat() test case using "2012-12-12foo" for "yyyy-MM-dd" date format
- close #6835
|
10 years ago |
Nikolay Bogolubov
|
2e414632be
|
fix EmailValidator - added unit tests
close #7183
fixes #7172
|
10 years ago |
Carsten Brandt
|
e83b479dfb
|
improved validator documentation
fixes #7472
|
10 years ago |
Qiang Xue
|
57c298a523
|
Fixes #7361: The `trim` validator now works on the client side too
|
10 years ago |
李某某
|
1fb842ef5e
|
annotation typo
|
10 years ago |
Alexander Makarov
|
9db19914ca
|
Used (float) instead of floatval()
|
10 years ago |
Qiang Xue
|
5ab1d1a0d1
|
Fixes #6992.
|
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 |
Carsten Brandt
|
58becaceab
|
suppress warning thrown by IntlDateFormatter::parse()
Works around PHP Bug https://bugs.php.net/bug.php?id=68528
fixes #5962
|
10 years ago |
Qiang Xue
|
d13d274d05
|
renamed $object to $model
|
10 years ago |
Qiang Xue
|
7c48837a67
|
Fixes #5836: doc fixes.
|
10 years ago |
Alexander Makarov
|
48ec791e4a
|
Fixes #5587: `json_encode` is now used with `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE` where it makes sense, also it is now default for `Json::encode()`
|
10 years ago |