- // Need full OptionValue records
- $actStatuses = civicrm_api3('OptionValue', 'get', array('option_group_id' => 'activity_status'));
- $actTypes = civicrm_api3('OptionValue', 'get', array(
- 'option_group_id' => 'activity_type',
- 'options' => array(
- 'sort' => 'name',
- 'limit' => 0,
- ),
- ));
- $relTypes = civicrm_api3('RelationshipType', 'get', array(
- 'options' => array(
- 'sort' => CRM_Case_XMLProcessor::REL_TYPE_CNAME,
- 'limit' => 0,
- )
- ));