class CRM_Event_Badge

This class print the name badges for the participants It isn't supposed to be called directly, but is the parent class of the classes in CRM/Event/Badges/XXX.php

Methods

__construct()

No description

setDebug(bool $debug = TRUE)

No description

run(array $participants)

Create the labels (pdf).

retrieveEvent(int $eventID)

No description

string
getImageFileName(int $eventID, bool $img = FALSE)

No description

printBackground(bool $img = FALSE)

No description

generateLabel(array $participant)

This is supposed to be overridden.

pdfExtraFormat()

No description

createLabels(array $participants)

Create labels (pdf).

Details

at line 48
__construct()

at line 66
setDebug(bool $debug = TRUE)

Parameters

bool $debug

at line 84
run(array $participants)

Create the labels (pdf).

It assumes the participants are from the same event

Parameters

array $participants

at line 99
protected CRM_Event_BAO_Event|null retrieveEvent(int $eventID)

Parameters

int $eventID

Return Value

CRM_Event_BAO_Event|null

at line 113
string getImageFileName(int $eventID, bool $img = FALSE)

Parameters

int $eventID
bool $img

Return Value

string

at line 146
printBackground(bool $img = FALSE)

Parameters

bool $img

at line 177
generateLabel(array $participant)

This is supposed to be overridden.

Parameters

array $participant

at line 185
pdfExtraFormat()

at line 193
createLabels(array $participants)

Create labels (pdf).

Parameters

array $participants