g
Frontend | Backend | Api

Menus\Models\Api\Element

Element

Property Description Returns
id int
name string
type string
url string
controllerName string
controller string
moduleRoute string
controllerRoute string
responseVariable string
includeChildren bool
displayProperty string
position int
entity string
recordId int
created DateTime
modified DateTime
parent Element
children Collection (Element)
menu Menu
controllerParameters Collection (ControllerParameter)
site Site
published Date at which the page was published DateTime
published Determines if the record is published. bool
customFieldValues Collection (ElementCustomFieldValue)
customFieldContent Get a serialized representation of the custom fields associated with the record object
customFields Get the custom fields for this entity array