|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collection of basic placeholder values that can be used. More...
Inheritance diagram for ilDefaultPlaceholderValues:
Collaboration diagram for ilDefaultPlaceholderValues:Public Member Functions | |
| __construct (?ilCertificateObjectHelper $objectHelper=null, ?ilCertificateDateHelper $dateHelper=null, ?int $dateFormat=null, ?ilLanguage $language=null, ?ilCertificateUtilHelper $utilHelper=null, ?ilUserDefinedFieldsPlaceholderValues $userDefinedFieldsPlaceholderValues=null, private readonly 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... | |
| setUserLanguage (ilLanguage $language) | |
Public Member Functions inherited from ilCertificatePlaceholderValues | |
| 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... | |
Private Member Functions | |
| getUserLanguage (ilObjUser $user) | |
Private Attributes | |
| readonly array | $placeholder |
| readonly ilCertificateObjectHelper | $objectHelper |
| readonly ilCertificateDateHelper | $dateHelper |
| readonly int | $dateFormat |
| readonly ilLanguage | $language |
| readonly ilCertificateUtilHelper | $utilHelper |
| readonly ilUserDefinedFieldsPlaceholderValues | $userDefinedFieldsPlaceholderValues |
| ilLanguage | $user_language = null |
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, |
||
| private readonly int | $birthdayDateFormat = IL_CAL_DATE |
||
| ) |
Definition at line 38 of file class.ilDefaultPlaceholderValues.php.
References $dateFormat, $dateHelper, $DIC, $language, $objectHelper, $objId, $placeholder, $userDefinedFieldsPlaceholderValues, $utilHelper, ilCertificatePlaceholderValues\getPlaceholderValues(), getUserLanguage(), IL_CAL_UNIX, and ILIAS\UI\examples\Symbol\Glyph\Language\language().
Here is the call graph for this function:| 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
| ilDateTimeException | |
| ilException |
Implements ilCertificatePlaceholderValues.
Definition at line 170 of file class.ilDefaultPlaceholderValues.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
Here is the call graph for this function:
|
private |
Definition at line 214 of file class.ilDefaultPlaceholderValues.php.
References $language, $user_language, ilObjUser\getLanguage(), and ilLanguage\loadLanguageModule().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDefaultPlaceholderValues::setUserLanguage | ( | ilLanguage | $language | ) |
Definition at line 228 of file class.ilDefaultPlaceholderValues.php.
References $language.
|
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(), getUserLanguage(), and setUserLanguage().
|
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 36 of file class.ilDefaultPlaceholderValues.php.
Referenced by getUserLanguage().
|
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().