Esempio n. 1
0
<?php

// Create the PDF Output
$oPDFOutput = new weePDFOutput();
// Set the destination filename
$oPDFOutput->setFilename('my filename');
// No need for the extension
// Set options that will be passed to pdflatex on the command-line
$oPDFOutput->setOptions('-interaction nonstopmode');
// Finally, select the PDF Output
weeOutput::select($oPDFOutput);
Esempio n. 2
0
<?php

// Switch output driver
$oOldOutput = weeOutput::select(new weeTextOutput());
// Do your thing
doSomething();
// Switch back to the previous driver
weeOutput::select($oOldOutput);
Esempio n. 3
0
<?php

// Create a default output if none has been created before
$oOutput = new weeXHTMLOutput();
// Change output used
weeOutput::select(new weeTextOutput());