ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilUserActionProviderFactory Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilUserActionProviderFactory:

Static Public Member Functions

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

Static Protected Attributes

static array $providers
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Factory for user action providers

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Member Function Documentation

◆ getAllProviders()

static ilUserActionProviderFactory::getAllProviders ( )
static

Get all action providers.

Returns
ilUserActionProvider[] all providers

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

References $providers.

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

61  : array
62  {
63  $providers = array();
64 
65  foreach (self::$providers as $p) {
66  $dir = $p["dir"] ?? "classes";
67  $providers[] = new $p["class"]();
68  }
69 
70  return $providers;
71  }
+ Here is the caller graph for this function:

Field Documentation

◆ $providers

array ilUserActionProviderFactory::$providers
staticprotected
Initial value:
= array(
array(
"component" => "Services/Contact/BuddySystem",
"class" => "ilContactUserActionProvider"
),
array(
"component" => "Services/User/Actions",
"class" => "ilMailUserActionProvider"
),
array(
"component" => "Services/User/Actions",
"class" => "ilUserUserActionProvider"
),
array(
"component" => "Services/User/Actions",
"class" => "ilWorkspaceUserActionProvider"
),
array(
"component" => "Services/User/Actions",
"class" => "ilChatUserActionProvider"
),
array(
"component" => "Modules/Group/UserActions",
"class" => "ilGroupUserActionProvider"
),
array(
"component" => "Modules/EmployeeTalk",
"class" => "EmployeeTalkUserActionProvider"
)
)

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

Referenced by getAllProviders().


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