NAME

Template::Flute::List - List object for Template::Flute templates.

CONSTRUCTOR

new

Creates Template::Flute::List object.

METHODS

params_add PARAMS

Add parameters from PARAMS to list.

separators_add SEPARATORS

Add separators from SEPARATORS to list:

inputs_add INPUTS

Add inputs from INPUTS to list.

increments_add INCREMENTS

Add increments from INCREMENTS to list.

filters_add FILTERS

Add filters from FILTERS to list.

sorts_add SORT

Add sort from SORT to list.

paging_add PAGING

Add paging from PAGING to list.

name

Returns name of the list.

iterator [ARG]

Returns list iterator object when called without ARG. Returns list iterator name when called with ARG 'name'.

set_iterator ITERATOR

Sets list iterator object to ITERATOR.

set_static_class CLASS

Set static class for list to CLASS.

static_class ROW_POS

Apply static class for ROW_POS.

elt

Returns corresponding HTML template element of the list.

params

Returns list parameters.

separators

Return list separators.

input PARAMS

Verifies that input parameters are sufficient. Returns 1 in case of success, 0 otherwise.

set_limit TYPE LIMIT

Set list limit for type TYPE to LIMIT.

set_filter NAME

Set global filter for list to NAME.

filter FLUTE ROW

Run row filter on ROW if applicable.

increment

Increment all increments of the list.

AUTHOR

Stefan Hornburg (Racke), <racke@linuxia.de>

LICENSE AND COPYRIGHT

Copyright 2010-2021 Stefan Hornburg (Racke) <racke@linuxia.de>.

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.