ModelCustomEntities module
Definition
A model in the CustomEntities module, with 28 members for templates, 25 API properties and 38 members for admin templates.
Templates view
Properties 28
Take no arguments.
-
#
getListingUrl() -
string - Get the url for listing the records. Returns an empty string if the custom entity is not UrlAddressable, or if no listing path is defined. Otherwise, just returns the path for listing records in the current site.
-
#
getId() -
?int -
#
getName() -
?string -
#
getIcon() -
?string -
#
getIdentifier() -
?string -
#
getPath() -
?string -
#
getRecordPath() -
?string -
#
getTemplate() -
?string -
#
isSited() -
bool -
#
isUrlAddressable() -
bool -
#
isSeoSettingsEnabled() -
bool -
#
isPublishable() -
bool -
#
isPositioned() -
bool -
#
isCategorizable() -
bool -
#
isTaggable() -
bool -
#
getParent() -
?Definition -
#
getChildren() -
?Collection<Definition> -
#
getSeoSettings() -
?SeoSettings -
#
getRecords() -
?Collection<Record> -
#
getRelationshipDefinitions() -
?Collection<RelationshipDefinition> -
#
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 25
Read-only values on the record.
-
#
listingUrl -
string - Get the url for listing the records. Returns an empty string if the custom entity is not UrlAddressable, or if no listing path is defined. Otherwise, just returns the path for listing records in the current site.
-
#
id -
?int -
#
name -
?string -
#
icon -
?string -
#
identifier -
?string -
#
path -
?string -
#
recordPath -
?string -
#
template -
?string -
#
sited -
bool -
#
urlAddressable -
bool -
#
seoSettingsEnabled -
bool -
#
publishable -
bool -
#
positioned -
bool -
#
categorizable -
bool -
#
taggable -
bool -
#
parent -
?Definition -
#
children -
?Collection<Definition> -
#
seoSettings -
?SeoSettings -
#
records -
?Collection<Record> -
#
relationshipDefinitions -
?Collection<RelationshipDefinition>
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 38
Take no arguments.
-
#
getListingUrl() -
string - Get the url for listing the records. Returns an empty string if the custom entity is not UrlAddressable, or if no listing path is defined. Otherwise, just returns the path for listing records in the current site.
-
#
getId() -
?int -
#
getName() -
?string -
#
getIcon() -
?string -
#
getIdentifier() -
?string -
#
getPath() -
?string -
#
getRecordPath() -
?string -
#
getTemplate() -
?string -
#
isSited() -
bool -
#
isUrlAddressable() -
bool -
#
isSeoSettingsEnabled() -
bool -
#
isPublishable() -
bool -
#
isPositioned() -
bool -
#
isCategorizable() -
bool -
#
isTaggable() -
bool -
#
getParent() -
?Definition -
#
getChildren() -
?Collection<Definition> -
#
getSeoSettings() -
?SeoSettings -
#
getRecords() -
?Collection<Record> -
#
getRelationshipDefinitions() -
?Collection<RelationshipDefinition> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
-
#
getSupportedChildDefinitionIds()Admin only -
array - Get all child definition ids supported by this definition
No members match the filter.