<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @param string $fieldName
* @param $field
* @param $defaults
+ *
+ * @return bool
*/
public static function dateParam($fieldName, &$field, &$defaults) {
// type = 12 (datetime) is not recognized by Utils_Type::escape() method,
$chartType = CRM_Utils_Array::value("charts", $_GET);
if (in_array($chartType, array(
'barChart',
- 'pieChart'
+ 'pieChart',
))) {
$defaults["charts"] = $chartType;
}
}
/**
- * unset default filters
+ * unset default filters.
* @param $defaults
*/
public static function unsetFilters(&$defaults) {
}
}
}
+
}