19 declare(strict_types=1);
39 if ($DIC->http()->wrapper()->query()->has(
'usr_id')) {
40 $this->usr_id = $DIC->http()->wrapper()->query()->retrieve(
42 $DIC->refinery()->kindlyTo()->int()
44 $this->
ctrl->setParameter($this,
'usr_id', $this->usr_id);
55 !$this->
access->hasCurrentUserAccessToTalks() ||
56 !$this->
access->hasCurrentUserAccessToUser($this->usr_id)
67 strtolower(ilDashboardGUI::class),
68 strtolower(ilMyStaffGUI::class),
69 strtolower(ilMStShowUserGUI::class),
70 strtolower(ilEmployeeTalkMyStaffUserGUI::class)
87 if ($this->talk_access->hasPermissionToReadUnownedTalksOfUser($this->usr_id)) {
88 $talks = $this->
repository->findByEmployee($this->usr_id);
90 $talks = $this->
repository->findTalksBetweenEmployeeAndOwner(
92 $this->current_user->getId()
repository()
description: > Example for rendering a repository card
__construct(Container $dic, ilPlugin $plugin)