Skip to content

Class ZugferdVisualizerMarkupRendererContract

HorstOeko edited this page Dec 28, 2024 · 1 revision

Summary

Interface representing the markup renderer contract

Methods

templateExists [abstract]

Summary

Returns true if the given template exists, otherwise false

Signature

abstract public function templateExists(string $template): bool;

Parameters

Name Type Allows Null Description
template string

Returns

Returns a value of type bool

render [abstract]

Summary

Render the HTML markup for the Zugferd document

Signature

abstract public function render(horstoeko\zugferd\ZugferdDocumentReader $document, string $template): string;

Parameters

Name Type Allows Null Description
document horstoeko\zugferd\ZugferdDocumentReader
template string

Returns

Returns a value of type string

Clone this wiki locally