|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 $unix_ts_format_id=null, ?ilLanguage $language=null, ?Profile $profile=null, ?ilCertificateUtilHelper $utilHelper=null, ?ilUserDefinedFieldsPlaceholderValues $userDefinedFieldsPlaceholderValues=null, ?ILIAS\Data\UUID\Factory $uuid_factory=null, ?int $birthdayDateFormat=null) | |
| 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... | |
| 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... | |
Private Member Functions | |
| getUserLanguage (ilObjUser $user) | |
Private Attributes | |
| readonly array | $placeholder |
| readonly ilCertificateObjectHelper | $objectHelper |
| readonly ilCertificateDateHelper | $dateHelper |
| readonly int | $unix_ts_format_id |
| readonly int | $birthdayDateFormat |
| readonly ilLanguage | $language |
| readonly ilCertificateUtilHelper | $utilHelper |
| readonly ilUserDefinedFieldsPlaceholderValues | $userDefinedFieldsPlaceholderValues |
| readonly Factory | $uuid_factory |
| ilLanguage | $user_language = null |
Collection of basic placeholder values that can be used.
Definition at line 28 of file class.ilDefaultPlaceholderValues.php.
| ilDefaultPlaceholderValues::__construct | ( | ?ilCertificateObjectHelper | $objectHelper = null, |
| ?ilCertificateDateHelper | $dateHelper = null, |
||
| ?int | $unix_ts_format_id = null, |
||
| ?ilLanguage | $language = null, |
||
| ?Profile | $profile = null, |
||
| ?ilCertificateUtilHelper | $utilHelper = null, |
||
| ?ilUserDefinedFieldsPlaceholderValues | $userDefinedFieldsPlaceholderValues = null, |
||
| ?ILIAS\Data\UUID\Factory | $uuid_factory = null, |
||
| ?int | $birthdayDateFormat = null |
||
| ) |
Definition at line 42 of file class.ilDefaultPlaceholderValues.php.
References $birthdayDateFormat, $dateHelper, $DIC, $language, $objectHelper, $unix_ts_format_id, $userDefinedFieldsPlaceholderValues, $utilHelper, $uuid_factory, IL_CAL_DATE, IL_CAL_UNIX, ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ilLanguage\loadLanguageModule().
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 174 of file class.ilDefaultPlaceholderValues.php.
References $objId, and ILIAS\UI\examples\Symbol\Glyph\Language\language().
Here is the call graph for this function:
|
private |
Definition at line 224 of file class.ilDefaultPlaceholderValues.php.
References $language, $user_language, ilObjUser\getLanguage(), and ilLanguage\loadLanguageModule().
Here is the call graph for this function:| ilDefaultPlaceholderValues::setUserLanguage | ( | ilLanguage | $language | ) |
Definition at line 238 of file class.ilDefaultPlaceholderValues.php.
References $language.
|
private |
Definition at line 34 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 35 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct(), getUserLanguage(), and setUserLanguage().
|
private |
Definition at line 31 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 30 of file class.ilDefaultPlaceholderValues.php.
|
private |
Definition at line 33 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 39 of file class.ilDefaultPlaceholderValues.php.
Referenced by getUserLanguage().
|
private |
Definition at line 37 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 36 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 38 of file class.ilDefaultPlaceholderValues.php.
Referenced by __construct().