Merge pull request #1980 from surek/patch-1

Update upgrade-from-v1.md
This commit is contained in:
Alexander Makarov
2014-01-15 03:17:57 -08:00

View File

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