Class dmstr\modules\widgets\generators\widget\Generator

Inheritancedmstr\modules\widgets\generators\widget\Generator » yii\gii\Generator

Class Generator

Property Details

$ns public property
public $ns 'common\widgets'
$sourcePath public property
public $sourcePath '@app/data/widget-templates/app'
$templateFiles public property
public $templateFiles 'index.html'

Method Details

generate() public method

public void generate ( )
getName() public method

public void getName ( )
indentText() public method

public void indentText ( $text, $num 1 )
$text
$num