ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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 ilLTIConsumerPlaceholderValues, ilCmiXapiPlaceholderValues, ilCoursePlaceholderValues, ilExercisePlaceholderValues, ilScormPlaceholderValues, and ilStudyProgrammePlaceholderValues.

Referenced by ilObjectCustomUserFieldsPlaceholderValues\__construct(), ilUserDefinedFieldsPlaceholderValues\__construct(), ilTestPlaceholderValues\__construct(), and ilDefaultPlaceholderValues\__construct().

+ Here is the caller graph for this function:

◆ 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 ilScormPlaceholderValues, ilDefaultPlaceholderValues, ilCoursePlaceholderValues, ilTestPlaceholderValues, ilExercisePlaceholderValues, ilCmiXapiPlaceholderValues, ilLTIConsumerPlaceholderValues, ilUserDefinedFieldsPlaceholderValues, ilStudyProgrammePlaceholderValues, and ilObjectCustomUserFieldsPlaceholderValues.


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