ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Awareness\User\ProviderSystemContacts Class Reference

All system contacts listed. More...

+ Inheritance diagram for ILIAS\Awareness\User\ProviderSystemContacts:
+ Collaboration diagram for ILIAS\Awareness\User\ProviderSystemContacts:

Public Member Functions

 __construct (Container $DIC)
 
 getProviderId ()
 
 getTitle ()
 Provider title (used in awareness overlay and in administration settings) More...
 
 getInfo ()
 Provider info (used in administration settings) More...
 
 getInitialUserSet (?array $user_ids=null)
 Get initial set of users. More...
 
 isHighlighted ()
 Is highlighted. More...
 
 getProviderId ()
 
 getTitle ()
 Provider title (used in awareness overlay and in administration settings) More...
 
 getInfo ()
 Provider info (used in administration settings) More...
 
 getInitialUserSet (?array $user_ids=null)
 Get initial set of users. More...
 
 isHighlighted ()
 Is highlighted. More...
 

Protected Attributes

ilDBInterface $db
 
ilLanguage $lng
 

Detailed Description

All system contacts listed.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 27 of file class.ProviderSystemContacts.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Awareness\User\ProviderSystemContacts::__construct ( Container  $DIC)

Definition at line 32 of file class.ProviderSystemContacts.php.

33 {
34 $this->db = $DIC->database();
35 $this->lng = $DIC->language();
36 }
global $DIC
Definition: shib_login.php:26

References $DIC, ILIAS\DI\Container\language(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

Member Function Documentation

◆ getInfo()

ILIAS\Awareness\User\ProviderSystemContacts::getInfo ( )

Provider info (used in administration settings)

Returns
string provider info text

Implements ILIAS\Awareness\User\Provider.

Definition at line 57 of file class.ProviderSystemContacts.php.

57 : string
58 {
59 $this->lng->loadLanguageModule("adm");
60 return $this->lng->txt("adm_awrn_support_contacts_info");
61 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ getInitialUserSet()

ILIAS\Awareness\User\ProviderSystemContacts::getInitialUserSet ( ?array  $user_ids = null)

Get initial set of users.

Parameters
?int[]$user_ids
Returns
int[] array of user IDs

Implements ILIAS\Awareness\User\Provider.

Definition at line 68 of file class.ProviderSystemContacts.php.

68 : array
69 {
70 return \ilSystemSupportContacts::getValidSupportContactIds();
71 }

◆ getProviderId()

ILIAS\Awareness\User\ProviderSystemContacts::getProviderId ( )

Implements ILIAS\Awareness\User\Provider.

Definition at line 38 of file class.ProviderSystemContacts.php.

38 : string
39 {
40 return "adm_contacts";
41 }

◆ getTitle()

ILIAS\Awareness\User\ProviderSystemContacts::getTitle ( )

Provider title (used in awareness overlay and in administration settings)

Returns
string provider title

Implements ILIAS\Awareness\User\Provider.

Definition at line 47 of file class.ProviderSystemContacts.php.

47 : string
48 {
49 $this->lng->loadLanguageModule("adm");
50 return $this->lng->txt("adm_support_contacts");
51 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ isHighlighted()

ILIAS\Awareness\User\ProviderSystemContacts::isHighlighted ( )

Is highlighted.

Returns
bool return true, if user group should be highlighted (using extra highlighted number)

Implements ILIAS\Awareness\User\Provider.

Definition at line 73 of file class.ProviderSystemContacts.php.

73 : bool
74 {
75 return false;
76 }

Field Documentation

◆ $db

ilDBInterface ILIAS\Awareness\User\ProviderSystemContacts::$db
protected

Definition at line 29 of file class.ProviderSystemContacts.php.

◆ $lng

ilLanguage ILIAS\Awareness\User\ProviderSystemContacts::$lng
protected

Definition at line 30 of file class.ProviderSystemContacts.php.


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