X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FUtils%2FGet.php;h=f5cbafe0d83f149a06a0e95cd8062b8a208e43c8;hb=725b3de6f03330ab5e310f397fc0336fe551ec6f;hp=6d55e625b5ff458e783fadad57d3e2d6d85ee7cb;hpb=aa0b568b0563900aa6ddc792014cc17af2c3fc90;p=civicrm-core.git diff --git a/CRM/Report/Utils/Get.php b/CRM/Report/Utils/Get.php index 6d55e625b5..f5cbafe0d8 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 +233,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 +258,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 +286,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 +307,5 @@ class CRM_Report_Utils_Get { } } } -} +}