Template::Direct::Page - Handle an entire page as an object
Provide over all support for a page object
Create a new Page object with specified template content.
Returns 'page'
Returns true
Returns all expected page tags: [ if, list, page ]
Page tags have no parent tags, returns undef.
Page tags have no tag depth being root, returns 0.
Page tags have no class depth being root, returns 0.
Page tags have no class parent tags, returns undef.
Returns the template correctly processed with the data
Returns 1 if the template has been compiled into It's tag marked form, this pairs up with the children structure to compile the template with a data set.
Take any kind of structure and mark it out with unique id's, returns a structure of objects that relate to the first layer of items.
Martin Owens - Copyright 2007, AGPL
To install Template::Direct, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Direct
CPAN shell
perl -MCPAN -e shell install Template::Direct
For more information on module installation, please visit the detailed CPAN module installation guide.