checkFields
\Bitrix\Main\Result public \Bitrix\Crm\Activity\Provider\Base::checkFields( $action, &$fields, $id, $params = null );
Method called when when adding or updating an activity. Returns instance of class \Bitrix\Main\Result. Can modify activity fields when required (for example, to calculate deadline yes/no field). Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$action | String, ADD|UPDATE. | |
$fields | Fields for added/updated activity. | |
$id | Activity ID. | |
$params | Additional parameters with which main method is called CCrmActivity::CheckFields. |
Example
© «Bitrix24», 2001-2024