ModelAdmin module
MenuElement
A model in the Admin module, with 22 members for templates, 19 API properties and 39 members for admin templates.
Templates view
Properties 22
Take no arguments.
-
#
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> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.
API & Jobs view
API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.
Properties 19
Read-only values on the record.
-
#
id -
?int -
#
position -
?int -
#
name -
?string -
#
identifier -
?string -
#
visible -
bool -
#
predefined -
bool -
#
icon -
?string -
#
moduleRoute -
?string -
#
controllerRoute -
?string -
#
parameters -
?array -
#
url -
?string -
#
authModule -
?string -
#
authModulePermission -
?string -
#
authEntity -
?string -
#
authEntityPermission -
?string -
#
authRequiredUserType -
?string -
#
parent -
?MenuElement -
#
children -
?Collection<MenuElement>
No members match the filter.
Admin view
AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.
Properties 39
Take no arguments.
-
#
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> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
-
#
getTranslatedName()Admin only -
string - Returns the translated name of the menu element, if a dot is contained in the menu element name
-
#
getFullPath()Admin only -
?string - Returns the full path of the menu element, using either the specified URL or generating a URL based on the provided route and parameters
-
#
getAvailableRequiredUserTypes()Admin only -
array - Provides the available user types to be selected for restricting a menu element to a specific user type
-
#
getParametersString()Admin only -
?string - Retrieves the parameters for the route as JSON encoded string
No members match the filter.