Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Catalyst::Enzyme::CRUDUsereContributed Perl DocCatalyst::Enzyme::CRUD::View(3)

NAME
       Catalyst::Enzyme::CRUD::View - Catalyst View helper methods for CRUD
       templates

SYNOPSIS
DESCRIPTION
       This is a mix-in	for any	(TT) View using	the Enzyme CRUD.

   METHODS
   element_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 METHODS
       These 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".

AUTHOR
       Johan Lindstrom <johanl AT cpan.org>

LICENSE
       This library is free software, you can redistribute it and/or modify it
       under the same terms as Perl itself.

POD ERRORS
       Hey! The	above document had some	coding errors, which are explained
       below:

       Around line 131:
	   Non-ASCII character seen before =encoding in	'AT'. Assuming CP1252

perl v5.24.1			  2006-01-14   Catalyst::Enzyme::CRUD::View(3)

NAME | SYNOPSIS | DESCRIPTION | CATALYST METHODS | AUTHOR | LICENSE | POD ERRORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Catalyst::Enzyme::CRUD::View&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help