Method | Description | Returns |
---|---|---|
__toString() | Get a string representation of the element => render the output html | string |
getType() | Returns the type of the current element. | string |
getChildren() | Collection | |
getEntity() | string | |
getId() | int | |
getName() | Gets element name. It could be used in html to identify input, e.g. ' '. | string |
getHelp() | Gets help text for the element. It could be used as a tooltip or in HTML as a title attribute, e.g. ' '. | string |
getEditor() | string | |
getText() | Text for the element that usually is used for element's label | string |
getDefaultValue() | string | |
getPlaceholder() | string | |
isRequired() | bool | |
getRegex() | string | |
getPosition() | int | |
getSettings() | array | |
getRevision() | FormRevision | |
getStep() | Step | |
getParent() | ElementGroup | |
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 |
getHtml() | Renders static element. Block tag: div.element-block.static-element-block Text: div.element-text | string |
Forms\Models\Frontend\StaticRichtext
Entity for RichText elements.