Skip to main content
Reference

Theme SFO

Properties

Methods

MethodSignatureComments/Sample
attr (1)[SimpleAttributes](./simpleattributes-sfo.md) attr()
attr (2)string attr(string key)
attr (3)string attr(string key, string defaultValue)
attrDefinitionList[DefinitionList](./definitionlist-sfo.md) attrDefinitionList(key)
attrFontFont attrFont(key)If the attribute is not defined, this method will return an empty Font. It will never return null.
attrItemSet[Item](./item-sfo.md)[ ] attrItemSet(key)
attrSimpleList[SimpleList](./simplelist-sfo.md) attrSimpleList(key)
getAttributestring getAttribute(string attributeName)
getAttributeI18Nstring getAttributeI18N(string attributeName)returns the attribute, translated into the customer's desired language.
getAttributeI18NHtmlLangstring getAttributeI18NHtmlLang(string attributeName)returns the HTML lang attribute to be usd on the surround DOM element to tell search engines about how the content was translated.
getAuthorstring getAuthor()
getDirstring getDir()the directory of the theme. If the same theme is installed multiple times, this will help differentiate them.
getNamestring getName()
getVersionstring getVersion()

See Also

Was this page helpful?