ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (?ilDefaultPlaceholderValues $defaultPlaceholderValues=null, ?ilLanguage $language=null, ?ilCertificateObjectHelper $objectHelper=null, ?ilCertificateParticipantsHelper $participantsHelper=null, ?ilCertificateUtilHelper $ilUtilHelper=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... | |
Protected Member Functions | |
getRelevantProgressFromAssignments (array $assignments) | |
getLatestSuccessfulAssignment (array $assignments) | |
Definition at line 21 of file class.ilStudyProgrammePlaceholderValues.php.
ilStudyProgrammePlaceholderValues::__construct | ( | ?ilDefaultPlaceholderValues | $defaultPlaceholderValues = null , |
?ilLanguage | $language = null , |
||
?ilCertificateObjectHelper | $objectHelper = null , |
||
?ilCertificateParticipantsHelper | $participantsHelper = null , |
||
?ilCertificateUtilHelper | $ilUtilHelper = null |
||
) |
Definition at line 29 of file class.ilStudyProgrammePlaceholderValues.php.
References $DIC, $ilUtilHelper, $language, $objectHelper, $participantsHelper, ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ilLanguage\loadLanguageModule().
|
protected |
Definition at line 139 of file class.ilStudyProgrammePlaceholderValues.php.
References Vendor\Package\$a, Vendor\Package\$b, and ilPRGAssignment\getProgressTree().
Referenced by getRelevantProgressFromAssignments().
ilStudyProgrammePlaceholderValues::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 |
Implements ilCertificatePlaceholderValues.
Definition at line 78 of file class.ilStudyProgrammePlaceholderValues.php.
References $type, getRelevantProgressFromAssignments(), and ilLegacyFormElementsUtil\prepareFormOutput().
ilStudyProgrammePlaceholderValues::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 110 of file class.ilStudyProgrammePlaceholderValues.php.
References $type, and ilLegacyFormElementsUtil\prepareFormOutput().
|
protected |
Definition at line 126 of file class.ilStudyProgrammePlaceholderValues.php.
References getLatestSuccessfulAssignment().
Referenced by getPlaceholderValues(), and PRGPlaceholderMock\getRelevantProgress().
|
private |
Definition at line 23 of file class.ilStudyProgrammePlaceholderValues.php.
|
private |
Definition at line 27 of file class.ilStudyProgrammePlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 24 of file class.ilStudyProgrammePlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 25 of file class.ilStudyProgrammePlaceholderValues.php.
Referenced by __construct().
|
private |
Definition at line 26 of file class.ilStudyProgrammePlaceholderValues.php.
Referenced by __construct().