+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* Array of parameters determined by getfields.
*/
function _civicrm_api3_participant_get_spec(&$params) {
- $params['participant_test']['api.default'] = 0;
- $params['participant_test']['title'] = 'Get Test Participants';
+ $params['participant_test'] = array(
+ 'api.default' => 0,
+ 'title' => 'Get Test Participants',
+ 'type' => CRM_Utils_Type::T_BOOLEAN,
+ );
}
/**