X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FUtils%2FGet.php;h=fe0b9507c2da0d53cfbb41687d965f8ab66bb111;hb=96025800fa500fbbd71288fa1b0bc459f17c5bcc;hp=cad6f333e7563cf5abb489d508ef9a2e96a76b2d;hpb=24f8127938dec80960d388e50fd5b89aa450b494;p=civicrm-core.git diff --git a/CRM/Report/Utils/Get.php b/CRM/Report/Utils/Get.php index cad6f333e7..fe0b9507c2 100644 --- a/CRM/Report/Utils/Get.php +++ b/CRM/Report/Utils/Get.php @@ -1,8 +1,7 @@ $fields) { foreach ($fields as $fieldName => $field) { @@ -229,11 +231,11 @@ class CRM_Report_Utils_Get { } } - //unset default filters /** + * unset default filters * @param $defaults */ - static function unsetFilters(&$defaults) { + public static function unsetFilters(&$defaults) { static $unsetFlag = TRUE; if ($unsetFlag) { foreach ($defaults as $field_name => $field_value) { @@ -254,7 +256,7 @@ class CRM_Report_Utils_Get { * @param $fieldGrp * @param $defaults */ - static function processGroupBy(&$fieldGrp, &$defaults) { + public static function processGroupBy(&$fieldGrp, &$defaults) { // process only group_bys for now $flag = FALSE; @@ -282,7 +284,7 @@ class CRM_Report_Utils_Get { * @param $reportFields * @param $defaults */ - static function processFields(&$reportFields, &$defaults) { + public static function processFields(&$reportFields, &$defaults) { //add filters from url if (is_array($reportFields)) { if ($urlFields = CRM_Utils_Array::value("fld", $_GET)) { @@ -303,5 +305,5 @@ class CRM_Report_Utils_Get { } } } -} +}