ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilAwarenessUserProviderFactory Class Reference

Awareness providers are. More...

+ Collaboration diagram for ilAwarenessUserProviderFactory:

Static Public Member Functions

static getAllProviders ()
 Get all awareness providers. More...
 

Static Protected Attributes

static $providers
 

Detailed Description

Awareness providers are.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 12 of file class.ilAwarenessUserProviderFactory.php.

Member Function Documentation

◆ getAllProviders()

static ilAwarenessUserProviderFactory::getAllProviders ( )
static

Get all awareness providers.

Returns
[] array of ilAwarenessProvider all providers

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

References $providers, and array.

Referenced by ilAwarenessUserCollector\collectUsers(), ilObjAwarenessAdministrationGUI\initFormSettings(), and ilObjAwarenessAdministrationGUI\saveSettings().

58  {
59  $providers = array();
60 
61  foreach (self::$providers as $p) {
62  $dir = (isset($p["dir"]))
63  ? $p["dir"]
64  : "classes";
65  include_once("./" . $p["component"] . "/" . $dir . "/class." . $p["class"] . ".php");
66  $providers[] = new $p["class"]();
67  }
68 
69  return $providers;
70  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

Field Documentation

◆ $providers

ilAwarenessUserProviderFactory::$providers
staticprotected
Initial value:
"component" => "Services/Contact/BuddySystem",
"class" => "ilAwarenessUserProviderContactRequests"
),
"component" => "Services/Awareness",
"class" => "ilAwarenessUserProviderSystemContacts"
),
"component" => "Services/Awareness",
"class" => "ilAwarenessUserProviderCourseContacts"
),
"component" => "Services/Awareness",
"class" => "ilAwarenessUserProviderCurrentCourse"
),
"component" => "Services/Contact/BuddySystem",
"class" => "ilAwarenessUserProviderApprovedContacts"
),
"component" => "Services/Awareness",
"class" => "ilAwarenessUserProviderMemberships"
),
"component" => "Services/Awareness",
"class" => "ilAwarenessUserProviderAllUsers"
)
)

Definition at line 14 of file class.ilAwarenessUserProviderFactory.php.

Referenced by getAllProviders().


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