Frontend | Backend | Api

Admin\Models\Frontend\MenuElement

MenuElement

Method Description Returns
getId() int
getPosition() int
getName() string
getIdentifier() string
isVisible() bool
isPredefined() bool
getIcon() string
getModuleRoute() string
getControllerRoute() string
getParameters() array
getUrl() string
getAuthModule() string
getAuthModulePermission() string
getAuthEntity() string
getAuthEntityPermission() string
getAuthRequiredUserType() string
getParent() MenuElement
getChildren() Collection (MenuElement)
getFullPosition() Get the full, dot-separated full position for hierarchical records string
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