This generator helps you to quickly generate a new controller class, one or several controller actions and their corresponding views.
beginWidget('CCodeForm', array('model'=>$model)); ?>post
generates PostController.php
postTag
generates PostTagController.php
admin/user
generates admin/UserController.php
.
If the application has an admin
module enabled,
it will generate UserController
within the module instead.
Make sure to write module name in the correct case if it has a camelCase name.