Qiang Xue
9649a6727a
Renamed `attributeName` and `className` to `targetAttribute` and `targetClass` for `UniqueValidator` and `ExistValidator`.
...
Refactored UniqueValidator and ExistValidator.
11 years ago
Qiang Xue
252b6c9ef1
Fixes #797 : Added support for validating multiple columns by `UniqueValidator` and `ExistValidator`
11 years ago
Qiang Xue
d620f3152e
refactored BaseActiveRecord::isPrimaryKey()
11 years ago
Qiang Xue
d5f40b42cf
Added ActiveRecordInterface::getOldPrimaryKey().
11 years ago
Qiang Xue
a08de95177
Fixes #1582 : Error messages shown via client-side validation should not be double encoded
11 years ago
Qiang Xue
a126419e9e
Fixes #1591 : StringValidator is accessing undefined property
11 years ago
Qiang Xue
a911e2501b
Fixes #1514 : added more doc.
11 years ago
Qiang Xue
72db6ffb1a
Fixes #1454 : refactored FileValidator.
11 years ago
Qiang Xue
0e67b2b1a9
Fixed safe validator.
11 years ago
Qiang Xue
cb4a8c764c
Refactored validators.
11 years ago
Qiang Xue
b9f9b16536
Apply fix for #1003 to validateAttribute.
11 years ago
Carsten Brandt
d0fc987f0b
fixed test break
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Carsten Brandt
83527e85ca
made Model::attributes() non static again
...
- allows to have dynamic definition of attributes depended on the
instance
- there was no real need for it to be static. Places that used it static
have been refactored.
fixes #1318
11 years ago
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Carsten Brandt
ed98df5cd8
fixed broken UniqueValidator
11 years ago
Carsten Brandt
cb4504a10f
refactored Model and redis AR to allow drop of RecordSchema
11 years ago
Carsten Brandt
070bd9625c
removed checkPort feature from email validator
...
fixes #1246
11 years ago
Carsten Brandt
4079acf4a6
changed EmailValidator MX check to be more useful
...
issue #1246
11 years ago
Carsten Brandt
8dab87be3d
fixed EmailValidator IDN and full pattern support
...
also made everything conistent with client validation
11 years ago
Qiang Xue
368dd4b1d4
Allow Validator::except to be either a string or an array.
11 years ago
Qiang Xue
5b0886f10b
Allow "on" and "attributes" to take either array or string for validators.
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
slavcodev
cbca145e97
Add type hinting
11 years ago
slavcodev
1c2489a3dc
Using only arrays in rules instead comma-separated string
11 years ago
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Qiang Xue
202664f3a4
Fixes #1176 .
11 years ago
Alexander Makarov
927e9dddb4
Refactored View
11 years ago
Gudz Taras
11c78cb4fb
Changed validateFile() method access from protected to public, fixed hasErrors check
11 years ago
Gudz Taras
3ef20e591d
Overriding validateFile()
11 years ago
Gudz Taras
c8596fdbc9
Changed px to pixels
11 years ago
Gudz Taras
960cb499bd
Fixed typos [skip ci]
11 years ago
Gudz Taras
e3981be1b8
Added image validator
11 years ago
Alexander Makarov
c127171efb
Fixes #1003 : DateValidator returned true for invalid dates
11 years ago
Alexander Makarov
ffb37f8eab
fixes #1001
11 years ago
Carsten Brandt
cfc57c20f0
Allow ITU message format in validator messages
...
fixes #991
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Alexander Makarov
5cf9992251
Removed @codeCoverageIgnore
11 years ago
Carsten Brandt
266f4f9843
Clientvalidation {value} was not what has been validated
...
also fixed some inconsistency between client and server validation.
11 years ago
Alexander Makarov
409500000a
Validation reference, validators phpdoc fixes
11 years ago
Carsten Brandt
c306fccd46
fixed FileValidator after UploadedFile refactoring
...
fixes #845
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Qiang Xue
ea10868824
Removed Yii::import().
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Qiang Xue
c037b481e8
Added SafeValidator.
11 years ago
Qiang Xue
1ca215dff4
Added default value of Validator::attributes.
11 years ago
Qiang Xue
3d5388ff2b
Reorganized captcha code.
11 years ago
Suralc
1ce7344e18
Additional tests in EmailValidator.
11 years ago
Qiang Xue
a23f233457
enhanced the usage of StringValidator.
11 years ago