Description

Provides an interface for registering and inserting content into simple logic-less string templates. Used by several helpers to provide simple flexible templates for generating HTML and other content.

Properties

Methods

InheritedAbstractFinalStaticDatatypeHeader
boolbool removeKey(string name)
voidvoid load(string fileName)
voidvoid _compileTemplates(string[] templateNames)
voidvoid pop()
this(Json[string]this(Json[string] initData)
stringstring format(string key, Json[string] insertData)
voidvoid _compileAllTemplates()
boolbool initialize(Json[string] initData = null)
voidvoid set(string key, string newTemplate)
voidvoid push()
stringstring _formatAttribute(string key, Json attributeData, bool shouldEscape = true)
voidvoid compileTemplate(string templateName)
stringstring formatAttributes(Json[string] options, string[] excludedKeys)
this(stringthis(string newName, Json[string] initData = null)
stringstring get(string key)
this()this()
stringstring formatAttributes(Json[string] options, bool[string] excludedOptions = null)
string[]string[] addclassnameToList(string[] classnames, string newclassname)
stringstring _formatAttribute(string key, string value, bool shouldEscape = true)
string[]string[] addclassnameToList(string[] classnames, string[] newclassnames)
voidvoid set(string[string] newTemplates)