Commit f6c4c1ef by Alexander Makarov

explained why AR is used in an example for scenarios doc

parent b51c7e3b
...@@ -143,6 +143,9 @@ class EmployeeController extends \yii\web\Controller ...@@ -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
---------- ----------
......
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