fillDefaultActivityFields
void public static \Bitrix\Crm\Activity\Provider\Base::fillDefaultActivityFields( array &$activity );
Method sets default values when planning an activity. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$activity | Activity array. |
Example
Example for setting notification for a meeting:
/** * @param array $activity */ public static function fillDefaultActivityFields(array &$activity) { $activity['NOTIFY_TYPE'] = \CCrmActivityNotifyType::Hour; $activity['NOTIFY_VALUE'] = 1; }
© «Bitrix24», 2001-2024