|
| PDF ($uri, $ssl=false, $useToken=true, $output=null, $landscape=false) |
| Creates a new PDF object configured to generate a PDF from the supplied URI on the local web application. More...
|
|
| coverPage ($url) |
| Provides a separate URL to use as the cover page of the PDF. More...
|
|
| footer ($text, $position="center", $size=11) |
|
| generate () |
|
Definition at line 358 of file pdf.inc.
◆ coverPage()
Provides a separate URL to use as the cover page of the PDF.
- Parameters
-
string | $url | the URL used to generate the cover page |
- Returns
- PDF
Definition at line 391 of file pdf.inc.
393 $this->convertor->coverPage(
$url);
◆ footer()
PDF::footer |
( |
|
$text, |
|
|
|
$position = "center" , |
|
|
|
$size = 11 |
|
) |
| |
- Parameters
-
$text | - text of the footer |
$position | - valid positions are left, right, and center |
$size | - font size for the footer ?? doesn't work |
Definition at line 402 of file pdf.inc.
404 $this->convertor->footer(
$text, $position,
$size);
◆ generate()
Definition at line 407 of file pdf.inc.
409 return $this->convertor->generate();
◆ PDF()
PDF::PDF |
( |
|
$uri, |
|
|
|
$ssl = false , |
|
|
|
$useToken = true , |
|
|
|
$output = null , |
|
|
|
$landscape = false |
|
) |
| |
Creates a new PDF object configured to generate a PDF from the supplied URI on the local web application.
- Parameters
-
string | $uri | the URI that will generate the content for the PDF |
boolean | $ssl | whether to use SSL to access the URI |
boolean | $useToken | set to true to use an AutoLogin token to use the credentials of the currently logged in user to generate the PDF content |
string | $output | (optional) a local output file path if the PDF output is to be saved to disk (for caching, or as an intermeediate step) |
boolean | $landscape | true for landscape orientated output, false for portrait oriented output (the default) |
Definition at line 375 of file pdf.inc.
379 $this->useToken = $useToken;
static createConvertor($pdf)
◆ $footer
◆ $landscape
◆ $output
◆ $ssl
◆ $uri
The documentation for this class was generated from the following file:
- C:/code/cms.sonjara.com/cms/components/pdf/pdf.inc