ModelCommon module
LayoutArea
A model in the Common module, with 26 members for templates, 23 API properties and 30 members for admin templates.
Templates view
Properties 26
Take no arguments.
-
#
getId() -
?int -
#
getName() -
?string -
#
getLabel() -
?string -
#
getHelp() -
?string -
#
getInfo() -
?string -
#
isRequired() -
bool -
#
getMin() -
?int -
#
getMax() -
?int -
#
isHidden() -
bool -
#
getHidden() -
?DateTime -
#
getPosition() -
?int -
#
getSupportedLayouts() -
?Collection<Layout> -
#
isAttribute() -
bool -
#
getParent() -
?LayoutArea -
#
getChildren() -
Collection<LayoutArea> -
#
getGroup() -
?LayoutAreaGroup -
#
getSearchMasterIndexField() -
?MasterIndexField -
#
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 23
Read-only values on the record.
-
#
id -
?int -
#
name -
?string -
#
label -
?string -
#
help -
?string -
#
info -
?string -
#
required -
bool -
#
min -
?int -
#
max -
?int -
#
position -
?int -
#
supportedLayouts -
?Collection<Layout> -
#
attribute -
bool -
#
parent -
?LayoutArea -
#
children -
Collection<LayoutArea> -
#
group -
?LayoutAreaGroup -
#
searchMasterIndexField -
?MasterIndexField
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 30
Take no arguments.
-
#
getId() -
?int -
#
getName() -
?string -
#
getLabel() -
?string -
#
getHelp() -
?string -
#
getInfo() -
?string -
#
isRequired() -
bool -
#
getMin() -
?int -
#
getMax() -
?int -
#
isHidden() -
bool -
#
getHidden() -
?DateTime -
#
getPosition() -
?int -
#
getSupportedLayouts() -
?Collection<Layout> -
#
isAttribute() -
bool -
#
getParent() -
?LayoutArea -
#
getChildren() -
Collection<LayoutArea> -
#
getGroup() -
?LayoutAreaGroup -
#
getSearchMasterIndexField() -
?MasterIndexField -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
-
#
getGlobalComponents()Admin only -
Collection - Retrieves the global components that can be used or copied
-
#
hasAttributes()Admin only -
bool - Checks whether the layout area has attributes (visible, not hidden)
-
#
getAvailableParents()Admin only -
Collection - Retrieves the available parents for a layout area to be defined as attachment
No members match the filter.