<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.7 |
+ | CiviCRM version 5 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2018 |
+--------------------------------------------------------------------+
'MysqlOrderByDirection',
'MysqlOrderBy',
'ExtensionKey',
+ 'Json',
);
if (!in_array($type, $possibleTypes)) {
if ($isThrowException) {
return $data;
}
break;
+
+ case 'Json':
+ if (CRM_Utils_Rule::json($data)) {
+ return $data;
+ }
+ break;
}
if ($abort) {