Documentation

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
noinspection

PhpUnhandledExceptionInspection

Return values
int|null

getActivityValue()

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
Tags
throws
CRM_Core_Exception

        
On this page

Search results