class ActivityExecutionDto

Methods

__construct(string $pid, ActivityDto $activity, string $eventTimeslotPid, string $startTime, string $endTime, int $spotsTaken, int|null $spotsAvailable, ActivityAssignmentDto|null $lead, array $helpers, string $createdAt, string $updatedAt)

No description

fromEntity(ActivityExecution $at, int $spotsTaken, int|null $spotsAvailable, bool $canViewOrganisatoryInfo = false)

No description

static array
fromEntities(iterable $items, array $spotsByPid, bool $canViewOrganisatoryInfo = false)

No description

Details

at line 17
__construct(string $pid, ActivityDto $activity, string $eventTimeslotPid, string $startTime, string $endTime, int $spotsTaken, int|null $spotsAvailable, ActivityAssignmentDto|null $lead, array $helpers, string $createdAt, string $updatedAt)

No description

Parameters

string $pid
ActivityDto $activity
string $eventTimeslotPid
string $startTime
string $endTime
int $spotsTaken
int|null $spotsAvailable
ActivityAssignmentDto|null $lead
array $helpers
string $createdAt
string $updatedAt

at line 32
static ActivityExecutionDto fromEntity(ActivityExecution $at, int $spotsTaken, int|null $spotsAvailable, bool $canViewOrganisatoryInfo = false)

No description

Parameters

ActivityExecution $at
int $spotsTaken
int|null $spotsAvailable
bool $canViewOrganisatoryInfo

Return Value

ActivityExecutionDto

at line 65
static array fromEntities(iterable $items, array $spotsByPid, bool $canViewOrganisatoryInfo = false)

No description

Parameters

iterable $items
array $spotsByPid
bool $canViewOrganisatoryInfo

Return Value

array