ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ProviderSystemContacts.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\Awareness\User;
20
22
28{
29 protected \ilDBInterface $db;
30 protected \ilLanguage $lng;
31
32 public function __construct(Container $DIC)
33 {
34 $this->db = $DIC->database();
35 $this->lng = $DIC->language();
36 }
37
38 public function getProviderId(): string
39 {
40 return "adm_contacts";
41 }
42
47 public function getTitle(): string
48 {
49 $this->lng->loadLanguageModule("adm");
50 return $this->lng->txt("adm_support_contacts");
51 }
52
57 public function getInfo(): string
58 {
59 $this->lng->loadLanguageModule("adm");
60 return $this->lng->txt("adm_awrn_support_contacts_info");
61 }
62
68 public function getInitialUserSet(?array $user_ids = null): array
69 {
70 return \ilSystemSupportContacts::getValidSupportContactIds();
71 }
72
73 public function isHighlighted(): bool
74 {
75 return false;
76 }
77}
getInfo()
Provider info (used in administration settings)
getTitle()
Provider title (used in awareness overlay and in administration settings)
getInitialUserSet(?array $user_ids=null)
Get initial set of users.
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
language()
Get interface to the i18n service.
Definition: Container.php:95
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:26