Carsten Brandt
c73cfe147f
Fixed inconsistencies with setting old attributes and pks
...
issue #2892
2014-03-27 13:17:54 +01:00
Carsten Brandt
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
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Paul Klimov
8d5536ac12
yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file.
2014-03-08 11:49:09 +02:00
AlexGx
1982efbdfe
many phpcs fixes
2014-03-05 00:22:55 +02:00
Carsten Brandt
505762d49c
updated docs about active relation
2014-02-21 18:53:28 +01:00
Carsten Brandt
cb8237c1b7
merged ActiveQueryInterface and ActiveRelatioInterface
2014-02-20 16:15:10 +01:00
Carsten Brandt
3b40d44909
made createQuery() config param optional
2014-02-20 05:54:47 +01:00
Carsten Brandt
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
Carsten Brandt
16e1aff41b
renamed ActiveRecord::create() to populateRecord()
...
- refactored elasticsearch AR to make type and index available in
instantiate(), issue #1313
fixes #2281
2014-02-03 14:07:12 +01:00
Qiang Xue
f6dd6fa2e9
Renamed ActiveRecordInterface::createActiveRelation() to createRelation()
2014-01-24 14:46:53 -05:00
Carsten Brandt
796284cba1
reworked fix for #1993
2014-01-16 11:05:26 +01:00
Carsten Brandt
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
2014-01-16 10:28:58 +01:00
Qiang Xue
da9d544c54
psr-4 change.
2014-01-10 21:06:25 -05:00
Qiang Xue
41685a2409
moved extensions under yii.
2013-12-09 23:51:49 -05:00
Paul Klimov
9b5f3fab99
Extension "mongo" renamed into "mongodb"
2013-12-06 17:35:32 +02:00