Copied!

FormSubmissionServiceInterface

FormSubmissionServiceInterface.php : 16

Methods

publiccreate()

FormSubmissionServiceInterface.php : 24
public create(ContentInfo $content, string $languageCode, Form $form, array<string|int, mixed> $data) : FormSubmission

Parameters

Name Type Default value Description
$content ContentInfo - -
$languageCode string - -
$form Form - -
$data array<string|int, mixed> - -

Return values

FormSubmission

Tags
Throws
NotFoundException
Throws
FormFieldNotFoundException

publicdelete()

FormSubmissionServiceInterface.php : 29
public delete(FormSubmission $submission) : void

Parameters

Name Type Default value Description
$submission FormSubmission - -

publicgetCount()

FormSubmissionServiceInterface.php : 56
public getCount(ContentInfo $content[, string|null $languageCode = null ]) : int

Parameters

Name Type Default value Description
$content ContentInfo - -
$languageCode string|null null -

Return values

int

publicloadByContent()

FormSubmissionServiceInterface.php : 48
public loadByContent(ContentInfo $content[, string|null $languageCode = null ][, int $offset = 0 ][, int $limit = 25 ]) : FormSubmissionList

Parameters

Name Type Default value Description
$content ContentInfo - -
$languageCode string|null null -
$offset int 0 -
$limit int 25 -

Return values

FormSubmissionList

publicloadById()

FormSubmissionServiceInterface.php : 38
public loadById(int $id) : FormSubmission

Parameters

Name Type Default value Description
$id int - -

Return values

FormSubmission

Tags
Throws
NotFoundException