switch ($type) {
case CRM_Report_Form::OP_INT:
case CRM_Report_Form::OP_FLOAT:
+
return array(
'lte' => ts('Is less than or equal to'),
'gte' => ts('Is greater than or equal to'),
case CRM_Report_Form::OP_MONTH:
case CRM_Report_Form::OP_MULTISELECT:
case CRM_Report_Form::OP_ENTITYREF:
+
return array(
'in' => ts('Is one of'),
'notin' => ts('Is not one of'),
);
case CRM_Report_Form::OP_DATE:
+
return array(
'nll' => ts('Is empty (Null)'),
'nnll' => ts('Is not empty (Null)'),
*/
public function formatCustomValues($value, $customField, $fieldValueMap) {
if (CRM_Utils_System::isNull($value)) {
- return;
+ return NULL;
}
$htmlType = $customField['html_type'];