index.php 692 B

12345678910111213141516171819
  1. <h1>Module Generator</h1>
  2. <p>This generator helps you to generate the skeleton code needed by a Yii module.</p>
  3. <?php $form=$this->beginWidget('CCodeForm', array('model'=>$model)); ?>
  4. <div class="row">
  5. <?php echo $form->labelEx($model,'moduleID'); ?>
  6. <?php echo $form->textField($model,'moduleID',array('size'=>65)); ?>
  7. <div class="tooltip">
  8. Module ID is case-sensitive. It should only contain word characters.
  9. The generated module class will be named after the module ID.
  10. For example, a module ID <code>forum</code> will generate the module class
  11. <code>ForumModule</code>.
  12. </div>
  13. <?php echo $form->error($model,'moduleID'); ?>
  14. </div>
  15. <?php $this->endWidget(); ?>