|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for ilPhantomJSRenderer:
Collaboration diagram for ilPhantomJSRenderer:Data Fields | |
| const | PAGE = 0 |
| const | VIEWPORT = 1 |
Protected Member Functions | |
| setLanguage ($lng) | |
| buildHeaderTextForm () | |
| buildHeaderHeightForm () | |
| buildViewPortForm () | |
| buildHeaderPageNumbersForm () | |
| buildFooterTextForm () | |
| buildFooterHeightForm () | |
| buildFooterPageNumbersForm () | |
| buildPageSizesForm () | |
| buildOrientationForm () | |
| buildMarginForm () | |
| buildJavascriptDelayForm () | |
| getTempFileName ($file_type) | |
| getCommandLineConfig ($config) | |
Protected Attributes | |
| $lng | |
| $path_to_rasterize = './Services/PDFGeneration/js/rasterize.js' | |
| $use_default_config | |
| $page_size | |
| $orientation | |
| $margin | |
| $javascript_delay | |
| $viewport | |
| $header_type | |
| $footer_type | |
| $header_text | |
| $header_height | |
| $header_show_pages | |
| $footer_text | |
| $footer_height | |
| $footer_show_pages | |
| $path | |
| $page_type = self::PAGE | |
| $do_not_validate_ssl = ' --ssl-protocol=any --ignore-ssl-errors=true ' | |
Definition at line 7 of file class.ilPhantomJSRenderer.php.
| ilPhantomJSRenderer::__construct | ( | $phpunit = false | ) |
Definition at line 18 of file class.ilPhantomJSRenderer.php.
References $DIC, and setLanguage().
Here is the call graph for this function:| ilPhantomJSRenderer::addConfigElementsToForm | ( | \ilPropertyFormGUI | $form, |
| $service, | |||
| $purpose | |||
| ) |
from ilRendererConfig
| \ilPropertyFormGUI | $form | |
| string | $service | |
| string | $purpose |
Implements ilRendererConfig.
Definition at line 136 of file class.ilPhantomJSRenderer.php.
References $footer_text, $form, $header_text, $path, buildFooterHeightForm(), buildFooterPageNumbersForm(), buildFooterTextForm(), buildHeaderHeightForm(), buildHeaderPageNumbersForm(), buildHeaderTextForm(), buildJavascriptDelayForm(), buildMarginForm(), buildOrientationForm(), buildPageSizesForm(), buildViewPortForm(), ilPDFGenerationConstants\FOOTER_NONE, ilPDFGenerationConstants\FOOTER_TEXT, ilPDFGenerationConstants\HEADER_NONE, and ilPDFGenerationConstants\HEADER_TEXT.
Here is the call graph for this function:
|
protected |
Definition at line 394 of file class.ilPhantomJSRenderer.php.
References $footer_height.
Referenced by addConfigElementsToForm().
Here is the caller graph for this function:
|
protected |
Definition at line 404 of file class.ilPhantomJSRenderer.php.
References $footer_show_pages.
Referenced by addConfigElementsToForm().
Here is the caller graph for this function:
|
protected |
Definition at line 384 of file class.ilPhantomJSRenderer.php.
References $footer_text.
Referenced by addConfigElementsToForm().
Here is the caller graph for this function:
|
protected |
Definition at line 351 of file class.ilPhantomJSRenderer.php.
References $header_height.
Referenced by addConfigElementsToForm().
Here is the caller graph for this function:
|
protected |
Definition at line 372 of file class.ilPhantomJSRenderer.php.
References $header_show_pages.
Referenced by addConfigElementsToForm().
Here is the caller graph for this function:
|
protected |
Definition at line 341 of file class.ilPhantomJSRenderer.php.
References $header_text.
Referenced by addConfigElementsToForm().
Here is the caller graph for this function:
|
protected |
Definition at line 448 of file class.ilPhantomJSRenderer.php.
References $javascript_delay.
Referenced by addConfigElementsToForm().
Here is the caller graph for this function:
|
protected |
Definition at line 438 of file class.ilPhantomJSRenderer.php.
References $margin.
Referenced by addConfigElementsToForm().
Here is the caller graph for this function:
|
protected |
Definition at line 427 of file class.ilPhantomJSRenderer.php.
References $orientation, and ilPDFGenerationConstants\getOrientations().
Referenced by addConfigElementsToForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 416 of file class.ilPhantomJSRenderer.php.
References $page_size, and ilPDFGenerationConstants\getPageSizesNames().
Referenced by addConfigElementsToForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 361 of file class.ilPhantomJSRenderer.php.
References $viewport.
Referenced by addConfigElementsToForm().
Here is the caller graph for this function:| ilPhantomJSRenderer::generatePDF | ( | $service, | |
| $purpose, | |||
| $config, | |||
| $job | |||
| ) |
from ilPDFRenderer
| string | $service | |
| string | $purpose | |
| array | $config | |
| \ilPDFGenerationJob | $job |
Implements ilPDFRenderer.
Definition at line 301 of file class.ilPhantomJSRenderer.php.
References $config, and getHtmlTempName().
Here is the call graph for this function:
|
protected |
| $config |
Definition at line 490 of file class.ilPhantomJSRenderer.php.
References $config, ilPDFGenerationConstants\FOOTER_TEXT, and ilPDFGenerationConstants\HEADER_TEXT.
| ilPhantomJSRenderer::getConfigFromForm | ( | \ilPropertyFormGUI | $form, |
| $service, | |||
| $purpose | |||
| ) |
from ilRendererConfig
| \ilPropertyFormGUI | $form | |
| string | $service | |
| string | $purpose |
Implements ilRendererConfig.
Definition at line 234 of file class.ilPhantomJSRenderer.php.
| ilPhantomJSRenderer::getDefaultConfig | ( | $service, | |
| $purpose | |||
| ) |
from ilRendererConfig
| string | $service | |
| string | $purpose |
Implements ilRendererConfig.
Definition at line 264 of file class.ilPhantomJSRenderer.php.
References $config, PAGE, and PATH_TO_PHANTOMJS.
| ilPhantomJSRenderer::getHtmlTempName | ( | ) |
Definition at line 467 of file class.ilPhantomJSRenderer.php.
References getTempFileName().
Referenced by generatePDF().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPhantomJSRenderer::getPdfTempName | ( | ) |
Definition at line 459 of file class.ilPhantomJSRenderer.php.
References getTempFileName().
Here is the call graph for this function:| ilPhantomJSRenderer::getPluginName | ( | ) |
Definition at line 117 of file class.ilPhantomJSRenderer.php.
|
protected |
| $file_type |
Definition at line 476 of file class.ilPhantomJSRenderer.php.
References ilUtil\ilTempnam().
Referenced by getHtmlTempName(), and getPdfTempName().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPhantomJSRenderer::populateConfigElementsInForm | ( | \ilPropertyFormGUI | $form, |
| $service, | |||
| $purpose, | |||
| $config | |||
| ) |
from ilRendererConfig
| \ilPropertyFormGUI | $form | |
| string | $service | |
| string | $purpose | |
| array | $config |
Implements ilRendererConfig.
Definition at line 187 of file class.ilPhantomJSRenderer.php.
References $config, $form, and ilPDFGeneratorUtils\setCheckedIfTrue().
Here is the call graph for this function:
|
protected |
| $lng |
Definition at line 29 of file class.ilPhantomJSRenderer.php.
References $lng.
Referenced by __construct().
Here is the caller graph for this function:| ilPhantomJSRenderer::validateConfigInForm | ( | \ilPropertyFormGUI | $form, |
| $service, | |||
| $purpose | |||
| ) |
from ilRendererConfig
| \ilPropertyFormGUI | $form | |
| string | $service | |
| string | $purpose |
Implements ilRendererConfig.
Definition at line 217 of file class.ilPhantomJSRenderer.php.
|
protected |
Definition at line 125 of file class.ilPhantomJSRenderer.php.
|
protected |
Definition at line 97 of file class.ilPhantomJSRenderer.php.
Referenced by buildFooterHeightForm().
|
protected |
Definition at line 102 of file class.ilPhantomJSRenderer.php.
Referenced by buildFooterPageNumbersForm().
|
protected |
Definition at line 92 of file class.ilPhantomJSRenderer.php.
Referenced by addConfigElementsToForm(), and buildFooterTextForm().
|
protected |
Definition at line 72 of file class.ilPhantomJSRenderer.php.
|
protected |
Definition at line 82 of file class.ilPhantomJSRenderer.php.
Referenced by buildHeaderHeightForm().
|
protected |
Definition at line 87 of file class.ilPhantomJSRenderer.php.
Referenced by buildHeaderPageNumbersForm().
|
protected |
Definition at line 77 of file class.ilPhantomJSRenderer.php.
Referenced by addConfigElementsToForm(), and buildHeaderTextForm().
|
protected |
Definition at line 67 of file class.ilPhantomJSRenderer.php.
|
protected |
Definition at line 57 of file class.ilPhantomJSRenderer.php.
Referenced by buildJavascriptDelayForm().
|
protected |
Definition at line 13 of file class.ilPhantomJSRenderer.php.
Referenced by setLanguage().
|
protected |
Definition at line 52 of file class.ilPhantomJSRenderer.php.
Referenced by buildMarginForm().
|
protected |
Definition at line 47 of file class.ilPhantomJSRenderer.php.
Referenced by buildOrientationForm().
|
protected |
Definition at line 42 of file class.ilPhantomJSRenderer.php.
Referenced by buildPageSizesForm().
|
protected |
Definition at line 112 of file class.ilPhantomJSRenderer.php.
|
protected |
Definition at line 107 of file class.ilPhantomJSRenderer.php.
Referenced by addConfigElementsToForm().
|
protected |
Definition at line 16 of file class.ilPhantomJSRenderer.php.
|
protected |
Definition at line 37 of file class.ilPhantomJSRenderer.php.
|
protected |
Definition at line 62 of file class.ilPhantomJSRenderer.php.
Referenced by buildViewPortForm().
| const ilPhantomJSRenderer::PAGE = 0 |
Definition at line 9 of file class.ilPhantomJSRenderer.php.
Referenced by getDefaultConfig().
| const ilPhantomJSRenderer::VIEWPORT = 1 |
Definition at line 10 of file class.ilPhantomJSRenderer.php.