Code Examples | => For example, table name is special_orders;
=> then the controller file should be
special_orders_controller.php under app/controllers folder;
=> the controller class name should be SpecialOrdersController
app/controllers/special_orders_controller.php file;
=> the model file name should be special_order.php under
app/models folder. The model class should be SpecialOrder
in app/models/special_order.php file.
=> The view name should be the same name as an action
defined in its controller under app/views/ folder. |