Commit 86c0986e authored by ErikHommel's avatar ErikHommel
Browse files

lokaal getest en ok

parent f8f58b66
......@@ -69,7 +69,7 @@ class CRM_Acqconfigitems_OptionGroup {
protected function processOptionValues($optionGroupId, $optionValueParams) {
foreach ($optionValueParams as $optionValueName => $params) {
$params['option_group_id'] = $optionGroupId;
$optionValue = new CRM_Acqconfigitems_Utils();
$optionValue = new CRM_Acqconfigitems_OptionValue();
$optionValue->create($params);
}
}
......
<?php
use CRM_Acqconfigitems_ExtensionUtil as E;
/**
* ConfigItems.Load API
*
* @param array $params
* @return array API result descriptor
* @see civicrm_api3_create_success
* @see civicrm_api3_create_error
* @throws API_Exception
*/
function civicrm_api3_config_items_Load($params) {
CRM_Acqconfigitems_ConfigItems::singleton();
return civicrm_api3_create_success([], $params, 'ConfigItems', 'Load');
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment