mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
explained why AR is used in an example for scenarios doc
This commit is contained in:
@ -143,6 +143,9 @@ class EmployeeController extends \yii\web\Controller
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
In the example above we are using [Active Record](active-record.md). For basic form models it's rarely needed to
|
||||||
|
use scenarios since form model is typically used for a single form.
|
||||||
|
|
||||||
Validation
|
Validation
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user