Quittio 0.3 API

PendingDocument
in package

FinalYes

Fluent render call for documents: Quittio::document($quote)->locale('de')->render().

Table of Contents

Methods

__construct()  : mixed
country()  : self
Leading country pack of this call (ISO 3166-1 alpha-2), instead of the seller's country.
htmlOnly()  : self
Renders the template only, without PDF (format "html").
locale()  : self
Locale of this call; wins over the document locale and the configuration.
option()  : self
Output option of this call, e.g. option('fold_marks', false); see the output configuration.
presentation()  : self
Design defaults of this call; the document's own presentation wins.
render()  : RenderedDocument
Calculates and renders the document, see Quittio::renderDocument().
template()  : self
Template of this call; the same selection rules as for invoices.

Methods

country()

Leading country pack of this call (ISO 3166-1 alpha-2), instead of the seller's country.

public country(string $country) : self
Parameters
$country : string
Return values
self

htmlOnly()

Renders the template only, without PDF (format "html").

public htmlOnly() : self
Return values
self

locale()

Locale of this call; wins over the document locale and the configuration.

public locale(string $locale) : self
Parameters
$locale : string
Return values
self

option()

Output option of this call, e.g. option('fold_marks', false); see the output configuration.

public option(string $key, mixed $value) : self
Parameters
$key : string
$value : mixed
Return values
self

presentation()

Design defaults of this call; the document's own presentation wins.

public presentation(Presentation $presentation) : self
Parameters
$presentation : Presentation
Return values
self

template()

Template of this call; the same selection rules as for invoices.

public template(string $template) : self
Parameters
$template : string
Return values
self
On this page

Search results