D7 API documentation
What's New
Modules
Available fields
New invoices
Composite Identifiers
New CRM API
SPA type preset
Bindings
Client in CRM
Items
canKeepReassignedInCalendar
canUseCalendarEvents
checkCompletePermission
checkFields
checkUpdatePermission
createLiveFeedLog
deleteAssociatedEntity
fillDefaultActivityFields
generateSubject
getCommunicationType
getFieldsForEdit
getPlannerActions
getPlannerTitle
getStatusAnchor
getTypes
isActive
isCompletable
isTypeEditable
postForm
processCreation
updateAssociatedEntity
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
Up