From 01d7cdd88aa557d1facb0a61dcbd68143f250417 Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Sat, 29 Jun 2013 04:23:53 +0530 Subject: [PATCH] notic fixes --- CRM/Core/BAO/LabelFormat.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/CRM/Core/BAO/LabelFormat.php b/CRM/Core/BAO/LabelFormat.php index 1830c2a81d..535ad47db9 100644 --- a/CRM/Core/BAO/LabelFormat.php +++ b/CRM/Core/BAO/LabelFormat.php @@ -161,8 +161,9 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * * @return array array of page orientations * @access public + * @static */ - function getPageOrientations() { + public static function getPageOrientations() { return array( 'portrait' => ts('Portrait'), 'landscape' => ts('Landscape'), @@ -176,8 +177,9 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * * @return array array of font names * @access public + * @static */ - function getFontNames() { + public static function getFontNames() { $label = new CRM_Utils_PDF_Label(self::getDefaultValues()); return $label->getFontNames(); } @@ -189,8 +191,9 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * * @return array array of font sizes * @access public + * @static */ - function getFontSizes() { + public static function getFontSizes() { return array( 6 => ts('6 pt'), 7 => ts('7 pt'), @@ -212,8 +215,9 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { * * @return array array of measurement units * @access public + * @static */ - function getUnits() { + public static function getUnits() { return array( 'in' => ts('Inches'), 'cm' => ts('Centimeters'), -- 2.25.1