Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

XMLTemplate Class Reference
[Template System]

Inheritance diagram for XMLTemplate:

BaseTemplate List of all members.

Detailed Description

XML based template.

Easily create xml based outputs. It will send the header, and print the appropriate header/footer for xml data. It also wraps errors and status messages in xml.

Definition at line 10 of file xml-template.inc.php.

Public Member Functions

 drawPage ()
 This function draws the content area of the page.
 drawError ()
 This draws all the errors that the page init generated.
 drawStatus ()
 This draws all the status messages that the page init generated.


Member Function Documentation

XMLTemplate::drawError  ) 
 

This draws all the errors that the page init generated.

they are all wrapped in a

with class pf 'baseError' and an id of 'error-$key' where key is the key in the error array.

Reimplemented from BaseTemplate.

Definition at line 35 of file xml-template.inc.php.

Referenced by drawPage().

XMLTemplate::drawPage  ) 
 

This function draws the content area of the page.

Reimplemented from BaseTemplate.

Definition at line 15 of file xml-template.inc.php.

References BaseTemplate::drawContent(), drawError(), and drawStatus().

XMLTemplate::drawStatus  ) 
 

This draws all the status messages that the page init generated.

they are all wrapped in a

with class pf 'baseStatus' and an id of 'status-$key' where key is the key in the status array.

Reimplemented from BaseTemplate.

Definition at line 40 of file xml-template.inc.php.

Referenced by drawPage().


The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:42 2006 for BaseJumper by doxygen 1.3.9.1