Template::Flute::Specification - Specification class for Template::Flute
$xml_spec = new Template::Flute::Specification::XML; $spec = $xml_spec->parse_file('spec.xml'); $spec->set_iterator('cart', $cart); $conf_spec = new Template::Flute::Specification::Scoped; $spec = $conf_spec->parse_file('spec.conf);
Specification class for Template::Flute.
Creates Template::Flute::Specification object.
Set or get the name of the specification.
Set or get the encoding of the HTML template which is parsed according to this specification.
Add container specified by hash reference CONTAINER.
Add list specified by hash reference LIST.
Add form specified by hash reference FORM.
Add value specified by hash reference VALUE.
Add i18n specified by hash reference I18N.
Returns iterator for list named NAME or undef.
Returns inputs for list named NAME or undef.
Return sorts for list named NAME or undef.
Return filters for list named NAME or undef.
Return inputs for form named NAME or undef.
Returns iterator identified by NAME.
Sets iterator for NAME to ITER. ITER can be a iterator object like Template::Flute::Iterator or a reference to an array containing hash references.
Resolves iterator INPUT.
Returns element(s) of the specification tied to HTML class NAME or undef.
Returns element(s) of the specification tied to HTML attribute name or undef.
Returns element of the specification tied to HTML id NAME or undef.
Returns paging for list NAME.
Stefan Hornburg (Racke), <racke at linuxia.de>
<racke at linuxia.de>
Please report any bugs or feature requests to bug-template-flute at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Template-Flute.
bug-template-flute at rt.cpan.org
Copyright 2010-2013 Stefan Hornburg (Racke).
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Template::Flute, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Flute
CPAN shell
perl -MCPAN -e shell install Template::Flute
For more information on module installation, please visit the detailed CPAN module installation guide.