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
......
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