X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FPage%2FContributionPage.php;h=f0c2417699440eb482f58a492a82775537d73bb2;hb=f2f97c7f87f47bb50da208219a7c6e8ccf47bd69;hp=67d50e8f97a629e6e818d5f19cd850613dc9424e;hpb=504e40d849d89dffb3d851e49cbb92c4d7b70795;p=civicrm-core.git diff --git a/CRM/Contribute/Page/ContributionPage.php b/CRM/Contribute/Page/ContributionPage.php index 67d50e8f97..f0c2417699 100644 --- a/CRM/Contribute/Page/ContributionPage.php +++ b/CRM/Contribute/Page/ContributionPage.php @@ -1,9 +1,9 @@ run(); } + /** + * @param $params + * @param bool $sortBy + * + * @return int|string + */ function whereClause(&$params, $sortBy = TRUE) { $values = $clauses = array(); $title = $this->get('title'); @@ -612,6 +620,10 @@ ORDER BY title asc return implode(' AND ', $clauses); } + /** + * @param $whereClause + * @param $whereParams + */ function pager($whereClause, $whereParams) { $params['status'] = ts('Contribution %%StatusMessage%%'); @@ -634,6 +646,10 @@ SELECT count(id) $this->assign_by_ref('pager', $this->_pager); } + /** + * @param $whereClause + * @param $whereParams + */ function pagerAtoZ($whereClause, $whereParams) { $query = " @@ -648,6 +664,11 @@ SELECT count(id) $this->assign('aToZ', $aToZBar); } + /** + * @param $sectionsInfo + * + * @return array + */ function formatConfigureLinks($sectionsInfo) { //build the formatted configure links. $formattedConfLinks = self::configureActionLinks();