ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilUserActionProviderFactory Class Reference

Factory for user action providers. More...

+ Collaboration diagram for ilUserActionProviderFactory:

Static Public Member Functions

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

Static Protected Attributes

static $providers
 

Detailed Description

Factory for user action 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.ilUserActionProviderFactory.php.

Member Function Documentation

◆ getAllProviders()

static ilUserActionProviderFactory::getAllProviders ( )
static

Get all action providers.

Returns
array[ilUserActionProvider] all providers

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

References $providers, and array.

Referenced by ilUserActionAdminGUI\getActions(), and ilUserActionCollector\getActionsForTargetUser().

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  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

Field Documentation

◆ $providers

ilUserActionProviderFactory::$providers
staticprotected
Initial value:
"component" => "Services/Contact/BuddySystem",
"class" => "ilContactUserActionProvider"
),
"component" => "Services/User/Actions",
"class" => "ilMailUserActionProvider"
),
"component" => "Services/User/Actions",
"class" => "ilUserUserActionProvider"
),
"component" => "Services/User/Actions",
"class" => "ilWorkspaceUserActionProvider"
),
"component" => "Services/User/Actions",
"class" => "ilChatUserActionProvider"
)
)

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

Referenced by getAllProviders().


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