This generator helps you to generate the skeleton code needed by a Yii module.
beginWidget('CCodeForm', array('model'=>$model)); ?>
labelEx($model,'moduleID'); ?>
textField($model,'moduleID',array('size'=>65)); ?>
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 forum
will generate the module class
ForumModule
.
error($model,'moduleID'); ?>
endWidget(); ?>