Skip to content
Corex

DataExportHistory

Corex\Config\DataModels\DataExportHistory · class · Config layer

What was exported from the Data screen before, and what became of each file (spec 109, FR-012 to FR-014). A person sees their own exports; one who may manage them all sees everybody’s. An export that is another person’s answers as if it were not there.

__construct(DataExportStore $exports, DataExportRetention $retention, ActivityService $activity, Closure $nameOf)

Section titled “__construct(DataExportStore $exports, DataExportRetention $retention, ActivityService $activity, Closure $nameOf)”

entries(int $actorId, bool $manageAll, int $limit): array

Section titled “entries(int $actorId, bool $manageAll, int $limit): array”

downloadable(int $actorId, bool $manageAll, int $runId): DataExportRun

Section titled “downloadable(int $actorId, bool $manageAll, int $runId): DataExportRun”

The run, when this person may download it and its file is there to download.

delete(int $actorId, bool $manageAll, int $runId): void

Section titled “delete(int $actorId, bool $manageAll, int $runId): void”

Removes an export’s file and keeps its entry, which then says who deleted it.