|
NAMECatalyst::Enzyme::CRUD::View - Catalyst View helper methods for CRUD templatesSYNOPSISDESCRIPTIONThis is a mix-in for any (TT) View using the Enzyme CRUD.METHODSelement_req($c, $action_name, $column, $type)Return new HTML::Element for $column.If the current action is $action_name, fill in data from the request. If there is no $column field in the model class, return a HTML <INPUT type="$type"> field with that name. Type = "textfield" | "textarea" | "select" CATALYST METHODSThese methods are injected into the Catalyst class, available to call on the $c object.$c->this_request_except(%new_params)Return uri which is identical to the current request, except overwritten with the new parameters in %new_params.$c->uri_for_controller($action, @params)Return a URI that points to the $action in this controller, no matter what the current request is (it could be to an action in another Controller which forwarded to this Controller (by first forwarding to this controller's "set_crud_controller").The @params are added to the URI the same way as in "uri_for". AUTHORJohan Lindstrom <johanl ÄT cpan.org>LICENSEThis library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.POD ERRORSHey! The above document had some coding errors, which are explained below:
Visit the GSP FreeBSD Man Page Interface. |