CRM_Badge_BAO_Badge
class CRM_Badge_BAO_Badge
Class CRM_Badge_Format_Badge.
parent class for building name badges
Properties
bool | $debug | ||
int | $border |
Methods
createLabels(array $participants, array $layoutInfo)
This function is called to create name label pdf.
static array
formatLabel(array $row, array $layout)
Function to create structure and add meta data according to layout.
generateLabel($formattedRow)
No description
labelCreator($formattedRow, int $cellspacing = 0)
No description
printImage(string $img, string $x = '', string $y = '', null $w = NULL, null $h = NULL)
Helper function to print images.
static array
getImageProperties($img, int $imgRes = 300, null $w = NULL, null $h = NULL)
No description
static
buildBadges(array $params, CRM_Core_Form $form)
Build badges parameters before actually creating badges.
Details
at line 57
createLabels(array $participants, array $layoutInfo)
This function is called to create name label pdf.
at line 90
static array
formatLabel(array $row, array $layout)
Function to create structure and add meta data according to layout.
at line 165
generateLabel($formattedRow)
at line 183
labelCreator($formattedRow, int $cellspacing = 0)
at line 371
printImage(string $img, string $x = '', string $y = '', null $w = NULL, null $h = NULL)
Helper function to print images.
at line 398
static array
getImageProperties($img, int $imgRes = 300, null $w = NULL, null $h = NULL)
at line 413
static
buildBadges(array $params, CRM_Core_Form $form)
Build badges parameters before actually creating badges.