Documentation

CRMTraits_PCP_PCPTestTrait

Trait CRMTraits_PCP_PCPTestTrait

Traits for testing PCP pages.

Table of Contents

Methods

pcpBlockParams()  : array<string|int, mixed>
Build and return pcpBlock params.
pcpParams()  : array<string|int, mixed>
Build and return pcp params.
createPCPBlock()  : int
Create a pcp block for testing.

Methods

pcpBlockParams()

Build and return pcpBlock params.

public pcpBlockParams() : array<string|int, mixed>

Create the necessary initial objects for a pcpBlock, then return the params needed to create the pcpBlock.

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

pcpParams()

Build and return pcp params.

public pcpParams() : array<string|int, mixed>

Create the necessary initial objects for a pcp page, then return the params needed to create the pcp page.

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

        
On this page

Search results