Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
cd162d9b
Commit
cd162d9b
authored
May 10, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing hint [skip ci]
parent
25ba0e0d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Generator.php
extensions/gii/generators/model/Generator.php
+4
-0
No files found.
extensions/gii/generators/model/Generator.php
View file @
cd162d9b
...
@@ -111,6 +111,10 @@ class Generator extends \yii\gii\Generator
...
@@ -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>.'
,
]);
]);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment