ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
ilUserActionProvider[] all providers

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

References $providers, and array.

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

48  {
49  $providers = array();
50 
51  foreach (self::$providers as $p) {
52  $dir = (isset($p["dir"]))
53  ? $p["dir"]
54  : "classes";
55  include_once("./" . $p["component"] . "/" . $dir . "/class." . $p["class"] . ".php");
56  $providers[] = new $p["class"]();
57  }
58 
59  return $providers;
60  }
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"
),
"component" => "Modules/Group/UserActions",
"class" => "ilGroupUserActionProvider"
)
)

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

Referenced by getAllProviders().


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