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
array
default null An associative array of configuration options
object
default 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
\$pViewVariables
default null
\$pPdfFileName
this will contain the full path to the PDF
\OSS_Pdf_PdfLatex_Exception |
---|
string
a 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.
string
Left delimiter
string
Right delimiter
_resetDelimiters(string $ld, string $rd)
This function resets the Smarty delimiters to their originals after _changeDelimiters() was used.
see | \global\_changeDelimiters() |
---|---|
retur | void |
string
Left delimiter
string
Right delimiter
$_view : \Zend_View