Documentation

PdfInvoiceCreationHelper
in package
uses Log

Tags
author

norb wano@verua.swiss

Table of Contents

Methods

__construct()  : mixed
getFilename()  : mixed
savePdf()  : mixed

Methods

__construct()

public __construct(int $invoiceId, string $recipient, string $lng, Settings $cfg) : mixed
Parameters
$invoiceId : int

The id of the Invoice to generate

$recipient : string

The Payer to receive the Invoice, one of 'KV', 'KT', 'GM' or 'EA'

$lng : string

The language 'DE' or 'FR'

$cfg : Settings

The Settings object

savePdf()

public savePdf([string $filename = null ]) : mixed
Parameters
$filename : string = null

The filename to write the pdf on disk


        
On this page

Search results