X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FPage%2FContributionPage.php;h=d432da34a8be4d31605f90648904cd78e2560a77;hb=1633df8c26f4f5f0d52eb3fa3a0a72aaa4f29bc7;hp=dd04b55cce4a9cb6947ddc225c5163f26b9f7199;hpb=ad314df7cc28a13a58caee38ccf30750572c5f11;p=civicrm-core.git diff --git a/CRM/Contribute/Page/ContributionPage.php b/CRM/Contribute/Page/ContributionPage.php index dd04b55cce..d432da34a8 100644 --- a/CRM/Contribute/Page/ContributionPage.php +++ b/CRM/Contribute/Page/ContributionPage.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -71,7 +71,7 @@ class CRM_Contribute_Page_ContributionPage extends CRM_Core_Page { * * @return array */ - function &actionLinks() { + public function &actionLinks() { // check if variable _actionsLinks is populated if (!isset(self::$_actionLinks)) { // helper variable for nicer formatting @@ -294,7 +294,7 @@ class CRM_Contribute_Page_ContributionPage extends CRM_Core_Page { 'url' => CRM_Utils_System::url(CRM_Utils_System::currentPath(), 'reset=1' ), - ) + ), ); // what action to take ? @@ -624,7 +624,7 @@ ORDER BY title asc * * @return int[] */ - function getCampaignIds() { + public function getCampaignIds() { // The unfiltered value from the session cannot be trusted, it needs to be // processed to get a clean array of positive integers. $ids = array(); @@ -640,7 +640,7 @@ ORDER BY title asc * @param $whereClause * @param array $whereParams */ - function pager($whereClause, $whereParams) { + public function pager($whereClause, $whereParams) { $params['status'] = ts('Contribution %%StatusMessage%%'); $params['csvString'] = NULL; @@ -705,4 +705,5 @@ ORDER BY LEFT(title, 1) return $formattedConfLinks; } + }