ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
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.

Parameters
int$userId
int$objId
Returns
array - [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.

Parameters
int$userId
int$objId
Returns
array

Implemented in ilScormPlaceholderValues, ilDefaultPlaceholderValues, ilTestPlaceholderValues, ilCoursePlaceholderValues, ilExercisePlaceholderValues, ilStudyProgrammePlaceholderValues, ilCmiXapiPlaceholderValues, ilLTIConsumerPlaceholderValues, ilUserDefinedFieldsPlaceholderValues, and ilObjectCustomUserFieldsPlaceholderValues.


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