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
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
Return values
array<string|int, mixed>createPCPBlock()
Create a pcp block for testing.
protected
createPCPBlock(array<string|int, mixed> $params) : int
Parameters
- $params : array<string|int, mixed>