Amanu
Projektmanagement für Selbstständige und Freelancer
PDF Class Reference

Public Member Functions

 __construct ($name)
 
 setHTML ($html)
 
 loadFile ($path)
 
 stream ()
 
 saveToDisk ($path)
 

Detailed Description

This is a wrapper for the DOMPDF library

This file is part of the project codename "AMANUENSIS"

Author
Sebastian Antosch s.ant.nosp@m.osch.nosp@m.@i-sa.nosp@m.n.de

Constructor & Destructor Documentation

__construct (   $name)

Constructs a new PDF instance

Parameters
string$name- the name of the PDF file

Member Function Documentation

setHTML (   $html)

Set the HTML that should be rendered

Parameters
string$html
loadFile (   $path)

Loads a html file that should be converted - PHP will also work (thanks to include)

Parameters
string$path
Exceptions
Exception
stream ( )

Directly renders and outputs the PDF

saveToDisk (   $path)

Saves the PDF to disc to the given path

Parameters
string$path
Exceptions
Exception

The documentation for this class was generated from the following file: