ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Container.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3 
4 namespace ILIAS\DI;
5 
18  public function database() {
19  return $this["ilDB"];
20  }
21 
27  public function rbac() {
28  return new RBACServices($this);
29  }
30 
36  public function ctrl() {
37  return $this["ilCtrl"];
38  }
39 
45  public function user() {
46  return $this["ilUser"];
47  }
48 
54  public function access() {
55  return $this["ilAccess"];
56  }
57 
63  public function repositoryTree() {
64  return $this["tree"];
65  }
66 
72  public function language() {
73  return $this["lng"];
74  }
75 
81  public function logger() {
82  return new LoggingServices($this);
83  }
84 
90  public function toolbar() {
91  return $this["ilToolbar"];
92  }
93 
99  public function tabs() {
100  return $this["ilTabs"];
101  }
102 
108  public function ui() {
109  return new UIServices($this);
110  }
111 
115  public function event() {
116  return $this['ilAppEventHandler'];
117  }
118 }
logger()
Get interface to get interfaces to different loggers.
Definition: Container.php:81
user()
Get the current user.
Definition: Container.php:45
database()
Get interface to the Database.
Definition: Container.php:18
Provides fluid interface to RBAC services.
tabs()
Get interface to the tabs.
Definition: Container.php:99
repositoryTree()
Get interface to the repository tree.
Definition: Container.php:63
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:12
toolbar()
Get interface to the toolbar.
Definition: Container.php:90
Provides fluid interface to RBAC services.
Definition: UIServices.php:9
language()
Get interface to the i18n service.
Definition: Container.php:72
rbac()
Get interface to get interfaces to all things rbac.
Definition: Container.php:27
Provides fluid interface to RBAC services.
Definition: RBACServices.php:9
Container main class.
Definition: Container.php:34
access()
Get interface for access checks.
Definition: Container.php:54
ctrl()
Get the interface to the control structure.
Definition: Container.php:36
ui()
Get the interface to get services from UI framework.
Definition: Container.php:108