/**
* Function to retrieve Paper Size dimensions
*/
- function paperSize() {
+ static function paperSize() {
$paperSizeName = CRM_Utils_Type::escape($_REQUEST['paperSizeName'], 'String');
$paperSize = CRM_Core_BAO_PaperSize::getByName($paperSizeName);
/**
* This function update contribution as well as related objects.
*/
- function transitionComponents($params, $processContributionObject = FALSE) {
+ static function transitionComponents($params, $processContributionObject = FALSE) {
// get minimum required values.
$contactId = CRM_Utils_Array::value('contact_id', $params);
$componentId = CRM_Utils_Array::value('component_id', $params);
* @return array $ids containing organization id and individual id
* @access public
*/
- function getOnbehalfIds($contributionId, $contributorId = NULL) {
+ static function getOnbehalfIds($contributionId, $contributorId = NULL) {
$ids = array();