TiffPdfMergeService
in package
Service for merging TIFF/image files into PDF documents
Table of Contents
Methods
- __construct() : mixed
- cleanupJob() : bool
- Cleanup job files
- createJob() : int
- Create a new merge job
- getOutputPath() : string|null
- Download output PDF
- processJob() : array<string|int, mixed>
- Process a merge job
- uploadFile() : array<string|int, mixed>
- Handle file upload for a merge job
Methods
__construct()
public
__construct() : mixed
cleanupJob()
Cleanup job files
public
cleanupJob(int $jobId) : bool
Parameters
- $jobId : int
Return values
boolcreateJob()
Create a new merge job
public
createJob(int $userId, string $jobName[, int|null $informationObjectId = null ][, array<string|int, mixed> $options = [] ]) : int
Parameters
- $userId : int
- $jobName : string
- $informationObjectId : int|null = null
- $options : array<string|int, mixed> = []
Return values
intgetOutputPath()
Download output PDF
public
getOutputPath(int $jobId) : string|null
Parameters
- $jobId : int
Return values
string|nullprocessJob()
Process a merge job
public
processJob(int $jobId) : array<string|int, mixed>
Parameters
- $jobId : int
Return values
array<string|int, mixed>uploadFile()
Handle file upload for a merge job
public
uploadFile(int $jobId, array<string|int, mixed> $uploadedFile) : array<string|int, mixed>
Parameters
- $jobId : int
- $uploadedFile : array<string|int, mixed>