\TxTextControl\ReportingCloudBuildTrait

Trait BuildTrait

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
buildPropertyMapArray()
buildDocumentsArray()
buildDocumentSettingsArray()
buildMergeSettingsArray()
buildFindAndReplaceDataArray()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

buildPropertyMapArray()

buildPropertyMapArray(array<int|string,array|bool|int|string>  $array, \TxTextControl\ReportingCloud\PropertyMap\AbstractPropertyMap  $propertyMap) : array<int|string,array|bool|int|string>

Using the passed propertyMap, recursively build array

Parameters

array $array

Array

\TxTextControl\ReportingCloud\PropertyMap\AbstractPropertyMap $propertyMap

PropertyMap

Returns

array

buildDocumentsArray()

buildDocumentsArray(array<int|string,array|bool|int|string>  $array) : array<int,array>

Using passed documentsData array, build array for backend

Parameters

array $array

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException

Returns

array

buildDocumentSettingsArray()

buildDocumentSettingsArray(array<string,bool|int|string>  $array) : array<string,bool|int|string>

Using passed documentsSettings array, build array for backend

Parameters

array $array

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException

Returns

array

buildMergeSettingsArray()

buildMergeSettingsArray(array<string,bool|int|string>  $array) : array<string,bool|int|string>

Using passed mergeSettings array, build array for backend

Parameters

array $array

MergeSettings array

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException

Returns

array

buildFindAndReplaceDataArray()

buildFindAndReplaceDataArray(array<string,string>  $array) : array<int,array<int,int|string>>

Using passed findAndReplaceData associative array (key-value), build array for backend (list of string arrays)

Parameters

array $array

Returns

array> —