16 Commits

Author SHA1 Message Date
da78b6e16e doc fix. 2013-12-26 00:29:03 -05:00
9649a6727a Renamed attributeName and className to targetAttribute and targetClass for UniqueValidator and ExistValidator.
Refactored UniqueValidator and ExistValidator.
2013-12-22 16:40:51 -05:00
252b6c9ef1 Fixes #797: Added support for validating multiple columns by UniqueValidator and ExistValidator 2013-12-22 11:30:59 -05:00
d620f3152e refactored BaseActiveRecord::isPrimaryKey() 2013-12-22 10:19:49 -05:00
d5f40b42cf Added ActiveRecordInterface::getOldPrimaryKey(). 2013-12-22 10:02:00 -05:00
cb4a8c764c Refactored validators. 2013-12-06 14:19:17 -05:00
d0fc987f0b fixed test break 2013-11-30 03:15:35 +01:00
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
2013-11-28 01:01:48 +01:00
ed98df5cd8 fixed broken UniqueValidator 2013-11-22 19:20:46 +01:00
cb4504a10f refactored Model and redis AR to allow drop of RecordSchema 2013-11-22 18:44:22 +01:00
b0b1c27c85 Fix phpDoc var tag format 2013-11-12 06:21:04 +02:00
ffb37f8eab fixes #1001 2013-10-24 02:00:43 +04:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
ea10868824 Removed Yii::import(). 2013-09-01 10:26:59 -04:00
f1ce0e165d Fixes issue #428 Allowing UniqueValidator to be used with non-AR models. 2013-05-27 13:43:48 -04:00
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00