CGI::Application::Structured::Tools::templates::Module.3pm

Langue: en

Version: 2009-10-14 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Template Controller base class for CGI::Application::Structured apps.

SYNOPSIS

     A controller module for <tmpl_var main_module>.
 
 

DESCRIPTION

This module acts as the base class for Controllers for this app. Subclasses are found in the <tmpl_var module>::C package.

METHODS

SUBCLASSED METHODS

error

This error page is suitable for development but you will want to customize this runmode for your application.

cgiapp_init

Initializes the Controller base class for app, configures DBIx::Class plugin, sets an error mode and configures the TT template directory.

Use 'setup' in your subclasses to futher configure for each Controller subclass. 'setup' is called after 'cgiapp_init'.

TODO: change all these values to ones more appropriate for your application.

TODO: Other methods in your public interface go here.

BUGS AND LIMITATIONS

There are no known problems with this module.

Please report any bugs or feature requests to "bug-<tmpl_var rtname" at rt.cpan.org>, or through the web interface at ``/rt.cpan.org/NoAuth/ReportBug.html?Queue=<tmpl_var distro'' in http:>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

CGI::Application

THANKS

List acknowledgements here or delete this section.

AUTHOR

<tmpl_var author>, "<<tmpl_var email_obfuscated>>" Copyright <tmpl_var year> <tmpl_var author>, all rights reserved.

<tmpl_var license_blurb>