DataSource
Corex\Config\Data\DataSource · interface · Config layer
A manageable data set behind the Corex → Data admin screen. Form submissions are the reference implementation; any Corex custom table (TableRepository) can implement this to appear in the same DataViews table with no new UI code (spec 030).
Public API
Section titled “Public API”key(): string
Section titled “key(): string”URL-safe key, e.g. submissions.
label(): string
Section titled “label(): string”Human label for the source switcher.
columns(): array
Section titled “columns(): array”rows(int $page, int $perPage): array
Section titled “rows(int $page, int $perPage): array”total(): int
Section titled “total(): int”Total record count (for pagination).
delete(int $id): bool
Section titled “delete(int $id): bool”Remove one record; false if not found or not permitted.