Guest User

Untitled

a guest
Jul 20th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. $price_set_id = CRM_Price_BAO_PriceSet::getFor('civicrm_event', $event_id);
  2.  
  3. $result = civicrm_api3('PriceSet', 'get', [
  4. 'id'=>$price_set_id,
  5. 'api.PriceField.get' => [
  6. 'api.PriceFieldValue.get' => []
  7. ],
  8. ]);
  9.  
  10. PriceSet
  11. |_PriceField
  12. |_PriceFieldValue
Add Comment
Please, Sign In to add comment