62 Commits

Author SHA1 Message Date
b30b5a99ea Fixes #11672: Fixed yii\validators\NumberValidator erroring when value is an object without __toString() method 2016-06-23 23:32:25 +03:00
662f86acb5 fix missing closing bracket in documentation (#11716) 2016-06-07 13:20:56 +02:00
f312163258 Fixes #11220: NumberValidator now handles objects properly 2016-04-06 00:53:10 +03:00
5db2afbaeb Code style fixed, PHPDoc updated 2016-03-22 23:31:23 +02:00
67b5f4ea19 fix for unsafe validator
Closes #8145 #8139 #11153
2016-03-22 23:31:16 +02:00
a0e614eb20 yii\validators\EachValidator injects specific attribute value in error message parameters
Closes #11139
2016-03-20 16:34:42 +02:00
5242765257 Fixes #3506: Added \yii\validators\IpValidator to perform validation of IP addresses and subnets 2015-10-22 14:21:31 +03:00
4c0bcaf12e Fixes #8822, fixes #9298. Clientside validator docs enhancements. 2015-09-05 02:15:08 +03:00
4f6f041e8b The stricter the better 2015-07-08 16:14:16 +03:00
4b50ace287 Update Validator.php 2015-07-07 18:39:42 -03:00
4672a8c83f Doc comments at yii\validators\Validator::isEmpty() fixed 2015-04-22 16:32:37 +03:00
e29fcc8ea2 Docs about yii\validators\EachValidator adjusted 2015-04-09 18:14:35 +03:00
35eb833a2b Added yii\validators\EachValidator 2015-04-09 16:48:15 +03:00
f66b8ba571 Fixes #6589: updated code style guide to mention else after return, adjusted code involved in the issue 2014-12-27 00:15:20 +03:00
7c48837a67 Fixes #5836: doc fixes. 2014-10-31 14:28:51 -04:00
5794534a26 Unused InvalidConfigException 2014-08-24 23:47:36 +04:00
2ef7eda249 Fixes #4611. 2014-08-06 08:08:07 -04:00
24d0314928 Update docs for clientValidateAttribute() 2014-08-05 16:56:00 +02:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
9f08d18f96 Fixes #3020 [skip ci] 2014-06-26 22:50:57 -04:00
01e5ffdceb guide WIP [skip ci] 2014-06-05 22:40:37 -04:00
46add80ac2 Add missing Exception when wrong validator is used 2014-05-09 16:28:11 +02:00
b65b0ce591 better exception message for non existing validator 2014-05-07 13:09:39 +02:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
d1363d9684 Added Validator::whenClient. 2014-03-22 21:21:33 -04:00
7ea52fb262 Implemented conditional validators (see #2406) 2014-03-19 11:43:31 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
da48b37856 Fixes #2756: Added support for injecting custom isEmpty check for all validators 2014-03-14 23:45:35 -04:00
33d6acba25 Improved behavior support, fixes #2550
call hasMethod() instead of using method_exists
2014-02-26 14:18:24 +01:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
18d7224ac8 Fixes #2149: Added yii\base\DynamicModel to support ad-hoc data validation 2014-01-27 16:13:25 -05:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
e6af955bdc form wip 2013-05-02 16:10:57 -04:00
41b127b922 Finished js validation for compare validator. 2013-05-02 10:23:47 -04:00
86330471fe form wip 2013-05-02 00:04:38 -04:00
52a160cb7b refactored validators. 2013-04-05 10:21:43 -04:00
421e31ec0f finished validator refactoring. 2013-04-04 10:57:01 -04:00
3bd186deeb refactored validators. 2013-04-03 23:23:32 -04:00
62fd92bf72 validator wip 2013-04-03 14:51:15 -04:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
7df4a9bd1d finished validator cleanup. 2013-01-21 20:11:22 -05:00
4f1efc74a3 validator cleanup. 2013-01-21 19:20:20 -05:00
78396afb02 validator cleanup. 2013-01-20 19:39:56 -05:00
8e05e6e62d changed copyright line. 2013-01-07 11:34:52 -05:00
44af0aa97a AR wip 2012-12-22 16:25:14 -05:00
da786f657a Implemented new rules and safe attributes 2012-11-09 17:47:50 -08:00
a900301507 Added Validator::except. 2012-07-26 13:19:43 -04:00
083ca919d3 validators 2012-05-07 03:44:56 +04:00