25 protected function ctrl()
27 return $this->dic()->ctrl();
36 public function txt($variable)
38 return $this->lng()->txt($variable);
45 protected function tpl()
47 return $this->dic()->ui()->mainTemplate();
54 protected function lng()
56 return $this->dic()->language();
63 protected function tabs()
65 return $this->dic()->tabs();
72 protected function ui()
74 return $this->dic()->ui();
81 protected function user()
83 return $this->dic()->user();
90 protected function http()
92 return $this->dic()->http();
99 protected function access()
101 return $this->dic()->access();
108 protected function toolbar()
110 return $this->dic()->toolbar();
117 protected function database()
119 return $this->dic()->database();
125 public function checkPermissionAndFail($a_perm)
127 if (!$this->checkPermissionBoolAndReturn($a_perm)) {
128 throw new \ilObjectException($this->lng()->txt(
"permission_denied"));
138 public function checkPermissionBoolAndReturn($a_perm)
140 return (
bool) $this->access()->checkAccess($a_perm,
'', $this->
http()->request()->getQueryParams()[
'ref_id']);
static http()
Fetches the global http state from ILIAS.
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.