ILIAS  trunk Revision v12.0_alpha-16-g3e876e53c80
AdminManager.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 protected \ilObjUser $user;
28 protected \ILIAS\Help\GuidedTour\Elements\IdPresentation $id_pres;
29
30 public function __construct(
31 protected InternalDomainService $domain
32 ) {
33 $this->id_pres = $domain->idPresentation();
34 $this->user = $domain->user();
35 }
36
37 public function areIdentifiersVisible(): bool
38 {
39 return in_array($this->user->getLogin(), $this->id_pres->getValidIdPresentationUsers());
40 }
41}
ILIAS Help GuidedTour Elements IdPresentation $id_pres
__construct(protected InternalDomainService $domain)