ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilAwarenessFeatureProviderFactory Class Reference

Factory for awareness feature providers. More...

+ Collaboration diagram for ilAwarenessFeatureProviderFactory:

Static Public Member Functions

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

Static Protected Attributes

static $providers
 

Detailed Description

Factory for awareness feature providers.

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.ilAwarenessFeatureProviderFactory.php.

Member Function Documentation

◆ getAllProviders()

static ilAwarenessFeatureProviderFactory::getAllProviders ( )
static

Get all awareness providers.

Returns
array of ilAwarenessProvider all providers

Definition at line 43 of file class.ilAwarenessFeatureProviderFactory.php.

References $providers.

Referenced by ilAwarenessFeatureCollector\getFeaturesForTargetUser().

44  {
45  $providers = array();
46 
47  foreach (self::$providers as $p)
48  {
49  $dir = (isset($p["dir"]))
50  ? $p["dir"]
51  : "classes";
52  include_once("./".$p["component"]."/".$dir."/class.".$p["class"].".php");
53  $providers[] = new $p["class"]();
54  }
55 
56  return $providers;
57  }
+ Here is the caller graph for this function:

Field Documentation

◆ $providers

ilAwarenessFeatureProviderFactory::$providers
staticprotected
Initial value:
= array(
array (
"component" => "Services/Contact/BuddySystem",
"class" => "ilAwarenessContactsFeatureProvider"
),
array (
"component" => "Services/Awareness",
"class" => "ilAwarenessMailFeatureProvider"
),
array (
"component" => "Services/Awareness",
"class" => "ilAwarenessUserFeatureProvider"
),
array (
"component" => "Services/Awareness",
"class" => "ilAwarenessWorkspaceFeatureProvider"
),
array (
"component" => "Services/Awareness",
"class" => "ilAwarenessChatFeatureProvider"
)
)

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

Referenced by getAllProviders().


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