<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright (C) 2011 Marty Wright |
| Licensed to CiviCRM under the Academic Free License version 3.0. |
* @return array array of page orientations
* @access public
*/
- function getPageOrientations() {
+ public static function getPageOrientations() {
return array(
'portrait' => ts('Portrait'),
'landscape' => ts('Landscape'),
* @return array array of measurement units
* @access public
*/
- function getUnits() {
+ public static function getUnits() {
return array(
'in' => ts('Inches'),
'cm' => ts('Centimeters'),