Class SpazTemplate
SpazTemplate
Defined in: spaztemplate.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SpazTemplate designed for fast templating functions |
Method Attributes | Method Name and Description |
---|---|
addTemplateMethod(string, method)
|
|
parseArray(string, array)
|
|
parseTemplate(string, mixed)
|
Method Detail
addTemplateMethod(string, method)
- Parameters:
- string
- name the name to call the method with in parseTemplate
- method
- function the template methid. Should take one param for input data, returns string