dmBridge PHP API
DMTemplate Class Reference

Encapsulates an HTML template file within a template set. More...

Inheritance diagram for DMTemplate:

Public Member Functions


Detailed Description

Encapsulates an HTML template file within a template set.

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 15 of file DMTemplate.php.


Constructor & Destructor Documentation

DMTemplate::__construct ( DMTemplateSet ts,
relative_pathname 
)
Parameters:
DMTemplateSetts
stringrelative_pathname The pathname of the template, relative to the root of the template set folder

Definition at line 29 of file DMTemplate.php.


Member Function Documentation

DMTemplate::getAbsolutePathname ( )
Returns:
string The absolute pathname of the template

Definition at line 37 of file DMTemplate.php.

DMTemplate::getRelativePathname ( )
Returns:
string The pathname of the template, relative to the root of the template set folder

Definition at line 52 of file DMTemplate.php.

DMTemplate::getTemplateSet ( )
Returns:
DMTemplateSet

Definition at line 68 of file DMTemplate.php.

Referenced by setRelativePathname().

DMTemplate::setAbsolutePathname ( pathname)
Parameters:
stringpathname

Definition at line 44 of file DMTemplate.php.

DMTemplate::setRelativePathname ( pathname)
Parameters:
stringpathname

Definition at line 59 of file DMTemplate.php.

Referenced by __construct().

DMTemplate::setTemplateSet ( DMTemplateSet ts)
Parameters:
DMTemplateSetts

Definition at line 75 of file DMTemplate.php.

Referenced by __construct().


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables