App::TemplateServer::Provider::Filesystem - role for templating systems that get templates from the filesystem (TT, Mason, etc.)


App-TemplateServer documentation  | view source Contained in the App-TemplateServer distribution.

Index


NAME

Top

App::TemplateServer::Provider::Filesystem - role for templating systems that get templates from the filesystem (TT, Mason, etc.)

METHODS

Top

list_templates

This method returns the template list by visiting each docroot (recursively), and returning a list of regular files. This is what most template systems will want to do.

ATTRIBUTES

Top

This role provides the following attributes:

docroot

This is an arrayref of directories where the templates that you are "providing" are located.

SEE ALSO

Top

App::TemplateServer::Provider


App-TemplateServer documentation  | view source Contained in the App-TemplateServer distribution.