Commit 175d1325 by Qiang Xue

Merge branch 'master' of git://github.com/yiisoft/yii2

parents f5dbd9a0 2d070fd1
...@@ -458,6 +458,9 @@ public function init() ...@@ -458,6 +458,9 @@ public function init()
} }
``` ```
There where some problems with overriding the constructor of an ActiveRecord class in 1.1. These are not present in
version 2.0 anymore. Note that when adding parameters to the constructor you might have to override [[yii\db\ActiveRecord::instantiate()]].
There are many other changes and enhancements to Active Record. Please refer to There are many other changes and enhancements to Active Record. Please refer to
the [Active Record](db-active-record.md) section for more details. the [Active Record](db-active-record.md) section for more details.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment