CaseType.php
This api exposes CiviCRM Case.
Table of Contents
Functions
- civicrm_api3_case_type_create() : array<string|int, mixed>
- Create or update case type.
- civicrm_api3_case_type_get() : array<string|int, mixed>
- Retrieve case types.
- _civicrm_api3_case_type_get_formatResult() : array<string|int, mixed>
- Format definition.
- civicrm_api3_case_type_delete() : array<string|int, mixed>
- Function to delete case type.
Functions
civicrm_api3_case_type_create()
Create or update case type.
civicrm_api3_case_type_create(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
-
Input parameters.
Tags
Return values
array<string|int, mixed> —API result array
civicrm_api3_case_type_get()
Retrieve case types.
civicrm_api3_case_type_get(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —case types keyed by id
_civicrm_api3_case_type_get_formatResult()
Format definition.
_civicrm_api3_case_type_get_formatResult(array<string|int, mixed> &$result[, array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
- $result : array<string|int, mixed>
- $options : array<string|int, mixed> = []
Tags
Return values
array<string|int, mixed>civicrm_api3_case_type_delete()
Function to delete case type.
civicrm_api3_case_type_delete(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
-
Array including id of CaseType to delete.
Return values
array<string|int, mixed> —API result array