PartnerWebform
in package
Helper class provides useful functions.
Table of Contents
Properties
- $database : Connection
- The database connection.
- $webformId : string
- The webform id.
Methods
- __construct() : mixed
- Constructor of PartnerWebform.
- filterBy() : array<string|int, mixed>|null
- Custom function to search sessions based on specific fields.
Properties
$database
The database connection.
protected
Connection
$database
$webformId
The webform id.
private
string
$webformId
Methods
__construct()
Constructor of PartnerWebform.
public
__construct(mixed $webformId, Connection $database) : mixed
Parameters
- $webformId : mixed
- $database : Connection
filterBy()
Custom function to search sessions based on specific fields.
public
filterBy([mixed $draft = NULL ][, array<string|int, mixed> $filter = [] ]) : array<string|int, mixed>|null
Parameters
- $draft : mixed = NULL
- $filter : array<string|int, mixed> = []