ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ceLTIc\LTI\User\ProviderSystemContacts Class Reference

All system contacts listed. More...

+ Inheritance diagram for ceLTIc\LTI\User\ProviderSystemContacts:
+ Collaboration diagram for ceLTIc\LTI\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...
 

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()

ceLTIc\LTI\User\ProviderSystemContacts::__construct ( Container  $DIC)

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

References ILIAS\Repository\lng().

33  {
34  $this->db = $DIC->database();
35  $this->lng = $DIC->language();
36  }
global $DIC
Definition: shib_login.php:26
+ Here is the call graph for this function:

Member Function Documentation

◆ getInfo()

ceLTIc\LTI\User\ProviderSystemContacts::getInfo ( )

Provider info (used in administration settings)

Returns
string provider info text

Implements ceLTIc\LTI\User\Provider.

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

References ILIAS\Repository\lng().

57  : string
58  {
59  $this->lng->loadLanguageModule("adm");
60  return $this->lng->txt("adm_awrn_support_contacts_info");
61  }
+ Here is the call graph for this function:

◆ getInitialUserSet()

ceLTIc\LTI\User\ProviderSystemContacts::getInitialUserSet ( ?array  $user_ids = null)

Get initial set of users.

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

Implements ceLTIc\LTI\User\Provider.

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

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

◆ getProviderId()

ceLTIc\LTI\User\ProviderSystemContacts::getProviderId ( )

Implements ceLTIc\LTI\User\Provider.

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

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

◆ getTitle()

ceLTIc\LTI\User\ProviderSystemContacts::getTitle ( )

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

Returns
string provider title

Implements ceLTIc\LTI\User\Provider.

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

References ILIAS\Repository\lng().

47  : string
48  {
49  $this->lng->loadLanguageModule("adm");
50  return $this->lng->txt("adm_support_contacts");
51  }
+ Here is the call graph for this function:

◆ isHighlighted()

ceLTIc\LTI\User\ProviderSystemContacts::isHighlighted ( )

Is highlighted.

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

Implements ceLTIc\LTI\User\Provider.

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

73  : bool
74  {
75  return false;
76  }

Field Documentation

◆ $db

ilDBInterface ceLTIc::LTI\User\ProviderSystemContacts::$db
protected

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

◆ $lng

ilLanguage ceLTIc::LTI\User\ProviderSystemContacts::$lng
protected

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


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