Commit 80d3afa0 by Alexander Makarov

Gii extension generator adjustments

parent 692821e7
......@@ -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
......
......@@ -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()
{
......
<?php
/**
* This is just an example. *
* This is just an example.
*/
echo "<?php\n";
?>
......
<?= $generator->title ?>
===
<?= str_repeat('=', mb_strlen($generator->title, \Yii::$app->charset)) ?>
<?= $generator->description ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment