mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 04:37:42 +08:00
Fixed constructor style in docs [skip ci]
This commit is contained in:
committed by
Alexander Makarov
parent
d377c14cf1
commit
3d878d7e1e
@ -98,7 +98,7 @@ class SiteController extends Controller
|
|||||||
|
|
||||||
public function actionEntry()
|
public function actionEntry()
|
||||||
{
|
{
|
||||||
$model = new EntryForm;
|
$model = new EntryForm();
|
||||||
|
|
||||||
if ($model->load(Yii::$app->request->post()) && $model->validate()) {
|
if ($model->load(Yii::$app->request->post()) && $model->validate()) {
|
||||||
// 验证 $model 收到的数据
|
// 验证 $model 收到的数据
|
||||||
|
|||||||
Reference in New Issue
Block a user