Slaven Rezić > WE_Framework-0.097_03 > WE_Frontend::Plugin::NullFilter

Download:
WE_Framework-0.097_03.tar.gz

Dependencies

Annotate this POD

Module Version: 1.01   Source  

NAME ^

WE_Frontend::Plugin::NullFilter - a sample custom filter

SYNOPSIS ^

    # In the calling script (normally already done by WebEditor::OldController)
    my $t = Template->new({PLUGIN_BASE => "WE_Frontend::Plugin"});

    # In the template
    [% USE NullFilter %]
    [% FILTER $NullFilter %]
    ...
    [% END %]
    [% variable | $NullFilter %]

DESCRIPTION ^

This filter does nothing, i.e. it copies the input unchanged to the output. This module serves as a sample filter for own extensions.

AUTHOR ^

Slaven Rezic - slaven@rezic.de

SEE ALSO ^

Template::Plugin::Filter.

syntax highlighting: