mergeDocument()
mergeDocument(array<int|string,array|bool|int|string> $mergeData, string $returnFormat, string $templateName = '', string $templateFilename = '', bool $append = false, array<string,bool|int|string> $mergeSettings = []) : array<int,string>
Merge data into a template and return an array of binary data.
Each record in the array is the binary data of one document
Parameters
array |
$mergeData |
Array of merge data
|
string |
$returnFormat |
Return format
|
string |
$templateName |
Template name
|
string |
$templateFilename |
Template filename on local file system
|
bool |
$append |
Append flag
|
array |
$mergeSettings |
Array of merge settings
|
Throws
- \TxTextControl\ReportingCloud\Exception\InvalidArgumentException
Returns
array
—