Documentation

CRM_Campaign_Form_CampaignFormTrait

Trait implements functions to retrieve activity related values.

Table of Contents

Methods

getCampaignID()  : int|null
Get the selected Campaign ID.
getCampaignValue()  : mixed
Get the value for a field relating to the Campaign.

Methods

getCampaignID()

Get the selected Campaign ID.

public getCampaignID() : int|null
APIYes
Tags
noinspection

PhpUnhandledExceptionInspection

Return values
int|null

getCampaignValue()

Get the value for a field relating to the Campaign.

public getCampaignValue(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