mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-24 02:27:22 +08:00
Update structure-models.md
little fix
This commit is contained in:
@@ -276,7 +276,6 @@ public function rules()
|
||||
|
||||
|
||||
## 块赋值 <a name="massive-assignment"></a>
|
||||
## Massive Assignment <a name="massive-assignment"></a>
|
||||
|
||||
块赋值只用一行代码将用户所有输入填充到一个模型,非常方便,
|
||||
它直接将输入数据对应填充到 [[yii\base\Model::attributes]] 属性。
|
||||
|
||||
Reference in New Issue
Block a user