ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilCertificatePlaceholderValues Interface Reference
+ Inheritance diagram for ilCertificatePlaceholderValues:
+ Collaboration diagram for ilCertificatePlaceholderValues:

Public Member Functions

 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...
 

Detailed Description

Member Function Documentation

◆ getPlaceholderValues()

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.

ilInvalidCertificateException MUST be thrown if the data could not be determined or the user did NOT achieve the certificate.

Returns
array<string, string> - [PLACEHOLDER] => 'actual value'
Exceptions
ilInvalidCertificateException

Implemented in ilCmiXapiPlaceholderValues, and ILIAS\StudyProgramme\Certificate\ilStudyProgrammePlaceholderValues.

◆ getPlaceholderValuesForPreview()

ilCertificatePlaceholderValues::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.

Returns
array<string, string> - [PLACEHOLDER] => 'actual value'

Implemented in ilDefaultPlaceholderValues, ilObjectCustomUserFieldsPlaceholderValues, ilUserDefinedFieldsPlaceholderValues, ilCmiXapiPlaceholderValues, ILIAS\Course\Certificate\CoursePlaceholderValues, ILIAS\Exercise\Certificate\ExercisePlaceholderValues, ilLTIConsumerPlaceholderValues, ilScormPlaceholderValues, ILIAS\StudyProgramme\Certificate\ilStudyProgrammePlaceholderValues, and ILIAS\Test\Certificate\TestPlaceholderValues.


The documentation for this interface was generated from the following file: