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

Awareness providers are. More...

+ Collaboration diagram for ILIAS\Awareness\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()

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

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

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

References $DIC.

Member Function Documentation

◆ getAllProviders()

ILIAS\Awareness\User\ProviderFactory::getAllProviders ( )

Get all awareness providers.

Returns
Provider[] array of ilAwarenessProvider all providers

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

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 }

References ILIAS\Awareness\User\ProviderFactory\$dic, and ILIAS\Awareness\User\ProviderFactory\$providers.

Field Documentation

◆ $dic

Container ILIAS\Awareness\User\ProviderFactory::$dic
protected

◆ $providers

array ILIAS\Awareness\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.

Referenced by ILIAS\Awareness\User\ProviderFactory\getAllProviders().


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