class CRM_Event_Badge_NameTent extends CRM_Event_Badge

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)

No description

pdfExtraFormat()

No description

createLabels(array $participants)

Create labels (pdf).

writeOneSide($participant)

No description

Details

at line 43
__construct()

in CRM_Event_Badge at line 66
setDebug(bool $debug = TRUE)

Parameters

bool $debug

in CRM_Event_Badge at line 84
run(array $participants)

Create the labels (pdf).

It assumes the participants are from the same event

Parameters

array $participants

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

Parameters

int $eventID

Return Value

CRM_Event_BAO_Event|null

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

Parameters

int $eventID
bool $img

Return Value

string

in CRM_Event_Badge at line 146
printBackground(bool $img = FALSE)

Parameters

bool $img

at line 91
generateLabel(array $participant)

Parameters

array $participant

at line 69
pdfExtraFormat()

in CRM_Event_Badge at line 193
createLabels(array $participants)

Create labels (pdf).

Parameters

array $participants

at line 76
protected writeOneSide($participant)

Parameters

$participant