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 : 69
public getCount(ContentInfo $content[, string|null $languageCode = null ]) : int

Parameters

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

Return values

int

publicloadAllByContentForExport()

FormSubmissionServiceInterface.php : 56
public loadAllByContentForExport(ContentInfo $content[, string|null $languageCode = null ]) : array<int, array<int, array{id: int, identifier: string, name: string, value: mixed}>>

Parameters

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

Return values

array<int, array<int, array{id: int, identifier: string, name: string, value: mixed}>>

Tags
Throws
Exception
Throws
Exception

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

publicloadHeaders()

FormSubmissionServiceInterface.php : 61
public loadHeaders(ContentInfo $content[, string|null $languageCode = null ]) : array<string|int, string>

Parameters

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

Return values

array<string|int, string>