TestClassViewFieldModifierHandler
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_exampleRecord : array<string|int, mixed>
- testDefaultModifierReduceRecord() : mixed
- testNoModifier() : mixed
- testNoModifierReduceRecord() : mixed
- getPreconfiguredHandler() : ViewFieldModifierHandler
Properties
$_exampleRecord
private
array<string|int, mixed>
$_exampleRecord
= ['test1' => 'testvalue 1', 'test2' => ['testValueMulti 1', 'testValueMulti 2'], 'laengengrad' => 10, 'virtualAddress' => 0, 'objektadresse_freigeben' => 1, 'virtualStreet' => '', 'virtualHouseNumber' => '', 'breitengrad' => 50, 'virtualLatitude' => '', 'virtualLongitude' => '', 'strasse' => 'Teststraße', 'showGoogleMap' => 1, 'hausnummer' => '5', 'objekttitel' => 'Nice Estate', 'objektart' => 'haus', 'ort' => 'Aachen', 'objektnr_extern' => 'JJ1337', 'reserviert' => '1', 'verkauft' => '1', 'vermarktungsart' => 'kauf']
Methods
testDefaultModifierReduceRecord()
public
testDefaultModifierReduceRecord() : mixed
Return values
mixed —testNoModifier()
public
testNoModifier() : mixed
Return values
mixed —testNoModifierReduceRecord()
public
testNoModifierReduceRecord() : mixed
Return values
mixed —getPreconfiguredHandler()
private
getPreconfiguredHandler(array<string|int, mixed> $viewFields[, string $modifier = '' ]) : ViewFieldModifierHandler
Parameters
- $viewFields : array<string|int, mixed>
- $modifier : string = ''