phpDocumentor

InvoiceActions
in package

Class InvoiceActions

Tags
category

System

subpackage

Invoices

Table of Contents

bulkPdfInvoices()  : mixed
Outputs the concatenated invoice PDFs.
_createBulkPdf()  : mixed
Outputs a bulk PDF file through the use of mPDF.
_getPdfPermissions()  : array<string|int, mixed>
Generate the PDF permissions depending the shop configuration.

Methods

bulkPdfInvoices()

Outputs the concatenated invoice PDFs.

public bulkPdfInvoices(array<string|int, mixed> $invoiceIds) : mixed
Parameters
$invoiceIds : array<string|int, mixed>

The invoice IDs to be included in the concatenated file.

Tags
throws
MpdfException
Return values
mixed

_createBulkPdf()

Outputs a bulk PDF file through the use of mPDF.

protected _createBulkPdf(array<string|int, mixed> $invoiceIds) : mixed

This method will parse the selected PDFs of the provided invoices and will concatenate them into a single file. This file will be then outputted directly so that browsers download it immediately.

Parameters
$invoiceIds : array<string|int, mixed>

The selected invoice IDs.

Tags
throws
MpdfException
see
mPDF
Return values
mixed

Search results