Frontend | Backend | Api

Common\Models\Frontend\InputType

InputType

Method Description Returns
getEntity() Get the entity specified for this input type. Returns null if no entity was specified, or the input type does not have record or records as category. string
getEntityParentId() Gets ID of parent for the entity specified for this input type. Returns null if the input type does not have record or records as category or if no parent was specified. string
getId() int
getName() string
getCategory() string
getEditor() string
getRegex() string
getMaxLength() int
getCreated() Get the date the record was created. DateTime
getModified() Get the last modification date for the record. DateTime
getDefaultContent() Content
getPossibleValues() Collection (InputTypePossibleValue)
getLayoutAreas() Collection (LayoutArea)
getCustomFields() Returns custom fields (not their values) that use this input type. Collection (CustomField)
getParameters() array
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