category | OSS |
---|---|
package | OSS_Pdf |
copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
license | New BSD License |
__construct(object $view, string $viewscript)
object
Object for rendering HTMLs.
string
Path to template.
getAsFile(string $fileName)
Sets headers and prints out contents. This function is usable then you want to export in browser.
returns | string |
---|
string
Name of file.
getContents()
returns | string |
---|
render()
returns | string |
---|
_processPDF() : string
First it renders and creates HTML file and then it creates pdf file. It removes new HTML file and returns path to new pdf file.
PDF file removing is added in all other methods where _processPDF are called.
string
$_html