Merge pull request #3874 from rohankatkar/CRM-15136
[civicrm-core.git] / CRM / Contribute / Page / ContributionPage.php
index 029f090315ed4adbe5779161065ffbb64cbdffc5..f0c2417699440eb482f58a492a82775537d73bb2 100644 (file)
@@ -554,6 +554,12 @@ ORDER BY title asc
     $form->run();
   }
 
+  /**
+   * @param $params
+   * @param bool $sortBy
+   *
+   * @return int|string
+   */
   function whereClause(&$params, $sortBy = TRUE) {
     $values    = $clauses = array();
     $title     = $this->get('title');
@@ -614,6 +620,10 @@ ORDER BY title asc
     return implode(' AND ', $clauses);
   }
 
+  /**
+   * @param $whereClause
+   * @param $whereParams
+   */
   function pager($whereClause, $whereParams) {
 
     $params['status'] = ts('Contribution %%StatusMessage%%');
@@ -636,6 +646,10 @@ SELECT count(id)
     $this->assign_by_ref('pager', $this->_pager);
   }
 
+  /**
+   * @param $whereClause
+   * @param $whereParams
+   */
   function pagerAtoZ($whereClause, $whereParams) {
 
     $query = "
@@ -650,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();