2 The controller generator creates stubs for a new controller and its views.
4 The generator takes a controller name and a list of views as arguments.
5 The controller name may be given in CamelCase or under_score and should
6 not be suffixed with 'Controller'.
8 The generator creates a controller class in app/controllers with view
9 templates in app/views/controller_name, a helper class in app/helpers,
10 and a functional test suite in test/functional.
13 >> generate controller CreditCard open debit credit close
15 Credit card controller with URLs like /credit_card/debit.
16 Controller: app/controllers/credit_card_controller.php
17 Views: app/views/credit_card/debit.tpl [...]
18 Helper: app/helpers/credit_card_helper.tpl
19 Test: test/functional/test_CreditCardController.php