Theme SFO
Properties
Methods
| Method | Signature | Comments/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) | |
| attrFont | Font 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) | |
getAttribute | string getAttribute(string attributeName) | |
getAttributeI18N | string getAttributeI18N(string attributeName) | returns the attribute, translated into the customer's desired language. |
getAttributeI18NHtmlLang | string 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. |
getAuthor | string getAuthor() | |
getDir | string getDir() | the directory of the theme. If the same theme is installed multiple times, this will help differentiate them. |
getName | string getName() | |
getVersion | string getVersion() |
See Also
Was this page helpful?