Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
01d7cdd8
Commit
01d7cdd8
authored
11 years ago
by
Kurund Jalmi
Browse files
Options
Downloads
Patches
Plain Diff
notic fixes
parent
50998125
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Core/BAO/LabelFormat.php
+8
-4
8 additions, 4 deletions
CRM/Core/BAO/LabelFormat.php
with
8 additions
and
4 deletions
CRM/Core/BAO/LabelFormat.php
+
8
−
4
View file @
01d7cdd8
...
...
@@ -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'
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment