Commit Graph

20 Commits

Author SHA1 Message Date
Carsten Brandt
f9024dbec1 fixed Migration::execute() to use params correctly 2014-02-24 17:37:43 +01:00
Carsten Brandt
5ee50a8454 Merge pull request #2497 from yiisoft/merge-query-and-relation2
WIP merge ActiveRelation into ActiveQuery
2014-02-21 19:00:45 +01:00
Carsten Brandt
8f491f2836 moved @include tags of api docs directly into the class 2014-02-20 21:30:47 +01:00
Carsten Brandt
cb8237c1b7 merged ActiveQueryInterface and ActiveRelatioInterface 2014-02-20 16:15:10 +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
Qiang Xue
c92a260a3d Fixes #2415: Added support for inverse relations 2014-02-18 19:43:05 -05:00
Qiang Xue
abb2a0db97 minor improvement of label generation. 2014-02-15 14:25:32 -05:00
djagya
da16f508c2 #2436 override the function getAttributeLabel in BaseActiveRecord to receive label of the attribute, which looks like relatedMode.attribute, from the related model 2014-02-15 12:19:27 +01:00
djagya
44f5c73111 #2436 override the function getAttributeLabel in BaseActiveRecord to receive label of the attribute, which looks like relatedMode.attribute, from the related model 2014-02-15 12:08:10 +01:00
Qiang Xue
e79af9117e ensure populateRelation() is called for lazy loading. 2014-02-14 10:07:19 -05:00
Carsten Brandt
8af941fb53 added note about usage to AR::instantiate()
fixes #2370
2014-02-10 10:51:16 +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
Carsten Brandt
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
Alexander Makarov
ee8c0404bf minor code style and phpdoc fix 2014-01-25 14:07:07 +04:00
Qiang Xue
f6dd6fa2e9 Renamed ActiveRecordInterface::createActiveRelation() to createRelation() 2014-01-24 14:46:53 -05:00
Alexander Makarov
f21d2ce757 Better phpdoc 2014-01-19 03:44:33 +04: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
Alexander Makarov
5d23a066ca Removed unused imports 2014-01-12 23:42:55 +04:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00