NAME
Template::Plugin::Resources - Resources plugin for Template Toolkit
SYNOPSIS
Usage in Template:
[% USE Resources %]
[% Resources.list() %]
DESCRIPTION
Provides helper functions for FileWiki RESOURCES.
METHODS
list
Returns a sorted / filtered list of resources.
Arguments:
- type: filter type portion from MIME_TYPE ("type/subtype")
- sort: sort order of subtype (second part of MIME_TYPE)
- base: hashref containing RESOURCE hash (defaults to $page)
AUTHOR
Axel Burri <axel@tty0.ch>
COPYRIGHT AND LICENSE
Copyright (c) 2011-2019 Axel Burri. All rights reserved.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
SEE ALSO
Template Toolkit Plugin Documentation:
http://www.template-toolkit.org/docs/modules/Template/Plugin.html