| category | OSS |
|---|---|
| package | OSS_Pdf |
| copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
| license | New BSD License |
__construct(array $config, object $view) : void
arraydefault null An associative array of configuration options
objectdefault null a Smarty view object
generatePdf(string $pTemplate, \$pViewVariables $pViewVariables, \$pPdfFileName $pPdfFileName) : string
All required style files, includes, etc are either provided in the template as absolute paths or as relative paths to the template file.
string
\$pViewVariablesdefault null
\$pPdfFileNamethis will contain the full path to the PDF
\OSS_Pdf_PdfLatex_Exception |
|---|
stringa binary string, the content of the PDF file_changeDelimiters(string $ld, string $rd) : void
As such, this function changes the Smarty delimiters to something unlikely to appear in a LaTeX file.
stringLeft delimiter
stringRight delimiter
_resetDelimiters(string $ld, string $rd)
This function resets the Smarty delimiters to their originals after _changeDelimiters() was used.
| see | \global\_changeDelimiters() |
|---|---|
| retur | void |
stringLeft delimiter
stringRight delimiter
$_view : \Zend_View