![]() |
![]()
| ![]() |
![]()
NAMEReaction::UI::Controller::Collection::CRUD - Basic CRUD functionality for Reaction::InterfaceModel data DESCRIPTIONController class which extends Reaction::UI::Controller::Collection to provide basic Create / Update / Delete / DeleteAll actions. Building on the base of the Collection controller this controller allows you to easily create complex and highly flexible CRUD functionality for your InterfaceModel models by providing a simple way to render and process your custom InterfaceModel Actions and customize built-ins. ROLES CONSUMEDThis role also consumes the following roles: METHODSget_model_action $c, $action_name, $target_imDEPRECATED. Get an instance of the $action_name InterfaceModel::Action for model $target This action is suitable for passing to an "Action|Reaction::UI::ViewPort::Action" viewport basic_model_action $c, \%vp_argsDEPRECTAED extension to "basic_page" which automatically instantiates an InterfaceModel::Action with the right data target using "get_model_action" after_create_callback $c, $vp, $resultWhen a <create> action is applied, move the user to the new object's, "update" page. _build_action_viewport_mapMap "list" to ListView. _build_default_member_actionsAdd "update" and "delete" to the list of default actions. _build_default_collection_actionsAdd "create" and "delete_all" to the list of default actions. ACTIONScreateChained to "base". See Reaction::UI::Controller::Role::Action::Create delete_allChained to "base". See Reaction::UI::Controller::Role::Action::DeleteAll updateChained to "object". See Reaction::UI::Controller::Role::Action::Update deleteChained to "object". See Reaction::UI::Controller::Role::Action::Delete SEE ALSOReaction::UI::Controller::Collection, Reaction::UI::Controller AUTHORSSee Reaction::Class for authors. LICENSESee Reaction::Class for the license. POD ERRORSHey! The above document had some coding errors, which are explained below:
|