FormPostHandler
Table of Contents
-
TYPE_MAPPING
= [\onOffice\WPlugin\Form::TYPE_CONTACT => \onOffice\WPlugin\FormPostContact::class, \onOffice\WPlugin\Form::TYPE_OWNER => \onOffice\WPlugin\FormPostOwner::class, \onOffice\WPlugin\Form::TYPE_INTEREST => \onOffice\WPlugin\FormPostInterest::class, \onOffice\WPlugin\Form::TYPE_APPLICANT_SEARCH => \onOffice\WPlugin\FormPostApplicantSearch::class]
-
$_instances
: array<string|int, mixed>
-
getInstance()
: FormPost
-
initialCheck()
: mixed
TYPE_MAPPING
public
array<string|int, mixed>
TYPE_MAPPING
= [\onOffice\WPlugin\Form::TYPE_CONTACT => \onOffice\WPlugin\FormPostContact::class, \onOffice\WPlugin\Form::TYPE_OWNER => \onOffice\WPlugin\FormPostOwner::class, \onOffice\WPlugin\Form::TYPE_INTEREST => \onOffice\WPlugin\FormPostInterest::class, \onOffice\WPlugin\Form::TYPE_APPLICANT_SEARCH => \onOffice\WPlugin\FormPostApplicantSearch::class]
$_instances
private
static array<string|int, mixed>
$_instances
= []
getInstance()
public
static getInstance(string $type) : FormPost
Parameters
-
$type
: string
-
-
throws
-
UnknownFormException
-
throws
-
DependencyException
-
throws
-
NotFoundException
Return values
FormPost
—
initialCheck()
public
static initialCheck() : mixed
Return values
mixed
—