Search

Page tree

Versions Compared

Key

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

...

Excerpt

Predefined properties for CatalogElement

Each CatalogElement has predefined properties. These methods are validated automated on constructor by the validateProperties() method.

IdentifierTypeDescription
namestringThe name of the catalog
textstringA short introduction text for the catalog
imageImageField (FieldInterface)An image for the catalog
patharrayThe path of the catalog (array of identifier)
urlstringThe internal URL of the catalog. This url should not be used for generating a link! Please use seoUrl instead
seoUrlstringThe human readable URL of the category
permanentUrlstring

The internal permanent URL

parentElementIdentifierstringThe unqique identifier of the parent catalog
identifierstringThe unqique identifier
dataMap
FieldInterface[]
A list of Field objects
cacheIdentifier
int|string
cache identifier of element to use as key in cache storage
Note

There are 4 public methods to set properties:

  • setImage, 
  • setName, 
  • setText, 
  • setCacheIdentifier

...