ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (?ilObjectCustomUserFieldsPlaceholderValues $customUserFieldsPlaceholderValues=null, ?ilDefaultPlaceholderValues $defaultPlaceholderValues=null, ?ilLanguage $language=null, ?ilCertificateObjectHelper $objectHelper=null, ?ilCertificateParticipantsHelper $participantsHelper=null, ?ilCertificateUtilHelper $ilUtilHelper=null, ?ilCertificateDateHelper $dateHelper=null, ?ilCertificateLPStatusHelper $lpStatusHelper=null) | |
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 | |
hasCompletionDate ($possibleDate) | |
Definition at line 24 of file class.ilCoursePlaceholderValues.php.
ilCoursePlaceholderValues::__construct | ( | ?ilObjectCustomUserFieldsPlaceholderValues | $customUserFieldsPlaceholderValues = null , |
?ilDefaultPlaceholderValues | $defaultPlaceholderValues = null , |
||
?ilLanguage | $language = null , |
||
?ilCertificateObjectHelper | $objectHelper = null , |
||
?ilCertificateParticipantsHelper | $participantsHelper = null , |
||
?ilCertificateUtilHelper | $ilUtilHelper = null , |
||
?ilCertificateDateHelper | $dateHelper = null , |
||
?ilCertificateLPStatusHelper | $lpStatusHelper = null |
||
) |
Definition at line 35 of file class.ilCoursePlaceholderValues.php.
References $dateHelper, $DIC, $ilUtilHelper, $language, $lpStatusHelper, $objectHelper, $participantsHelper, ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ilLanguage\loadLanguageModule().
ilCoursePlaceholderValues::getPlaceholderValues | ( | int | $userId, |
int | $objId | ||
) |
This method MUST return an array that contains the actual data for the given user of the given object.
ilInvalidCertificateException MUST be thrown if the data could not be determined or the user did NOT achieve the certificate.
int | $userId | |
int | $objId |
ilDatabaseException | |
ilDateTimeException | |
ilException | |
ilInvalidCertificateException | |
ilObjectNotFoundException |
Implements ilCertificatePlaceholderValues.
Definition at line 117 of file class.ilCoursePlaceholderValues.php.
References hasCompletionDate().
ilCoursePlaceholderValues::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.
int | $userId | |
int | $objId |
Implements ilCertificatePlaceholderValues.
Definition at line 157 of file class.ilCoursePlaceholderValues.php.
References ilLegacyFormElementsUtil\prepareFormOutput().
|
private |
mixed | $possibleDate |
Definition at line 93 of file class.ilCoursePlaceholderValues.php.
Referenced by getPlaceholderValues().
|
private |
Definition at line 27 of file class.ilCoursePlaceholderValues.php.
|
private |
Definition at line 32 of file class.ilCoursePlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 26 of file class.ilCoursePlaceholderValues.php.
|
private |
Definition at line 31 of file class.ilCoursePlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 28 of file class.ilCoursePlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 33 of file class.ilCoursePlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 29 of file class.ilCoursePlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 30 of file class.ilCoursePlaceholderValues.php.
Referenced by __construct().