1Template::Plugin::View(U3s)er Contributed Perl DocumentatTieomnplate::Plugin::View(3)
2
3
4

NAME

6       Template::Plugin::View - Plugin to create views (Template::View)
7

SYNOPSIS

9           [% USE view(
10                   prefix = 'splash/'          # template prefix/suffix
11                   suffix = '.tt2'
12                   bgcol  = '#ffffff'          # and any other variables you
13                   style  = 'Fancy HTML'       # care to define as view metadata,
14                   items  = [ foo, bar.baz ]   # including complex data and
15                   foo    = bar ? baz : x.y.z  # expressions
16           %]
17
18           [% view.title %]                    # access view metadata
19
20           [% view.header(title = 'Foo!') %]   # view "methods" process blocks or
21           [% view.footer %]                   # templates with prefix/suffix added
22

DESCRIPTION

24       This plugin module creates Template::View objects.  Views are an exper‐
25       imental feature and are subject to change in the near future.  In the
26       mean time, please consult Template::View for further info.
27

AUTHOR

29       Andy Wardley <abw@wardley.org>
30
31       <http://wardley.org/http://wardley.org/>
32

VERSION

34       2.68, distributed as part of the Template Toolkit version 2.18,
35       released on 09 February 2007.
36
38         Copyright (C) 1996-2007 Andy Wardley.  All Rights Reserved.
39
40       This module is free software; you can redistribute it and/or modify it
41       under the same terms as Perl itself.
42

SEE ALSO

44       Template::Plugin, Template::View
45
46
47
48perl v5.8.8                       2007-02-09         Template::Plugin::View(3)
Impressum