Commit 71e4d408 by Alexander Makarov

Merge pull request #1980 from surek/patch-1

Update upgrade-from-v1.md
parents 32da18a5 eefba1d5
...@@ -183,7 +183,7 @@ A model is now associated with a form name returned by its `formName()` method. ...@@ -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, 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. 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, to a model. For example,
```php ```php
...@@ -522,4 +522,4 @@ Yii is fully inegrated with the package manager for PHP named Composer that reso ...@@ -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 up to date updating it semi-automatically and manages autoloading for third party libraries no matter which autoloading
these are using. 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.
\ No newline at end of file
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