Phone.php
This api exposes CiviCRM phone records.
Table of Contents
Functions
- civicrm_api3_phone_create() : array<string|int, mixed>
- Add an Phone for a contact.
- _civicrm_api3_phone_create_spec() : mixed
- Adjust Metadata for Create action.
- civicrm_api3_phone_delete() : array<string|int, mixed>
- Delete an existing Phone.
Functions
civicrm_api3_phone_create()
Add an Phone for a contact.
civicrm_api3_phone_create(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
-
Array per getfields metadata.
Return values
array<string|int, mixed>_civicrm_api3_phone_create_spec()
Adjust Metadata for Create action.
_civicrm_api3_phone_create_spec(array<string|int, mixed> &$params) : mixed
The metadata is used for setting defaults, documentation & validation.
Parameters
- $params : array<string|int, mixed>
-
Array of parameters determined by getfields.
civicrm_api3_phone_delete()
Delete an existing Phone.
civicrm_api3_phone_delete(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
-
Array per getfields metadata.
Return values
array<string|int, mixed> —Api Result