projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af6ff98
)
[REF][PHP8.2] Declare properties in CRM_Utils_PDF_Label
author
Bradley Taylor
<hello@brad-taylor.co.uk>
Wed, 8 Nov 2023 20:43:16 +0000
(20:43 +0000)
committer
Bradley Taylor
<hello@brad-taylor.co.uk>
Wed, 8 Nov 2023 20:43:16 +0000
(20:43 +0000)
CRM/Utils/PDF/Label.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/PDF/Label.php
b/CRM/Utils/PDF/Label.php
index c0b5d02b97eee1130d432293db36b0cee653a106..9e52dcf1db2c05f2ad36ca64f8525f4544db9bd9 100644
(file)
--- a/
CRM/Utils/PDF/Label.php
+++ b/
CRM/Utils/PDF/Label.php
@@
-140,6
+140,20
@@
class CRM_Utils_PDF_Label extends TCPDF {
*/
public $countY = 0;
+ /**
+ * Custom method for generating label, called against $this->generatorObject
+ *
+ * @var string|null
+ */
+ protected $generatorMethod = NULL;
+
+ /**
+ * Custom object used for generating label, used alongside $this->generatorMethod
+ *
+ * @var object
+ */
+ protected $generatorObject;
+
/**
* Constructor.
*