Class TemplateExecuter

Description

A TemplateExecuter takes a template name, and a page's PageParts and executes (displays) them

Located in /core/TemplateExecuter.class.inc (line 17)


	
			
Variable Summary
Method Summary
TemplateExecuter TemplateExecuter (Context $_context, string $_templateName, array $_pageParts)
void execute ()
void executeControl (string $name)
void executePagePart (string $type, int $index)
Variables
mixed $pageParts (line 20)
  • access: public
mixed $templateName (line 19)
  • access: public
Methods
Constructor TemplateExecuter (line 31)

TemplateExecuter Constructor. DOES NOT EXECUTE THE TEMPLATE!!!

  • access: public
TemplateExecuter TemplateExecuter (Context $_context, string $_templateName, array $_pageParts)
  • array $_pageParts: an array of PagePart objects to use
  • Context $_context: @_context the current Context
  • string $_templateName: @_templateName The name of the template to execute
execute (line 84)

execute (displays) the template

  • access: public
void execute ()
executeControl (line 72)

execute (display) a named control

  • access: public
void executeControl (string $name)
  • string $name: the name of the control to execute
executePagePart (line 45)

find a pagepart with the matching name, and execute it. This function is called by the template

  • access: public
void executePagePart (string $type, int $index)
  • string $type: the type of the page part
  • int $index: a unique integer for this page part to execute

Documentation generated on Tue, 4 Oct 2005 21:59:32 -0700 by phpDocumentor 1.3.0RC3