|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($orientation='P', $unit='mm', $format='A4', $unicode=true, $encoding='UTF-8') | |
| Output ($name='doc.pdf', $dest='I') | |
Protected Member Functions | |
| _getfontpath () | |
| _getfontfiles ($fontdir) | |
Definition at line 94 of file pdflib.php.
| __construct | ( | $ | orientation = 'P', |
| $ | unit = 'mm', |
||
| $ | format = 'A4', |
||
| $ | unicode = true, |
||
| $ | encoding = 'UTF-8' |
||
| ) |
Class constructor
See the parent class documentation for the parameters info.
Definition at line 101 of file pdflib.php.

| _getfontfiles | ( | $ | fontdir | ) | [protected] |
Get the .php files for the fonts
Definition at line 164 of file pdflib.php.


| _getfontpath | ( | ) | [protected] |
Return fonts path Overriding TCPDF::_getfontpath()
object
Reimplemented from TCPDF.
Reimplemented in testable_pdf.
Definition at line 149 of file pdflib.php.

| Output | ( | $ | name = 'doc.pdf', |
| $ | dest = 'I' |
||
| ) |
Send the document to a given destination: string, local file or browser. In the last case, the plug-in may be used (if present) or a download ("Save as" dialog box) may be forced.
The method first calls Close() if necessary to terminate the document.
| $name | (string) The name of the file when saved. Note that special characters are removed and blanks characters are replaced with the underscore character. |
| $dest | (string) Destination where to send the document. It can take one of the following values:
|
Reimplemented from TCPDF.
Definition at line 136 of file pdflib.php.