Class jTcpdf

Description

sub-class of TCPDF, for better Jelix integration (error handling) and easy save to disk feature.

  • since: 1.0

Located in /utils/jTcpdf.class.php (line 32)

TCPDF
   |
   --jTcpdf
Method Summary
jTcpdf __construct ([ $orientation = 'P'], [ $unit = 'mm'], [ $format = 'A4'], [ $encoding = null])
void Error (string $msg)
boolean saveToDisk (string $filename, string $path)
Methods
Constructor __construct (line 34)
  • access: public
jTcpdf __construct ([ $orientation = 'P'], [ $unit = 'mm'], [ $format = 'A4'], [ $encoding = null])
  • $orientation
  • $unit
  • $format
  • $encoding
Error (line 55)

Throw an exception when an error occurs, instead of die()

  • access: public
void Error (string $msg)
  • string $msg: The error's message generated by TCPDF
saveToDisk (line 66)

Method to save the current document to a file on the disk

  • return: TRUE if success, else throws a jException
  • access: public
boolean saveToDisk (string $filename, string $path)
  • string $filename: The target filename
  • string $path: The target path where to store the file

Documentation generated on Wed, 24 Sep 2014 22:02:24 +0200 by phpDocumentor 1.4.3