Martin Owens > Template-Direct > Template::Direct::SubPage

Download:
Template-Direct-1.16.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Template::Direct::SubPage - Handle a sub page load

DESCRIPTION ^

  Provide support for loading other templates from the current template.

METHODS ^

$class->new( $index, $line )

  Create a new instance object.

$object->compile( )

  Modifies a template with the data listed correctly.

$page->getContents( $data )

  Returns the compiled template by loading the file
  and passing the right scoped data to it.

$page->loadTemplate( )

  Load a Template object with the location of the sub page.

AUTHOR ^

  Martin Owens - Copyright 2007, AGPL
syntax highlighting: