blob: 711e7e7e64c6e24f60a6c54aca9d09f402c466ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<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(); ?>
|