From 4ee919767d167b6ebf3694449164f2050ecf287d Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 11 Jun 2014 16:22:31 +1200 Subject: [PATCH] CRM-14822 Comment fixes --- api/v3/utils.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/api/v3/utils.php b/api/v3/utils.php index 0f5c37248d..52efd1caae 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -921,6 +921,14 @@ function _civicrm_api3_custom_format_params($params, &$values, $extends, $entity * We will only alter the value if we are sure that changing it will make it correct - if it appears wrong but does not appear to have a clear fix we * don't touch - lots of very cautious code in here * + * The resulting array should look like + * array( + * 'key' => 1, + * 'key1' => 1, + * ); + * + * OR one or more keys wrapped in a CRM_Core_DAO::VALUE_SEPARATOR - either it accepted by the receiving function + * * @todo - we are probably skipping handling disabled options as presumably getoptions is not giving us them. This should be non-regressive but might * be fixed in future * @@ -928,10 +936,6 @@ function _civicrm_api3_custom_format_params($params, &$values, $extends, $entity * @param $customFieldLabel * @param $entity * - * @internal param $fields - * @internal param $customFieldID - * @internal param $checkCheckBoxField - * @return string */ function formatCheckBoxField(&$checkboxFieldValue, $customFieldLabel, $entity) { -- 2.25.1