ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilUserActionProviderFactory.php
Go to the documentation of this file.
1 <?php
2 
24 {
25  protected static array $providers = array(
26  array(
27  "component" => "Services/Contact/BuddySystem",
28  "class" => "ilContactUserActionProvider"
29  ),
30  array(
31  "component" => "Services/User/Actions",
32  "class" => "ilMailUserActionProvider"
33  ),
34  array(
35  "component" => "Services/User/Actions",
36  "class" => "ilUserUserActionProvider"
37  ),
38  array(
39  "component" => "Services/User/Actions",
40  "class" => "ilWorkspaceUserActionProvider"
41  ),
42  array(
43  "component" => "Services/User/Actions",
44  "class" => "ilChatUserActionProvider"
45  ),
46  array(
47  "component" => "Modules/Group/UserActions",
48  "class" => "ilGroupUserActionProvider"
49  ),
50  array(
51  "component" => "Modules/EmployeeTalk",
52  "class" => "EmployeeTalkUserActionProvider"
53  )
54  );
55 
61  public static function getAllProviders(): 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  }
72 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getAllProviders()
Get all action providers.