30 Commits

Author SHA1 Message Date
0adcd06ca2 Fixed lazy load of relations to yii\mongodb\file\ActiveRecord 2014-12-23 20:58:58 +02:00
f099616967 improved IDE autocompletion for AR::find()
[ci skip]
2014-08-12 23:21:34 +02:00
7736853837 property code style extensions 2014-07-30 00:40:46 +02:00
e8c6bb516f Fixes #4048: Added init event to ActiveQuery classes 2014-07-19 20:26:58 -04:00
1085f1bd9b cleanup after #4092
fixes #4086
2014-06-29 13:29:23 +02:00
f9febd0087 unify changedAttributes of afterSave in extensions 2014-06-27 20:10:43 +04:00
2cab70b064 Ensure consistent behavior in ActiveRecord::afterSave()
fixes #4012
2014-06-25 00:29:34 +02:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
44dbb2235a cleanup docs 2014-04-03 20:13:32 +02:00
54e08f3f01 fixed build break. 2014-04-03 11:57:49 -04:00
8b4dfcc876 Fixes #2955: Changed the signature of ActiveQuery constructors and ActiveRecord::createQuery() to simplify customizing ActiveQuery classes 2014-04-03 10:36:52 -04:00
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
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04: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
1982efbdfe many phpcs fixes 2014-03-05 00:22:55 +02:00
505762d49c updated docs about active relation 2014-02-21 18:53:28 +01:00
cb8237c1b7 merged ActiveQueryInterface and ActiveRelatioInterface 2014-02-20 16:15:10 +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
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
f6dd6fa2e9 Renamed ActiveRecordInterface::createActiveRelation() to createRelation() 2014-01-24 14:46:53 -05:00
796284cba1 reworked fix for #1993 2014-01-16 11:05:26 +01:00
81d23332df afterFind event in AR is now called after relations have been populated
fixes #1993
2014-01-16 10:28:58 +01: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