X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FPage%2FContributionPage.php;h=c958e280b70a3c5963389e596383e8c432b9b24b;hb=a134e6ac6ffa73e67bb7f8da277734b9bd546121;hp=ad21d501bf40f9d614a862ef2fbac14d0787305f;hpb=bd6d55934fb8cec290b612b6c2d3d028800744ad;p=civicrm-core.git diff --git a/CRM/Contribute/Page/ContributionPage.php b/CRM/Contribute/Page/ContributionPage.php index ad21d501bf..c958e280b7 100644 --- a/CRM/Contribute/Page/ContributionPage.php +++ b/CRM/Contribute/Page/ContributionPage.php @@ -1,9 +1,9 @@ run(); } + /** + * @param array $params + * @param bool $sortBy + * + * @return int|string + */ function whereClause(&$params, $sortBy = TRUE) { $values = $clauses = array(); $title = $this->get('title'); @@ -613,6 +620,10 @@ ORDER BY title asc return implode(' AND ', $clauses); } + /** + * @param $whereClause + * @param $whereParams + */ function pager($whereClause, $whereParams) { $params['status'] = ts('Contribution %%StatusMessage%%'); @@ -635,6 +646,10 @@ SELECT count(id) $this->assign_by_ref('pager', $this->_pager); } + /** + * @param $whereClause + * @param $whereParams + */ function pagerAtoZ($whereClause, $whereParams) { $query = " @@ -649,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();