.

ITemplateEngine Interface Reference
[Interfaces]

A template rendering class. More...

Inheritance diagram for ITemplateEngine:
TemplateEngineSimple

List of all members.

Public Member Functions

  assign ($name, $value)
  Set a template variable.
  assign_array ($arr)
  Assign array of template variables.
  fetch ($file)
  Renders content.
  retrieve ($name)

Detailed Description

A template rendering class.

Author:
Gerd Riesselmann

Definition at line 8 of file itemplateengine.cls.php.


Member Function Documentation

ITemplateEngine::assign ( name,
value  
)

Set a template variable.

Parameters:
string  $name
mixed  $value

Implemented in TemplateEngineSimple.

ITemplateEngine::assign_array ( arr  ) 

Assign array of template variables.

Parameters:
array  $arr Associative array with name as key and value as value

Implemented in TemplateEngineSimple.

ITemplateEngine::fetch ( file  ) 

Renders content.

Parameters:
string  $file Tempalte file name
Returns:
string Rendered content

Implemented in TemplateEngineSimple.

ITemplateEngine::retrieve ( name  ) 

Implemented in TemplateEngineSimple.


The documentation for this interface was generated from the following file: