ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ceLTIc\LTI\User\ProviderFactory Class Reference

Awareness providers are. More...

+ Collaboration diagram for ceLTIc\LTI\User\ProviderFactory:

Public Member Functions

 __construct (Container $DIC)
 
 getAllProviders ()
 Get all awareness providers. More...
 

Protected Attributes

Container $dic
 

Static Protected Attributes

static array $providers
 

Detailed Description

Awareness providers are.

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

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

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 64 of file class.ProviderFactory.php.

References $DIC.

65  {
66  $this->dic = $DIC;
67  }
global $DIC
Definition: shib_login.php:22

Member Function Documentation

◆ getAllProviders()

ceLTIc\LTI\User\ProviderFactory::getAllProviders ( )

Get all awareness providers.

Returns
Provider[] array of ilAwarenessProvider all providers

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

References $dic.

73  : array
74  {
75  $providers = array();
76 
77  foreach (self::$providers as $p) {
78  $providers[] = new $p["class"]($this->dic);
79  }
80 
81  return $providers;
82  }
$dic
Definition: result.php:31

Field Documentation

◆ $dic

Container ceLTIc::LTI\User\ProviderFactory::$dic
protected

Definition at line 62 of file class.ProviderFactory.php.

◆ $providers

array ceLTIc::LTI\User\ProviderFactory::$providers
staticprotected
Initial value:
= array(
array(
"component" => "components/ILIAS/Contact/BuddySystem",
"class" => "ilAwarenessUserProviderContactRequests"
),
array(
"component" => "components/ILIAS/Awareness",
"class" => "\ILIAS\Awareness\User\ProviderSystemContacts"
),
array(
"component" => "components/ILIAS/Awareness",
"class" => "\ILIAS\Awareness\User\ProviderCourseContacts"
),
array(
"component" => "components/ILIAS/Awareness",
"class" => "\ILIAS\Awareness\User\ProviderCurrentCourse"
),
array(
"component" => "components/ILIAS/Contact/BuddySystem",
"class" => "ilAwarenessUserProviderApprovedContacts"
),
array(
"component" => "components/ILIAS/Awareness",
"class" => "\ILIAS\Awareness\User\ProviderMemberships"
),
array(
"component" => "components/ILIAS/Awareness",
"class" => "\ILIAS\Awareness\User\ProviderAllUsers"
)
)

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


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