Commit Graph

179 Commits

Author SHA1 Message Date
Alexander Makarov
fa787ce919 Merge pull request #2170 from yiiframework-com-ua/uk_docs
Fixing typos, PHPDocs
2013-03-06 16:05:59 -08:00
borales
6d19a150d4 Replacing spaces with tabs, removing dots
[ci skip]
2013-03-06 20:59:38 +02:00
borales
2f68a75235 Replacing spaces with tabs
[ci skip]
2013-03-06 08:48:59 +02:00
borales
07975cad64 Fixing spaces
[ci skip]
2013-03-06 01:06:46 +02:00
borales
a7af2c5371 Fixing some typos, PHPDocs
[ci skip]
2013-03-06 00:24:35 +02:00
Alexander Makarov
356c00247e Fixes #2048: AR now uses alias from CActiveRecord::getTableAlias instead of always using default "t" 2013-03-06 02:21:24 +04:00
Sergey Larionov
390b0e797c Удалил дополнительную проверку в ar->update, которая приводила к ошибкам 2013-02-05 14:34:18 +11:00
Sergey
729a333d84 Fix table alias in ar->exists method 2013-02-05 03:25:30 +11:00
Sergey
826be39504 Update framework/db/ar/CActiveRecord.php
method save() always returns true, even if the record does not exist in the database
2013-02-01 02:43:18 +11:00
Sergey
8afb3b5855 Update framework/db/ar/CActiveRecord.php
Если в ActiveRecord переопределить метод getTableAlias, то будут возникать ошибки неизвестной таблицы t, а так он будет использовать текущий алиас у таблицы
2013-01-28 16:01:08 +11:00
resurtm
40dca168e1 PHPDoc: cache dependency related methods' arguments type changed from CCacheDependency to CCacheDependency|ICacheDependency 2013-01-18 14:38:07 +06:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
slavcopost
3c737f7d25 Update ActiveRecord phpDoc 2013-01-14 21:34:58 +02:00
Carsten Brandt
7cc307d22f Merge branch 'master' of https://github.com/yiisoft/yii
* 'master' of https://github.com/yiisoft/yii: (27 commits)
  CHtml::cssFile() url fix
  Replaced CModel with actual model name
  Rollback CHANGELOG
  A little refactoring
  CHANGELOG
  CHtml::cssFile() fix
  Completed phpdoc comments for the controller template
  Document the 'submit' options in CHtml::clientChange() even better.
  Document the 'submit' and 'csrf' options in CHtml::clientChange() even better.
  Performance optimization
  CHANGELOG fix
  Coding style fix
  Coding style fix
  CHANGELOG fix
  Fixed can sorting cutted array with CArrayDataProvider
  Code style fix
  Document the 'submit' option in CHtml::clientChange() better.
  form.css success label fix
  doc fix
  else if => elseif
  ...
2012-10-07 22:19:39 +02:00
Carsten Brandt
cca7ecafc1 fixed CActiveRecord @throws doc 2012-10-07 22:19:11 +02:00
Alexander Kochetov
486723805e else if => elseif 2012-10-03 10:20:14 +04:00
Alexander Makarov
d865a3bab8 Fixes #1057 Removed SVN ids 2012-09-09 22:23:45 +04:00
Carsten Brandt
f6a351cf5b adjusted CActiveRecord documentation
onBeforeFind and beforeFind descriptions where outdated.
2012-09-07 22:01:21 +02:00
mdomba (mdwork)
c29be19d59 doc fix
[ci skip]
2012-08-10 12:49:14 +02:00
Paul Klimov
e22af736c1 Merge branch 'master' of git://github.com/yiisoft/yii into 636-many-to-many-relation-resolve-junction-data 2012-08-01 13:17:45 +03:00
Alexander Kochetov
33cabc62c8 #1070 fix 2012-07-30 21:52:28 +04:00
Paul Klimov
c76cd470b7 Visibility modifiers for internal fields in "CManyManyRelation" have been changed to "private", garbage return in "CManyManyRelation::initJunctionData()" has been removed. 2012-07-30 11:31:28 +03:00
Alexander Kochetov
fca49df5b6 Fix the beforeFind() behavior of the framework 2012-07-27 17:50:34 +04:00
Paul Klimov
ed9180404f Code indenting at "CManyManyRelation" has been fixed: whitespaces have been replaced by tabs. 2012-06-26 15:17:56 +03:00
Paul Klimov
b3f31f3b06 Class "CManyManyRelation" has been updated allowing to determine junction data from foreign key internally. 2012-06-25 14:33:15 +03:00
Carsten Brandt
b3e2dc78b1 fixed #749: CActiveRecord::refresh() in afterSave
CActiveRecord::refresh() did not work in afterSave() for new records.
refresh() will now always populate model with new data, when db entry exists
2012-05-29 21:36:41 +02:00
Alexander Makarov
3a12a9a585 Fixes #392: There was no way to get and modify criteria in CActiveRecord::beforeFind 2012-05-09 15:05:21 +04:00
Alexander Makarov
f094f2c1a1 Fixes issue #206: Added ability to pass CDbCriteria object as AR relation parameter 2012-03-10 15:42:35 +04:00
mdomba
6e8dc8c741 (fixes issue 3061) CActiveRecord doc fix 2012-01-08 22:07:55 +00:00
mdomba
a7ef3d5d02 removed 1.0.x reference from documentation 2011-12-28 12:29:24 +00:00
alexander.makarow
5a90468c93 More accessors docs, a script to re-generate docs automatically 2011-10-25 00:03:52 +00:00
alexander.makarow
5bcb07f752 (Fixes issue 2647) Fixed inconvenient way of defining through relation.
(Fixes issue 2646)
(Fixes issue 2706) Added ability to join on a specific keys.
2011-10-13 17:41:55 +00:00
alexander.makarow
320ac8b60e 2011-07-06 22:04:50 +00:00
alexander.makarow
1680724f1f (Fixes issue 2029) Added scope support to Model::relations() 2011-07-06 21:49:58 +00:00
qiang.xue
9cebad3587 (Fixes issue 2574) 2011-06-24 20:38:49 +00:00
qiang.xue
64f0845f56 (Fixes issue 2565) 2011-06-24 12:17:42 +00:00
alexander.makarow
0050917775 reverted 2498 fix 2011-06-15 14:21:12 +00:00
jefftulsa
9b2f05efcc small public method comment addition to address Issue 1912: API documentation clarification 2011-06-15 13:53:37 +00:00
qiang.xue
97654e2b04 (Fixes issue 2524) 2011-06-14 17:18:59 +00:00
alexander.makarow
20d3489b32 (Fixes issue 2498) When no value is returned from before* event-methods, it now always behaves the same way as when true was returned 2011-06-13 16:02:22 +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
alexander.makarow
cf953b83d5 (Fixes issue 2331) Added 'through' option to CActiveRecord::relations API docs 2011-04-15 00:57:46 +00:00
mdomba
6b17ffff53 (Fixes issue 2326) typo fix 2011-04-13 09:21:40 +00:00
qiang.xue
7a397f1909 * Added CActiveRecord::saveCounters(). 2011-04-08 22:09:56 +00:00
qiang.xue
c7e9a34b8d (Fixes issue 2227) 2011-03-22 17:38:13 +00:00
qiang.xue
dc99b7cdeb (Fixes issue 1868) 2011-03-14 00:28:38 +00:00
qiang.xue
064eb0078f (Fixes issue 1993) 2011-03-13 13:09:46 +00:00
qiang.xue
1750987fcd (Fixes issue 2111) 2011-03-11 20:09:47 +00:00