芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/yiisoft/yii2-gii/src/generators/form/default/action.php
public function action= Inflector::id2camel(trim(basename($generator->viewName), '_')) ?>() { $model = new \= ltrim($generator->modelClass, '\\') ?>= empty($generator->scenarioName) ? "()" : "(['scenario' => '{$generator->scenarioName}'])" ?>; if ($model->load(Yii::$app->request->post())) { if ($model->validate()) { // form inputs are valid, do something here return; } } return $this->render('= basename($generator->viewName) ?>', [ 'model' => $model, ]); }