onOffice WP Plugin

TestClassDataFormConfigurationFactory extends WP_UnitTestCase
in package

Tags
url

http://www.onoffice.de

copyright

2003-2018, onOffice(R) GmbH

Table of Contents

$_formTypes  : array<string|int, mixed>
$_pDataFormConfigurationFactory  : DataFormConfigurationFactory
$_pGeoPositionFieldHandler  : GeoPositionFieldHandler
$_pRecordManagerReadForm  : RecordManagerReadForm
prepare()  : mixed
testConstruct()  : mixed
testCreateEmptyNoDefaults()  : mixed
testCreateEmptyNoType()  : mixed
testCreateEmptyWithDefaults()  : mixed
testGeoPositionSetting()  : mixed
testIsAdminInterface()  : mixed
testLoadByFormId()  : mixed
testLoadByFormName()  : mixed
assertFactoryOutput()  : mixed
getBaseRow()  : array<string|int, mixed>
getBasicFieldsArray()  : array<string|int, mixed>
getBasicFieldsArrayWithGeo()  : array<string|int, mixed>

Properties

$_formTypes

private array<string|int, mixed> $_formTypes = [\onOffice\WPlugin\Form::TYPE_CONTACT => \onOffice\WPlugin\DataFormConfiguration\DataFormConfigurationContact::class, \onOffice\WPlugin\Form::TYPE_OWNER => \onOffice\WPlugin\DataFormConfiguration\DataFormConfigurationOwner::class, \onOffice\WPlugin\Form::TYPE_INTEREST => \onOffice\WPlugin\DataFormConfiguration\DataFormConfigurationInterest::class, \onOffice\WPlugin\Form::TYPE_APPLICANT_SEARCH => \onOffice\WPlugin\DataFormConfiguration\DataFormConfigurationApplicantSearch::class]

Methods

getBaseRow()

private getBaseRow(int $formId, string $formType) : array<string|int, mixed>
Parameters
$formId : int
$formType : string
Return values
array<string|int, mixed>

getBasicFieldsArray()

private getBasicFieldsArray(int $formId, string $formType) : array<string|int, mixed>
Parameters
$formId : int
$formType : string
Return values
array<string|int, mixed>

getBasicFieldsArrayWithGeo()

private getBasicFieldsArrayWithGeo(int $formId, string $formType) : array<string|int, mixed>
Parameters
$formId : int
$formType : string
Return values
array<string|int, mixed>

Search results