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