TestClassFieldModuleCollectionDecoratorCustomLabel
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_pContainer : Container
- $_pCustomLabelRead : CustomLabelRead
- $_pFieldModuleCollection : FieldModuleCollection
- $_pRecordManagerReadForm : RecordManagerReadForm
- $_pWPDBMock : wpdb
- prepare() : mixed
- testGetAllFields() : mixed
- getBaseRow() : array<string|int, mixed>
- getBasicFieldsArray() : array<string|int, mixed>
Properties
$_pContainer
private
Container
$_pContainer
= null
$_pCustomLabelRead
private
CustomLabelRead
$_pCustomLabelRead
= null
$_pFieldModuleCollection
private
FieldModuleCollection
$_pFieldModuleCollection
= null
$_pRecordManagerReadForm
private
RecordManagerReadForm
$_pRecordManagerReadForm
= null
$_pWPDBMock
private
wpdb
$_pWPDBMock
= null
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —testGetAllFields()
public
testGetAllFields() : mixed
Return values
mixed —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