SaveCommunications
array CCrmActivity::SaveCommunications( integer ID, array arComms, array arFields, bool registerEvents = true, bool checkPerms = true, );
The method saves communications of an activity. Static method.
Function parameters
Parameter | Description |
---|---|
ID | Activity ID. |
arComms | Array of activity communications (company email, phone number).
$arComms = array( array( 'ID' => 0, 'TYPE' => 'PHONE', 'VALUE' => $params['PHONE_NUMBER'], 'ENTITY_ID' => $crmEntity['ENTITY_ID'], 'ENTITY_TYPE_ID' => $crmEntity['ENTITY_TYPE'] ) ); |
arFields | Array of activity parameters. |
registerEvents | This parameter registers an activity in the CRM history. Can have the following values: true or false. |
checkPerms | This parameter checks access permissions for an activity. Can have the following values: true or false. |
Returned value
Returns array of activity communications.
© «Bitrix24», 2001-2024