ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  {
63  $dir = (isset($p["dir"]))
64  ? $p["dir"]
65  : "classes";
66  include_once("./".$p["component"]."/".$dir."/class.".$p["class"].".php");
67  $providers[] = new $p["class"]();
68  }
69 
70  return $providers;
71  }
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: