The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CatalystX::CRUD::YUI::Excel - View class for Excel output

DESCRIPTION

CatalystX::CRUD::YUI::Excel is a subclass of CatalystX::CRUD::View::Excel.

CONFIGURATION

Configuration is the same as with CatalystX::CRUD::View::Excel. Read those docs.

The default config here is:

 __PACKAGE__->config(
    TEMPLATE_EXTENSION => '.tt'
 );

METHODS

The following methods are implemented in this class:

new

Overrides base new() method. Sets etp_config->INCLUDE_PATH to the base CatalystX::CRUD::YUI::TT .tt files plus your local app root. This means you can override the default .tt behaviour by putting a .tt file with the same name in your root template dir.

For example, to customize your .xls.tt file, just copy the default one from the CatalystX/CRUD/YUI/TT/crud/list.xls.tt in @INC and put it in root/crud/list.xls.tt.

get_template_filename

Always returns crud/list.xls.tt rather than depending on current Action path.

get_template_params

Overrides base method to add some other default variables.

  • The yui variable is a Rose::DBx::Garden::Catalyst::YUI object.

AUTHOR

Peter Karman, <karman@cpan.org>

BUGS

Please report any bugs or feature requests to bug-catalystx-crud-yui@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

ACKNOWLEDGEMENTS

The Minnesota Supercomputing Institute http://www.msi.umn.edu/ sponsored the development of this software.

COPYRIGHT & LICENSE

Copyright 2008 by the Regents of the University of Minnesota.

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