ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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) | |
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 | |
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 |
||
) |
ilCertificateTemplateRepository | $templateRepository | |
ilCertificatePlaceholderValues | $placeholderValuesObject | |
ilLogger | null | $logger | |
ilObjUser | null | $user | |
ilCertificateUtilHelper | null | $utilHelper | |
ilCertificateMathJaxHelper | null | $mathJaxHelper | |
ilCertificateUserDefinedFieldsHelper | null | $userDefinedFieldsHelper | |
ilCertificateRpcClientFactoryHelper | null | $rpcClientFactoryHelper | |
string | $rootDirectory |
Definition at line 65 of file ilCertificateTemplatePreviewAction.php.
References $DIC, $logger, $mathJaxHelper, $placeholderValuesObject, $rootDirectory, $rpcClientFactoryHelper, $templateRepository, $user, $userDefinedFieldsHelper, $utilHelper, and user().
ilCertificateTemplatePreviewAction::createPreviewPdf | ( | int | $objectId | ) |
int | $objectId |
ilException | |
Exception |
Definition at line 120 of file ilCertificateTemplatePreviewAction.php.
References $template, and exchangeCertificateVariables().
|
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 153 of file ilCertificateTemplatePreviewAction.php.
References $key, ilCertificateTemplate\getBackgroundImagePath(), getCustomCertificateFields(), and user().
Referenced by createPreviewPdf().
|
private |
Get custom certificate fields.
Definition at line 190 of file ilCertificateTemplatePreviewAction.php.
References $f.
Referenced by exchangeCertificateVariables().
|
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 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().