CRM_Activity_Form_ActivityFormTrait
Trait implements functions to retrieve activity related values.
Table of Contents
Methods
- getActivityID() : int|null
- Get the selected Activity ID.
- getActivityValue() : mixed
- Get the value for a field relating to the activity.
Methods
getActivityID()
Get the selected Activity ID.
public
getActivityID() : int|null
APIYes
Tags
Return values
int|nullgetActivityValue()
Get the value for a field relating to the activity.
public
getActivityValue(string $fieldName) : mixed
APIYes
All values returned in apiv4 format. Escaping may be required.
Parameters
- $fieldName : string