Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $price_set_id = CRM_Price_BAO_PriceSet::getFor('civicrm_event', $event_id);
- $result = civicrm_api3('PriceSet', 'get', [
- 'id'=>$price_set_id,
- 'api.PriceField.get' => [
- 'api.PriceFieldValue.get' => []
- ],
- ]);
- PriceSet
- |_PriceField
- |_PriceFieldValue
Add Comment
Please, Sign In to add comment