From: Tim Otten Date: Tue, 6 Jan 2015 22:56:57 +0000 (-0800) Subject: INFRA-132 - CRM/Report - Misc X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7d8c116890ac7836ffdb59af243582c55e9a273e;p=civicrm-core.git INFRA-132 - CRM/Report - Misc --- diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index be44fe3110..b080c59d03 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -1409,8 +1409,9 @@ class CRM_Report_Form extends CRM_Core_Form { * * @return null|string */ - function whereClause(&$field, $op, - $value, $min, $max + function whereClause( + &$field, $op, + $value, $min, $max ) { $type = CRM_Utils_Type::typeToString(CRM_Utils_Array::value('type', $field)); @@ -1594,8 +1595,9 @@ class CRM_Report_Form extends CRM_Core_Form { * * @return null|string */ - function dateClause($fieldName, - $relative, $from, $to, $type = NULL, $fromTime = NULL, $toTime = NULL + function dateClause( + $fieldName, + $relative, $from, $to, $type = NULL, $fromTime = NULL, $toTime = NULL ) { $clauses = array(); if (in_array($relative, array_keys($this->getOperationPair(CRM_Report_Form::OP_DATE)))) { diff --git a/CRM/Report/Form/Grant/Statistics.php b/CRM/Report/Form/Grant/Statistics.php index b6a02c2e2a..700c782ce1 100644 --- a/CRM/Report/Form/Grant/Statistics.php +++ b/CRM/Report/Form/Grant/Statistics.php @@ -533,8 +533,9 @@ SELECT COUNT({$this->_aliases['civicrm_grant']}.id) as count , * @param $awardedGrantsAmount * @param bool $customData */ - static function getStatistics(&$grantStatistics, $fieldValue, $values, - $awardedGrants, $awardedGrantsAmount, $customData = FALSE + static function getStatistics( + &$grantStatistics, $fieldValue, $values, + $awardedGrants, $awardedGrantsAmount, $customData = FALSE ) { if (!$awardedGrantsAmount) { return; diff --git a/CRM/Report/Interface.php b/CRM/Report/Interface.php index 130dcc4ca0..c5e4d4c8ed 100644 --- a/CRM/Report/Interface.php +++ b/CRM/Report/Interface.php @@ -75,7 +75,8 @@ interface CRM_Report_Interface { * Retrieve all the values that match the current input parameters * Used by the selector */ - function all($offset = 0, $rowcount = 0, $sort = NULL, + function all( + $offset = 0, $rowcount = 0, $sort = NULL, $includeContactIDs = FALSE );