Browse Source

added missing hint [skip ci]

tags/2.0.0-rc
Qiang Xue 11 years ago
parent
commit
cd162d9b9b
  1. 4
      extensions/gii/generators/model/Generator.php

4
extensions/gii/generators/model/Generator.php

@ -111,6 +111,10 @@ class Generator extends \yii\gii\Generator
you may want to uncheck this option to accelerate the code generation process.', you may want to uncheck this option to accelerate the code generation process.',
'generateLabelsFromComments' => 'This indicates whether the generator should generate attribute labels 'generateLabelsFromComments' => 'This indicates whether the generator should generate attribute labels
by using the comments of the corresponding DB columns.', by using the comments of the corresponding DB columns.',
'useTablePrefix' => 'This indicates whether the table name returned by the generated ActiveRecord class
should consider the <code>tablePrefix</code> setting of the DB connection. For example, if the
table name is <code>tbl_post</code> and <code>tablePrefix=tbl_</code>, the ActiveRecord class
will return the table name as <code>{{%post}}</code>.',
]); ]);
} }

Loading…
Cancel
Save