From cd162d9b9b74dcf03234631de0a18697bffb4f3c Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sat, 10 May 2014 16:00:20 -0400 Subject: [PATCH] added missing hint [skip ci] --- extensions/gii/generators/model/Generator.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extensions/gii/generators/model/Generator.php b/extensions/gii/generators/model/Generator.php index 632f4dbf3a..d0e8e3fc65 100644 --- a/extensions/gii/generators/model/Generator.php +++ b/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.', 'generateLabelsFromComments' => 'This indicates whether the generator should generate attribute labels 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 tablePrefix setting of the DB connection. For example, if the + table name is tbl_post and tablePrefix=tbl_, the ActiveRecord class + will return the table name as {{%post}}.', ]); }