Method | Description | Returns |
---|---|---|
getId() | int | |
getToken() | string | |
getCompleted() | DateTime | |
getCreated() | Date the record was created. | DateTime |
getModified() | Last modification date for the record. | DateTime |
getSite() | Site | |
getRevision() | FormRevision | |
getForm() | Form | |
getCreatedBy() | User | |
getModifiedBy() | User | |
getStepSubmissions() | Collection (StepSubmission) | |
getElementSubmissions() | Collection (ElementSubmission) | |
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 |
getRedirectData() | Gets array data for submitted elements to use it for GET redirection. It could be used for creating URL with submitted elements. Method does not check if redirecting for the form is allowed, it only provides required data. | array |
Forms\Models\Frontend\FormSubmission
FormSubmission