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 24)

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 26)
  • access: public
jTcpdf __construct ([ $orientation = 'P'], [ $unit = 'mm'], [ $format = 'A4'], [ $encoding = null])
  • $orientation
  • $unit
  • $format
  • $encoding
Error (line 42)

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 53)

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, 07 Sep 2011 13:48:06 +0200 by phpDocumentor 1.4.3