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


Template-Direct documentation  | view source Contained in the Template-Direct distribution.

Index


NAME

Top

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

DESCRIPTION

Top

  Provide support for loading other templates from the current template.

METHODS

Top

$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

Top

  Martin Owens - Copyright 2007, AGPL


Template-Direct documentation  | view source Contained in the Template-Direct distribution.