ILIAS
release_8 Revision v8.23
|
Collection of basic placeholder values that can be used. More...
Public Member Functions | |
__construct (?ilCertificateObjectHelper $objectHelper=null, ?ilCertificateDateHelper $dateHelper=null, ?int $dateFormat=null, ?ilLanguage $language=null, ?ilCertificateUtilHelper $utilHelper=null, ?ilUserDefinedFieldsPlaceholderValues $userDefinedFieldsPlaceholderValues=null, int $birthdayDateFormat=IL_CAL_DATE) | |
getPlaceholderValuesForPreview (int $userId, int $objId) | |
This method is different then the 'getPlaceholderValues' method, this method is used to create a placeholder value array containing dummy values that is used to create a preview certificate. More... | |
![]() | |
getPlaceholderValues (int $userId, int $objId) | |
This method MUST return an array that contains the actual data for the given user of the given object. More... | |
Collection of basic placeholder values that can be used.
Definition at line 27 of file class.ilDefaultPlaceholderValues.php.
ilDefaultPlaceholderValues::__construct | ( | ?ilCertificateObjectHelper | $objectHelper = null , |
?ilCertificateDateHelper | $dateHelper = null , |
||
?int | $dateFormat = null , |
||
?ilLanguage | $language = null , |
||
?ilCertificateUtilHelper | $utilHelper = null , |
||
?ilUserDefinedFieldsPlaceholderValues | $userDefinedFieldsPlaceholderValues = null , |
||
int | $birthdayDateFormat = IL_CAL_DATE |
||
) |
Definition at line 38 of file class.ilDefaultPlaceholderValues.php.
References $birthdayDateFormat, $dateFormat, $dateHelper, $DIC, $language, $objectHelper, $objId, $placeholder, $userDefinedFieldsPlaceholderValues, $utilHelper, ilCertificatePlaceholderValues\getPlaceholderValues(), IL_CAL_UNIX, ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ilLanguage\loadLanguageModule().
ilDefaultPlaceholderValues::getPlaceholderValuesForPreview | ( | int | $userId, |
int | $objId | ||
) |
This method is different then the 'getPlaceholderValues' method, this method is used to create a placeholder value array containing dummy values that is used to create a preview certificate.
Due the fact that this is a class to create default values the placeholder values will be identical to the description
int | $userId | |
int | $objId |
ilDateTimeException | |
ilException |
Implements ilCertificatePlaceholderValues.
Definition at line 178 of file class.ilDefaultPlaceholderValues.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
|
private |
Definition at line 36 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 32 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 31 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 33 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 30 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 29 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 35 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 34 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().