NAME
Rose::DBx::Garden::Catalyst::TT - RDGC templates and helpers
DESCRIPTION
Rose::DBx::Garden::Catalyst::TT provides Template::Toolkit support for working with YUI and JSON.
VIRTUAL METHODS
The following TT virtual methods are added automatically for use in your template files:
dump_data
Replacement for the Dumper plugin. You can call this method on any variable to see its Data::Dump representation in HTML-safe manner.
[% myvar.dump_data %]
dump_stderr
Like dump_data but prints to STDERR instead of returning HTML-escaped string. Returns undef.
as_json
Encode the variable as a JSON string. Wrapper around the JSON->encode method. The string will be encoded as UTF-8, and the special JSON flags for converted_blessed and allow_blessed are true
by default.
increment( n )
Increment a scalar number by one. Aliased as a scalar vmethod as 'inc'.
decrement( n )
Decrement a scalar number by one. Aliased as a scalar vmethod as 'dec'.
AUTHOR
Peter Karman, <karman at cpan.org>
BUGS
Please report any bugs or feature requests to bug-rose-dbx-garden-catalyst at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Rose-DBx-Garden-Catalyst. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Rose::DBx::Garden::Catalyst
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Rose-DBx-Garden-Catalyst
Search CPAN
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.