11 Commits

Author SHA1 Message Date
c73cfe147f Fixed inconsistencies with setting old attributes and pks
issue #2892
2014-03-27 13:17:54 +01:00
f4395206b7 reset dirty attributes after afterSave
so information about changed values is available in `afterSave`-event.

fixes #2892
2014-03-27 12:14:03 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
8d5536ac12 yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file. 2014-03-08 11:49:09 +02:00
505762d49c updated docs about active relation 2014-02-21 18:53:28 +01:00
3b40d44909 made createQuery() config param optional 2014-02-20 05:54:47 +01:00
1708a36d95 WIP merge ActiveRelation into ActiveQuery
allow extending only one class to add scopes, fixes #2146

TODO:

- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
2014-02-20 05:53:36 +01:00
f6dd6fa2e9 Renamed ActiveRecordInterface::createActiveRelation() to createRelation() 2014-01-24 14:46:53 -05:00
da9d544c54 psr-4 change. 2014-01-10 21:06:25 -05:00
41685a2409 moved extensions under yii. 2013-12-09 23:51:49 -05:00
9b5f3fab99 Extension "mongo" renamed into "mongodb" 2013-12-06 17:35:32 +02:00