/*
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
$ids['id'] = $params['id'];
}
- $bao = CRM_Price_BAO_FieldValue::create($params, $ids);
+ $bao = CRM_Price_BAO_PriceFieldValue::create($params, $ids);
$values = array();
_civicrm_api3_object_to_array($bao, $values[$bao->id]);
* @param array $params array or parameters determined by getfields
*/
function _civicrm_api3_price_field_value_create_spec(&$params) {
+ $params['price_field_id']['api.required'] = TRUE;
}
/**