Commit Graph

12 Commits

Author SHA1 Message Date
Qiang Xue
338b6aa7d3 Refactored ActiveRecord::find() so that find(null) will also return an ActiveRecord instance instead of ActiveQuery. 2014-03-30 19:01:02 -04:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Qiang Xue
9b8ffdfacc Fixes #2653: Fixed the bug that unsetting an unpopulated AR relation would trigger exception (qiangxue) 2014-03-06 20:38:55 -05:00
Carsten Brandt
80cc310895 updated phpdoc references of BaseAR to the interface
fixes #2623
2014-03-05 02:32:45 +01: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
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
Qiang Xue
f6dd6fa2e9 Renamed ActiveRecordInterface::createActiveRelation() to createRelation() 2014-01-24 14:46:53 -05:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00