| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
public $border = 0;
/**
- * This function is called to create name label pdf
+ * This function is called to create name label pdf.
*
* @param array $participants
* Associated array with participant info.
}
/**
- * Funtion to create structure and add meta data according to layout
+ * Funtion to create structure and add meta data according to layout.
*
* @param array $row
* Row element that needs to be formatted.
$startOffset = CRM_Utils_Array::value('height_image_2', $formattedRow);
}
- if (CRM_Utils_Array::value('participant_image', $formattedRow)) {
+ if (!empty($formattedRow['participant_image'])) {
$imageAlign = 0;
switch (CRM_Utils_Array::value('alignment_participant_image', $formattedRow)) {
case 'R':
}
/**
- * Helper function to print images
+ * Helper function to print images.
*
* @param string $img
* Image url.
$eventBadgeClass = new CRM_Badge_BAO_Badge();
$eventBadgeClass->createLabels($rows, $layoutInfo);
}
+
}