ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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
Exceptions
ilInvalidCertificateException
Returns
mixed - [PLACEHOLDER] => 'actual value'

Implemented in ilExercisePlaceholderValues, ilCoursePlaceholderValues, and ilScormPlaceholderValues.

Referenced by ilUserDefinedFieldsPlaceholderValues\__construct(), ilDefaultPlaceholderValues\__construct(), and ilTestPlaceholderValues\__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, ilExercisePlaceholderValues, ilCoursePlaceholderValues, and ilUserDefinedFieldsPlaceholderValues.


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