Commit Graph

101 Commits

Author SHA1 Message Date
alexander.makarow
76a61a8c14 (Fixes issue 2637) Related table alias set dynamically in relational query is now available in the scopes of reated model 2011-07-12 21:05:22 +00:00
alexander.makarow
1680724f1f (Fixes issue 2029) Added scope support to Model::relations() 2011-07-06 21:49:58 +00:00
qiang.xue
b6910c7dde (Fixes issue 2538) 2011-06-15 19:05:45 +00:00
jefftulsa
9b2f05efcc small public method comment addition to address Issue 1912: API documentation clarification 2011-06-15 13:53:37 +00:00
alexander.makarow
e7b6883ebb PhpDoc corrections 2011-05-05 21:36:32 +00:00
alexander.makarow
f7505c00f9 (Fixes issue 2319) Added support to call behavior scope through criteria 'with'=>array('scopes'=>'behaviorScope') 2011-04-17 10:38:14 +00:00
qiang.xue
b43bdc8f26 (Fixes issue 2294) 2011-04-08 21:09:36 +00:00
alexander.makarow
5d55edb06e 2011-03-22 19:59:34 +00:00
alexander.makarow
487cc6f600 Reverted relational AR optimizations causing side effects 2011-03-13 19:17:54 +00:00
qiang.xue
064eb0078f (Fixes issue 1993) 2011-03-13 13:09:46 +00:00
alexander.makarow
3ffed1c62a (Fixes issue 2188) 'join' in default scopes is now respected by STAT relations 2011-03-09 18:56:01 +00:00
alexander.makarow
1c1fd44527 - All lazy/eager loading types are now supported for through.
- Some performance optimizations and refactorings.
- Less queries when getting a model with more than two HAS_MANY and using limit.
2011-03-04 13:15:17 +00:00
alexander.makarow
78bf76d3ae (Fixes issue 1117) Added support for "through" in Active Record relations allowing to handle association table data 2011-02-28 17:19:09 +00:00
alexander.makarow
9908f3e071 Fixed joinType regression in relational AR 2011-02-26 18:15:19 +00:00
alexander.makarow
286d95aac3 Added ability to perform Relational JOIN without getting related models 2011-02-25 22:54:03 +00:00
alexander.makarow
271160c065 2011-02-23 13:03:07 +00:00
alexander.makarow
00b28076b6 rolled back r2994 2011-02-23 11:56:11 +00:00
alexander.makarow
44b310c295 The 'condition' declared in the scopes of the related AR classes will now be put in the 'WHERE' clause when performing relational AR queries 2011-02-23 02:35:14 +00:00
alexander.makarow
8ffea45016 CActiveFinder: less memory consumption, less code 2011-02-22 23:43:15 +00:00
alexander.makarow
486acc4f5c (Fixes issue 558) Added parametrized named scopes, added scopes to criteria, implemented scope criteria merging 2011-02-19 00:11:00 +00:00
qiang.xue
4be0af6917 changed copyright year. 2011-01-01 19:31:13 +00:00
qiang.xue
16e6a2ada6 (Fixes issue 1914) 2010-12-28 16:18:06 +00:00
alexander.makarow
fe4a9fabb3 (Fixes issue 1898) Fixed CActiveRecord count method docuementation 2010-12-16 22:23:25 +00:00
qiang.xue
1ce05a4c65 index fix. 2010-11-10 20:36:46 +00:00
qiang.xue
86a1402206 (Fixes issue 1420) 2010-11-04 16:24:45 +00:00
mdomba
72b974560b Updated PHPDoc @param parameter names 2010-09-23 13:28:52 +00:00
mdomba
ef2ca77957 added PHPDoc param where needed 2010-09-23 12:34:33 +00:00
qiang.xue
a7bcb8e1ca 2010-09-11 23:44:14 +00:00
qiang.xue
258f70fbce 2010-09-11 23:34:58 +00:00
qiang.xue
20f34921ef fixed potential circular references in RAR. 2010-09-11 23:29:04 +00:00
qiang.xue
28a251bd44 Fixed event raising bug. 2010-08-31 12:40:04 +00:00
qiang.xue
1f1d64c0b5 Fixed some issues caused by recent check-ins. 2010-08-30 20:59:43 +00:00
qiang.xue
720aab955f * (Fixes issue 954) Refactored CActiveRecord and CActiveFinder so that CActiveRecord::with() always returns the AR object itself 2010-08-30 19:04:44 +00:00
qiang.xue
ac8e650bc0 (Fixes issue 1435) 2010-07-30 20:38:36 +00:00
qiang.xue
0d970593c6 (Fixes issue 1358) 2010-07-30 00:36:04 +00:00
qiang.xue
4b9f08678c (Fixes issue 716) 2010-06-25 21:05:21 +00:00
qiang.xue
775a69341a (Fixes issue 1323) 2010-06-25 19:18:18 +00:00
qiang.xue
f0420d673a (Fixes issue 1326) 2010-06-25 18:12:01 +00:00
alexander.makarow
944e51513a Fixed AR memory leaks on PHP<5.3 2010-06-15 22:27:47 +00:00
qiang.xue
c199ce0e7d (Fixes issue 1287) 2010-06-15 17:20:35 +00:00
alexander.makarow
be80791364 CActiveRecord::beforeFind event is now triggered in all cases including related models with both lazy and eager loading 2010-05-20 18:20:02 +00:00
qiang.xue
4a028f1ea0 * (Fixes issue 1183) Added support to retrieve the currently active table alias in AR scopes 2010-05-13 22:10:19 +00:00
qiang.xue
783a13ece2 fixed the bug that Relational AR query may complain column not well defined when the column select spans multiple lines 2010-04-30 03:07:58 +00:00
qiang.xue
e32942df97 (Fixes issue 1009) 2010-03-15 20:38:18 +00:00
qiang.xue
e530488f26 Removed the debugging line in CActiveFinder that caused many-many relational query to fail if FKs are not defined 2010-03-15 12:35:31 +00:00
qiang.xue
2ec85fba52 (Fixes issue 890) 2010-03-09 22:02:12 +00:00
qiang.xue
e807036f22 (Fixes issue 794) 2010-02-18 21:31:46 +00:00
qiang.xue
ea2c24ae04 (Fixes issue 941) 2010-02-18 21:26:10 +00:00
qiang.xue
4cbb1b5ac6 2010-02-03 20:14:51 +00:00
qiang.xue
7f7a8e7029 2010-02-03 20:01:38 +00:00