Site SFO
Properties
Methods
| Method | Signature | Comments/Sample |
|---|---|---|
attr (1) | [SimpleAttributes](./simpleattributes-sfo.md) attr() | returns all attributes configured for the site |
attr (2) | string attr(string key) | |
attr (3) | string attr(string key, String defaultValue) | |
attrDefinitionList | [DefinitionList](./definitionlist-sfo.md) attrDefinitionList(string key) | |
attrSimpleList | [SimpleList](./simplelist-sfo.md) attrSimpleList(string 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. |
getFileUrl | string getFileUrl(string filePath) | returns a full url to a relative file path |
getName() | string getName() | |
getStyle | string getStyle(string filePath) | returns the contents of a css file relative to the storefront root. |
isSupportCustomerProfiles | boolean isSupportCustomerProfiles() |
See Also
Was this page helpful?