NAME

Slash::Display::Provider - Template Toolkit provider for Slash


SYNOPSIS

        use Slash::Display::Provider;
        my $template = Template->new(
                LOAD_TEMPLATES  => [ Slash::Display::Provider->new ]
        );


DESCRIPTION

This here module provides templates to a Template Toolkit processor by way of the Slash API (which basically means that it grabs templates from the blocks table in the database). It caches them, too. It also can process templates passed in as text, like the base Provider module, but this one will create a unique name for the ``anonymous'' template so it can be cached. Overriden methods include fetch, _load, and _refresh.


SEE ALSO

Template(3), Template::Provider(3), Slash(3), Slash::Utility(3), Slash::Display(3).