Frontend | Backend | Api

Products\Models\Backend\CategoryElement

CategoryElement

Method Description Returns
getId() int
getPosition() int
getCategory() Category
getProduct() Product
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool
getName() Get the name of the category string