Skip to content
Corex

SubmissionFiles

Corex\Config\Submissions\SubmissionFiles · interface · Config layer

The files visitors uploaded with their submissions, as the site holds them. A submission stores the id of an attachment where a file was uploaded (spec 081). This is asked what that id is, so nothing that reads a submission reaches into how a file is kept.

uploaded(string $field, int $attachmentId): ?array

Section titled “uploaded(string $field, int $attachmentId): ?array”

The file uploaded through one field of a form.

address(int $submissionId, string $field): string

Section titled “address(int $submissionId, string $field): string”

The address at which a person allowed to read a submission opens the file of one answer.