Zimlet JavaScript API Reference - AjxTemplate

Class AjxTemplate


This class contains utility functions for using templates.

Defined in: AjxTemplate.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Default constructor.
Method Summary
Method Attributes Method Name and Description
<static>  
AjxTemplate.expand(name, data, buffer)
Expands the template.
<static>  
AjxTemplate.setBasePath(basePath)
Sets the base path.
<static>  
AjxTemplate.setExtension(extension)
Sets the extension.
Class Detail
AjxTemplate()
Default constructor.
Author: Andy Clark.
Method Detail
<static> {string} AjxTemplate.expand(name, data, buffer)
Expands the template.
Parameters:
{string} name
the template name
{array} data Optional
the template date
{array} buffer Optional
the buffer to use for template content
Returns:
{string} the template content

<static> AjxTemplate.setBasePath(basePath)
Sets the base path.
Parameters:
{string} basePath
the base path

<static> AjxTemplate.setExtension(extension)
Sets the extension.
Parameters:
{string} extension
the extension

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:25 GMT-0400 (EDT)