mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-23 18:18:21 +08:00
Merge pull request #5369 from r3verser/patch-1
[ci skip] typo in input-forms.md
This commit is contained in:
@@ -168,7 +168,7 @@ class SettingsController extends Controller
|
|||||||
```
|
```
|
||||||
|
|
||||||
In the code above we're using `indexBy` when retrieving models from database to make array indexed by model ids. These
|
In the code above we're using `indexBy` when retrieving models from database to make array indexed by model ids. These
|
||||||
will be later used to identify form fields. `loadMultiple` fills multiple modelds with the form data coming from POST
|
will be later used to identify form fields. `loadMultiple` fills multiple models with the form data coming from POST
|
||||||
and `validateMultiple` validates all models at once. In order to skip validation when saving we're passing `false` as
|
and `validateMultiple` validates all models at once. In order to skip validation when saving we're passing `false` as
|
||||||
a parameter to `save`.
|
a parameter to `save`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user