|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\User\Badges\ProfileBadge:
Collaboration diagram for ILIAS\User\Badges\ProfileBadge:Public Member Functions | |
| __construct (private readonly Language $lng, private readonly \ilSetting $setting, private readonly RequestInterface $request, private readonly Profile $profile) | |
| getId () | |
| Get typ id (unique for component) More... | |
| getCaption () | |
| isSingleton () | |
| Can only be created once? More... | |
| getValidObjectTypes () | |
| Get valid (repository) "parent" object types. More... | |
| getConfigGUIInstance () | |
| Get GUI config instance. More... | |
| evaluate (int $user_id, array $params, ?array $config) | |
| Evaluate if given user has earned badge. More... | |
| getId () | |
| Get typ id (unique for component) More... | |
| getCaption () | |
| isSingleton () | |
| Can only be created once? More... | |
| getValidObjectTypes () | |
| Get valid (repository) "parent" object types. More... | |
| getConfigGUIInstance () | |
| Get GUI config instance. More... | |
| evaluate (int $a_user_id, array $a_params, ?array $a_config) | |
| Evaluate if given user has earned badge. More... | |
Definition at line 30 of file ProfileBadge.php.
| ILIAS\User\Badges\ProfileBadge::__construct | ( | private readonly Language | $lng, |
| private readonly \ilSetting | $setting, | ||
| private readonly RequestInterface | $request, | ||
| private readonly Profile | $profile | ||
| ) |
Definition at line 32 of file ProfileBadge.php.
| ILIAS\User\Badges\ProfileBadge::evaluate | ( | int | $a_user_id, |
| array | $a_params, | ||
| ?array | $a_config | ||
| ) |
Evaluate if given user has earned badge.
Implements ilBadgeAuto.
Definition at line 68 of file ProfileBadge.php.
References $user_id, ilObjPortfolio\getPortfoliosOfUser(), and ILIAS\Repository\profile().
Here is the call graph for this function:| ILIAS\User\Badges\ProfileBadge::getCaption | ( | ) |
Implements ilBadgeType.
Definition at line 45 of file ProfileBadge.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\User\Badges\ProfileBadge::getConfigGUIInstance | ( | ) |
Get GUI config instance.
Implements ilBadgeType.
Definition at line 60 of file ProfileBadge.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\User\Badges\ProfileBadge::getId | ( | ) |
Get typ id (unique for component)
Implements ilBadgeType.
Definition at line 40 of file ProfileBadge.php.
| ILIAS\User\Badges\ProfileBadge::getValidObjectTypes | ( | ) |
Get valid (repository) "parent" object types.
Implements ilBadgeType.
Definition at line 55 of file ProfileBadge.php.
| ILIAS\User\Badges\ProfileBadge::isSingleton | ( | ) |
Can only be created once?
Implements ilBadgeType.
Definition at line 50 of file ProfileBadge.php.