20 lines
692 B
PHP
20 lines
692 B
PHP
|
<h1>Module Generator</h1>
|
||
|
|
||
|
<p>This generator helps you to generate the skeleton code needed by a Yii module.</p>
|
||
|
|
||
|
<?php $form=$this->beginWidget('CCodeForm', array('model'=>$model)); ?>
|
||
|
|
||
|
<div class="row">
|
||
|
<?php echo $form->labelEx($model,'moduleID'); ?>
|
||
|
<?php echo $form->textField($model,'moduleID',array('size'=>65)); ?>
|
||
|
<div class="tooltip">
|
||
|
Module ID is case-sensitive. It should only contain word characters.
|
||
|
The generated module class will be named after the module ID.
|
||
|
For example, a module ID <code>forum</code> will generate the module class
|
||
|
<code>ForumModule</code>.
|
||
|
</div>
|
||
|
<?php echo $form->error($model,'moduleID'); ?>
|
||
|
</div>
|
||
|
|
||
|
<?php $this->endWidget(); ?>
|