TemplumTemplateError Class Reference

TemplumTemplate errors. More...

List of all members.

Public Member Functions

 TemplumTemplateError ($message, $code=0, $template=NULL)
 Create a new TemplumTemplateError instance.
 getTemplate ()
 Return the TemplumTemplate instance that contains the error.

Protected Attributes

 $template = NULL


Detailed Description

TemplumTemplate errors.

This exception is thrown by the TemplumTemplate class when errors occur during the execution of templates. PHP errors, warnings and notices that occur during the template execution are captured by the TemplumTemplate class and are thrown as TemplumTemplateError exceptions.


Member Function Documentation

TemplumTemplateError::TemplumTemplateError ( message,
code = 0,
template = NULL 
)

Create a new TemplumTemplateError instance.

Parameters:
$message (string) The error message.
$code (int) The error code
$template (TemplumTemplate) The template containing the error.

TemplumTemplateError::getTemplate (  ) 

Return the TemplumTemplate instance that contains the error.

Returns:
(TemplumTemplate) The template containing the error or NULL if not available.


Member Data Documentation

TemplumTemplateError::$template = NULL [protected]

The TemplumTemplate instance causing the error.


The documentation for this class was generated from the following file:
Generated on Mon Oct 19 23:15:19 2009 for Templum by  doxygen 1.5.1