Class P4A_Template_Engine

Description

The template engine for P4A.

This class manages the template engine that P4A uses to render some widgets.

Located in /p4a/p4a_template_engine.php (line 46)


	
			
Method Summary
 void getAsString (object The &$object, string $file_relative_path)
 void &singleton ()
Methods
getAsString (line 73)

Renders a template and returns the HTML.

  • access: public
void getAsString (object The &$object, string $file_relative_path)
  • object The &$object: object that contain all the variables that the template should display.
  • string $file_relative_path: The path (with filename and extension) of the template (relative to P4A_THEME_DIR)
singleton (line 52)

Retrieve a singleton instance of the P4A template engine.

  • access: public
void &singleton ()

Documentation generated on Fri, 26 May 2006 12:43:31 +0200 by phpDocumentor 1.3.0RC5