Documentation

CRM_Member_WorkflowMessage_MembershipTrait

Table of Contents

Properties

$membership  : array<string|int, mixed>|null
The membership.
$membershipID  : int

Methods

getMembership()  : array<string|int, mixed>
getMembershipID()  : int|null
setMembership()  : $this
Set membership object.
setMembershipID()  : $this

Properties

$membership

The membership.

protected array<string|int, mixed>|null $membership
Tags
scope

tokenContext as membership

$membershipID

protected int $membershipID
Tags
scope

tokenContext as membershipId, tplParams as membershipID

Methods

getMembership()

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

getMembershipID()

public getMembershipID() : int|null
Return values
int|null

setMembership()

Set membership object.

public setMembership(array<string|int, mixed> $membership) : $this
Parameters
$membership : array<string|int, mixed>
Return values
$this

setMembershipID()

public setMembershipID([int|null $membershipID = ]) : $this
Parameters
$membershipID : int|null =
Return values
$this

        
On this page

Search results