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
80d3afa0
Commit
80d3afa0
authored
Feb 26, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gii extension generator adjustments
parent
692821e7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
Generator.php
extensions/gii/generators/crud/Generator.php
+1
-0
Generator.php
extensions/gii/generators/extension/Generator.php
+2
-4
AutoloadExample.php
...ns/gii/generators/extension/templates/AutoloadExample.php
+1
-1
README.md
extensions/gii/generators/extension/templates/README.md
+1
-1
No files found.
extensions/gii/generators/crud/Generator.php
View file @
80d3afa0
...
...
@@ -16,6 +16,7 @@ use yii\helpers\Inflector;
use
yii\web\Controller
;
/**
* Generates CRUD
*
* @property array $columnNames Model column names. This property is read-only.
* @property string $controllerID The controller ID (without the module ID prefix). This property is
...
...
extensions/gii/generators/extension/Generator.php
View file @
80d3afa0
...
...
@@ -7,10 +7,8 @@
namespace
yii\gii\generators\extension
;
use
yii\gii\CodeFile
;
use
yii\helpers\Html
;
use
Yii
;
use
yii\
helpers\StringHelper
;
use
yii\
gii\CodeFile
;
/**
* This generator will generate the skeleton files needed by an extension.
...
...
@@ -222,7 +220,7 @@ EOD;
}
/**
* @return a json encoded array with the given keywords
* @return
string
a json encoded array with the given keywords
*/
public
function
getKeywordsArrayJson
()
{
...
...
extensions/gii/generators/extension/templates/AutoloadExample.php
View file @
80d3afa0
<?php
/**
* This is just an example.
*
* This is just an example.
*/
echo
"<?php
\n
"
;
?>
...
...
extensions/gii/generators/extension/templates/README.md
View file @
80d3afa0
<
?=
$
generator-
>
title ?>
===
<
?=
str_repeat
('=',
mb_strlen
($
generator-
>
title,
\Y
ii::$app->charset)) ?>
<
?=
$
generator-
>
description ?>
...
...
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