Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Method

Signature

Comments/Sample

attr (1)

SimpleAttributes attr()

returns all attributes configured for the site

attr (2)

string attr(string key)

 

attr (3)

string attr(string key, String defaultValue)

 

attrDefinitionList

DefinitionList attrDefinitionList(string key)

 

attrSimpleList

SimpleList attrSimpleList(string 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.

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()

 

...