ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilCertificateUserDefinedFieldsHelper Class Reference
+ Collaboration diagram for ilCertificateUserDefinedFieldsHelper:

Public Member Functions

 __construct ()
 
 getFields ()
 

Private Attributes

readonly Profile $profile
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilCertificateUserDefinedFieldsHelper::__construct ( )

Definition at line 31 of file ilCertificateUserDefinedFieldsHelper.php.

32 {
33 global $DIC;
34 $this->profile = $DIC['user']->getProfile();
35 }
global $DIC
Definition: shib_login.php:26

References $DIC, and ILIAS\Repository\profile().

+ Here is the call graph for this function:

Member Function Documentation

◆ getFields()

ilCertificateUserDefinedFieldsHelper::getFields ( )
Returns
<ILIAS\User\Profile\Fields\Custom\Custom>

Definition at line 40 of file ilCertificateUserDefinedFieldsHelper.php.

40 : array
41 {
42 return $this->profile->getVisibleUserDefinedFields(Context::Certificate);
43 }

References ILIAS\Repository\profile().

+ Here is the call graph for this function:

Field Documentation

◆ $profile

readonly Profile ilCertificateUserDefinedFieldsHelper::$profile
private

Definition at line 29 of file ilCertificateUserDefinedFieldsHelper.php.


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