Documentation

CRM_Core_TokenTrait

Table of Contents

Properties

$basicTokens  : mixed
$customFieldTokens  : mixed

Methods

__construct()  : mixed
CRM_Entity_Tokens constructor.
checkActive()  : bool
Check if the token processor is active.
getActiveTokens()  : mixed
getReturnFields()  : array<string|int, mixed>
Find the fields that we need to get to construct the tokens requested.
getCustomFieldTokens()  : array<string|int, mixed>
Get the tokens for custom fields

Properties

$customFieldTokens

private mixed $customFieldTokens

Methods

__construct()

CRM_Entity_Tokens constructor.

public __construct() : mixed

getReturnFields()

Find the fields that we need to get to construct the tokens requested.

public getReturnFields() : array<string|int, mixed>
Return values
array<string|int, mixed>

list of fields needed to generate those tokens

getCustomFieldTokens()

Get the tokens for custom fields

protected getCustomFieldTokens() : array<string|int, mixed>
Return values
array<string|int, mixed>

token name => token label


        
On this page

Search results