Method | Description | Returns |
---|---|---|
isActiveRevision() | Check if the revision is the active revision | bool |
getSuccessRedirectTarget() | Gets success redirect target from settings | string |
getSuccessRedirectMethod() | Gets success redirect method from settings: get, post, put | string |
hasRequireCompletedCaptcha() | Returns if completed captcha (when such input exists) is required to save the submission. If there is a captcha input among submitted steps, every of such has to be completed. Otherwise, the form submission will not be saved. The setting is not used when there is no captcha input. | bool |
getId() | int | |
getType() | string | |
getCreated() | Date the record was created. | DateTime |
getModified() | Last modification date for the record. | DateTime |
getForm() | Form | |
getLayout() | Layout | |
getCreatedBy() | User | |
getModifiedBy() | User | |
getSteps() | Collection (Step) | |
getElements() | Collection (BaseElement) | |
getSettings() | 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 |
Forms\Models\Backend\FormRevision
FormRevision