- LICENSE AND COPYRIGHT
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.
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 of the specification tied to HTML class 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>
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.
Copyright 2010-2011 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.