@@ -107,12 +109,12 @@ class Generator extends \yii\gii\Generator
...
@@ -107,12 +109,12 @@ class Generator extends \yii\gii\Generator
*/
*/
publicfunctionhints()
publicfunctionhints()
{
{
return[
returnarray_merge(parent::hints(),[
'modelClass'=>'This is the model class for collecting the form input. You should provide a fully qualified class name, e.g., <code>app\models\Post</code>.',
'modelClass'=>'This is the model class for collecting the form input. You should provide a fully qualified class name, e.g., <code>app\models\Post</code>.',
'viewName'=>'This is the view name with respect to the view path. For example, <code>site/index</code> would generate a <code>site/index.php</code> view file under the view path.',
'viewName'=>'This is the view name with respect to the view path. For example, <code>site/index</code> would generate a <code>site/index.php</code> view file under the view path.',
'viewPath'=>'This is the root view path to keep the generated view files. You may provide either a directory or a path alias, e.g., <code>@app/views</code>.',
'viewPath'=>'This is the root view path to keep the generated view files. You may provide either a directory or a path alias, e.g., <code>@app/views</code>.',
'scenarioName'=>'This is the scenario to be used by the model when collecting the form input. If empty, the default scenario will be used.',
'scenarioName'=>'This is the scenario to be used by the model when collecting the form input. If empty, the default scenario will be used.',