mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 12:49:04 +08:00
Merge branch 'master' of git://github.com/yiisoft/yii2
This commit is contained in:
@@ -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
|
||||
the [Active Record](db-active-record.md) section for more details.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user