mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Update upgrade-from-v1.md
Text amended as "A new method" was referring to two. CHanged the text to "New methods".
This commit is contained in:
@ -183,7 +183,7 @@ A model is now associated with a form name returned by its `formName()` method.
|
||||
mainly used when using HTML forms to collect user inputs for a model. Previously in 1.1,
|
||||
this is usually hardcoded as the class name of the model.
|
||||
|
||||
A new methods called `load()` and `Model::loadMultiple()` is introduced to simplify the data population from user inputs
|
||||
New methods called `load()` and `Model::loadMultiple()` are introduced to simplify the data population from user inputs
|
||||
to a model. For example,
|
||||
|
||||
```php
|
||||
@ -522,4 +522,4 @@ Yii is fully inegrated with the package manager for PHP named Composer that reso
|
||||
up to date updating it semi-automatically and manages autoloading for third party libraries no matter which autoloading
|
||||
these are using.
|
||||
|
||||
In order to learn more refer to [composer](composer.md) and [installation](installation.md) sections of the guide.
|
||||
In order to learn more refer to [composer](composer.md) and [installation](installation.md) sections of the guide.
|
||||
|
Reference in New Issue
Block a user