Documentation

CRM_Core_WorkflowMessage_ProfileTrait

Trait for participant workflow classes.

Table of Contents

Properties

$profilesAdditionalParticipants  : array<string|int, mixed>
$profilesPostForm  : array<string|int, mixed>
$profilesPreForm  : array<string|int, mixed>
$profileTitlesPostForm  : array<string|int, mixed>
$profileTitlesPreForm  : array<string|int, mixed>
$note  : string
The note, if any, from the session.
$profiles  : array<string|int, mixed>
The profiles array is not currently assigned / used but might be saner than the ones that are.

Methods

getNote()  : string
getProfiles()  : array<string|int, mixed>
getProfilesAdditionalParticipants()  : array<string|int, mixed>
getProfilesPostForm()  : array<string|int, mixed>
getProfilesPreForm()  : array<string|int, mixed>
getProfileTitlesPostForm()  : array<string|int, mixed>
getProfileTitlesPreForm()  : array<string|int, mixed>
getProfilesByPlacement()  : array<string|int, mixed>

Properties

$profilesAdditionalParticipants

public array<string|int, mixed> $profilesAdditionalParticipants
Tags
scope

tplParams as customProfile

$profilesPostForm

public array<string|int, mixed> $profilesPostForm
Tags
scope

tplParams as customPost

$profilesPreForm

public array<string|int, mixed> $profilesPreForm
Tags
scope

tplParams as customPre

$profileTitlesPostForm

public array<string|int, mixed> $profileTitlesPostForm
Tags
scope

tplParams as customPost_grouptitle

$profileTitlesPreForm

public array<string|int, mixed> $profileTitlesPreForm
Tags
scope

tplParams as customPre_grouptitle

$note

The note, if any, from the session.

protected string $note = ''

As multiple notes can be attached to a participant records we only want to render a note as part of the profile if the user entered it in the form submission.

$profiles

The profiles array is not currently assigned / used but might be saner than the ones that are.

protected array<string|int, mixed> $profiles

Methods

getProfilesAdditionalParticipants()

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

getProfilesPostForm()

public getProfilesPostForm() : array<string|int, mixed>
Tags
throws
CRM_Core_Exception
Return values
array<string|int, mixed>

getProfilesPreForm()

public getProfilesPreForm() : array<string|int, mixed>
Tags
throws
CRM_Core_Exception
Return values
array<string|int, mixed>

getProfileTitlesPostForm()

public getProfileTitlesPostForm() : array<string|int, mixed>
Tags
throws
CRM_Core_Exception
Return values
array<string|int, mixed>

getProfileTitlesPreForm()

public getProfileTitlesPreForm() : array<string|int, mixed>
Tags
throws
CRM_Core_Exception
Return values
array<string|int, mixed>

getProfilesByPlacement()

private getProfilesByPlacement(string $placement) : array<string|int, mixed>
Parameters
$placement : string

pre or post.

Tags
throws
CRM_Core_Exception
Return values
array<string|int, mixed>

        
On this page

Search results