|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Collaboration diagram for ilCertificateTemplatePreviewAction:Public Member Functions | |
| __construct (ilCertificateTemplateRepository $templateRepository, ilCertificatePlaceholderValues $placeholderValuesObject, ilLogger $logger=null, ilObjUser $user=null, ilCertificateUtilHelper $utilHelper=null, ilCertificateMathJaxHelper $mathJaxHelper=null, ilCertificateUserDefinedFieldsHelper $userDefinedFieldsHelper=null, ilCertificateRpcClientFactoryHelper $rpcClientFactoryHelper=null, string $rootDirectory=CLIENT_WEB_DIR, ilCertificatePdfFileNameFactory $pdfFileNameFactory=null) | |
| createPreviewPdf (int $objectId) | |
Private Member Functions | |
| exchangeCertificateVariables (string $certificate_text, ilCertificateTemplate $template, int $objectId) | |
| Exchanges the variables in the certificate text with given values. More... | |
| getCustomCertificateFields () | |
| Get custom certificate fields. More... | |
Private Attributes | |
| $templateRepository | |
| $placeholderValuesObject | |
| $logger | |
| $user | |
| $utilHelper | |
| $mathJaxHelper | |
| $userDefinedFieldsHelper | |
| $rpcClientFactoryHelper | |
| $rootDirectory | |
| $pdfFileNameFactory | |
Definition at line 7 of file ilCertificateTemplatePreviewAction.php.
| ilCertificateTemplatePreviewAction::__construct | ( | ilCertificateTemplateRepository | $templateRepository, |
| ilCertificatePlaceholderValues | $placeholderValuesObject, | ||
| ilLogger | $logger = null, |
||
| ilObjUser | $user = null, |
||
| ilCertificateUtilHelper | $utilHelper = null, |
||
| ilCertificateMathJaxHelper | $mathJaxHelper = null, |
||
| ilCertificateUserDefinedFieldsHelper | $userDefinedFieldsHelper = null, |
||
| ilCertificateRpcClientFactoryHelper | $rpcClientFactoryHelper = null, |
||
| string | $rootDirectory = CLIENT_WEB_DIR, |
||
| ilCertificatePdfFileNameFactory | $pdfFileNameFactory = null |
||
| ) |
| ilCertificateTemplateRepository | $templateRepository | |
| ilCertificatePlaceholderValues | $placeholderValuesObject | |
| ilLogger | null | $logger | |
| ilObjUser | null | $user | |
| ilCertificateUtilHelper | null | $utilHelper | |
| ilCertificateMathJaxHelper | null | $mathJaxHelper | |
| ilCertificateUserDefinedFieldsHelper | null | $userDefinedFieldsHelper | |
| ilCertificateRpcClientFactoryHelper | null | $rpcClientFactoryHelper | |
| string | $rootDirectory | |
| ilCertificatePdfFileNameFactory | null | $pdfFileNameFactory |
Definition at line 71 of file ilCertificateTemplatePreviewAction.php.
References $DIC, $logger, $mathJaxHelper, $pdfFileNameFactory, $placeholderValuesObject, $rootDirectory, $rpcClientFactoryHelper, $templateRepository, $user, $userDefinedFieldsHelper, $utilHelper, and user().
Here is the call graph for this function:| ilCertificateTemplatePreviewAction::createPreviewPdf | ( | int | $objectId | ) |
| int | $objectId |
| ilException | |
| Exception |
Definition at line 132 of file ilCertificateTemplatePreviewAction.php.
References Vendor\Package\$e, and exchangeCertificateVariables().
Here is the call graph for this function:
|
private |
Exchanges the variables in the certificate text with given values.
| string | $certificate_text | The XSL-FO certificate text |
| ilCertificateTemplate | $template | |
| int | $objectId |
Definition at line 173 of file ilCertificateTemplatePreviewAction.php.
References ilCertificateTemplate\getBackgroundImagePath(), getCustomCertificateFields(), and user().
Referenced by createPreviewPdf().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Get custom certificate fields.
Definition at line 210 of file ilCertificateTemplatePreviewAction.php.
References Vendor\Package\$f.
Referenced by exchangeCertificateVariables().
Here is the caller graph for this function:
|
private |
Definition at line 22 of file ilCertificateTemplatePreviewAction.php.
Referenced by __construct().
|
private |
Definition at line 37 of file ilCertificateTemplatePreviewAction.php.
Referenced by __construct().
|
private |
Definition at line 57 of file ilCertificateTemplatePreviewAction.php.
Referenced by __construct().
|
private |
Definition at line 17 of file ilCertificateTemplatePreviewAction.php.
Referenced by __construct().
|
private |
Definition at line 52 of file ilCertificateTemplatePreviewAction.php.
Referenced by __construct().
|
private |
Definition at line 47 of file ilCertificateTemplatePreviewAction.php.
Referenced by __construct().
|
private |
Definition at line 12 of file ilCertificateTemplatePreviewAction.php.
Referenced by __construct().
|
private |
Definition at line 27 of file ilCertificateTemplatePreviewAction.php.
Referenced by __construct().
|
private |
Definition at line 42 of file ilCertificateTemplatePreviewAction.php.
Referenced by __construct().
|
private |
Definition at line 32 of file ilCertificateTemplatePreviewAction.php.
Referenced by __construct().