30 Commits

Author SHA1 Message Date
Sam
fc8708b712 Added missing function to ActiveRecordInterface interface.
close #9854
2016-04-22 14:50:30 +02:00
30f003381d revised AR documentation
fixed some incorrectness in update() and insert() and also fixes #8761
2015-06-12 00:55:12 +02:00
e6b09bb82f Fixes #7888 doc fix [skip ci] 2015-04-26 23:03:26 -04:00
89d1e55f91 phpdoc fix, close #7404 2015-02-24 13:26:01 +01:00
6cfbd8d548 Fixed ActiveRecordInterface phpDoc 2015-01-27 01:57:45 +03:00
08e54c522c Fixed ActiveRecordInterface phpDoc 2015-01-27 01:44:35 +03:00
cba52e3c5e Fixes #5382: renamed "pivot table" to "junction table" since it's correct term to use 2014-10-07 01:13:17 +04:00
d4237b8e50 Update ActiveRecordInterface.php
fixes #3026
2014-07-21 16:27:46 +02:00
03efbc4ca8 Added getDb() to ActiveRecordInterface in order for BaseActiveRecord to have stricter contract 2014-06-09 01:11:11 +04:00
9e0a157fa5 improved docs for AR::findAll() 2014-05-12 01:19:55 +02:00
c6e1a2f02f Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (79 commits)
  Refactored app bootstrap logic.
  Update authorization.md
  Fixes #3052: Fixed the issue that cache dependency data is not reused when `reusable` is set true
  start debug logging only if debug runs when bootstrap.
  Update finnish translation
  Add ODBC support to yii\db\Connection
  updated error handler and requirement checker links.
  fixed broken API links [skip ci]
  added more doc [skip ci]
  update class map.
  Fixes #2034: Added `ContentNegotiator` to support response format and language negotiation
  renamed attributes to attributeNames in model
  updated phpdoc
  Removed `Application::preload` in favor of `Application::bootstrap`
  Update module-debug.md
  Update model.md
  Fixes
  Update basics.md
  typo fix [skip ci]
  Added `HtmlResponseFormatter` and `JsonResponseFormatter`
  ...
2014-04-10 22:22:36 +02:00
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
fa767ceaca renamed attributes to attributeNames in model
fixes #3034
2014-04-09 18:54:53 +02:00
e16a3e6192 Fixed typo in phpDoc for findAll function 2014-04-08 05:55:09 -05:00
0e143338d7 Finished refactoring find() . 2014-04-07 16:29:12 -04:00
75154d351d Refactored AR find 2014-04-07 09:43:03 +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
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
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
9b8ffdfacc Fixes #2653: Fixed the bug that unsetting an unpopulated AR relation would trigger exception (qiangxue) 2014-03-06 20:38:55 -05:00
80cc310895 updated phpdoc references of BaseAR to the interface
fixes #2623
2014-03-05 02:32:45 +01: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
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
f6dd6fa2e9 Renamed ActiveRecordInterface::createActiveRelation() to createRelation() 2014-01-24 14:46:53 -05:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00