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

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

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

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 Thu, 22 Mar 2012 22:17:19 +0100 by phpDocumentor 1.4.3