ILIAS  release_8 Revision v8.24
trait.GlobalDICGUIServices.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
21namespace ILIAS\Repository;
22
24use ILIAS\HTTP;
29
34{
35 private \ILIAS\DI\Container $DIC;
36
37 protected function initGUIServices(\ILIAS\DI\Container $DIC): void
38 {
39 $this->DIC = $DIC;
40 }
41
42 public function ui(): UIServices
43 {
44 return $this->DIC->ui();
45 }
46
47 public function object(): \ilObjectServiceInterface
48 {
49 return $this->DIC->object();
50 }
51
52 public function ctrl(): \ilCtrl
53 {
54 return $this->DIC->ctrl();
55 }
56
57 public function http(): HTTP\Services
58 {
59 return $this->DIC->http();
60 }
61
62 public function html(): HTMLUtil
63 {
64 return new HTMLUtil();
65 }
66
68 {
69 return $this->DIC->ui()->mainTemplate();
70 }
71
72 public function upload(): FileUpload
73 {
74 return $this->DIC->upload();
75 }
76
77 public function toolbar(): \ilToolbarGUI
78 {
79 return $this->DIC->toolbar();
80 }
81
82 public function globalScreen(): GlobalScreen\Services
83 {
84 return $this->DIC->globalScreen();
85 }
86
87 public function help(): \ilHelpGUI
88 {
89 return $this->DIC->help();
90 }
91
92 public function tabs(): \ilTabsGUI
93 {
94 return $this->DIC->tabs();
95 }
96
97 public function locator(): \ilLocatorGUI
98 {
99 return $this->DIC["ilLocator"];
100 }
101
105 public function form(
106 $class_path,
107 string $cmd
108 ): FormAdapterGUI {
110 $class_path,
111 $cmd
112 );
113 }
114}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:32
Provides fluid interface to RBAC services.
Definition: UIServices.php:24
Class ilCtrl provides processing control methods.
Help GUI class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
return['3gp', '7z', 'ai', 'aif', 'aifc', 'aiff', 'au', 'arw', 'avi', 'backup', 'bak', 'bas', 'bpmn', 'bpmn2', 'bmp', 'bib', 'bibtex', 'bz', 'bz2', 'c', 'c++', 'cc', 'cct', 'cdf', 'cer', 'class', 'cls', 'conf', 'cpp', 'crt', 'crs', 'crw', 'cr2', 'css', 'cst', 'csv', 'cur', 'db', 'dcr', 'des', 'dng', 'doc', 'docx', 'dot', 'dotx', 'dtd', 'dvi', 'el', 'eps', 'epub', 'f', 'f77', 'f90', 'flv', 'for', 'g3', 'gif', 'gl', 'gan', 'ggb', 'gsd', 'gsm', 'gtar', 'gz', 'gzip', 'h', 'hpp', 'htm', 'html', 'htmls', 'ibooks', 'ico', 'ics', 'ini', 'ipynb', 'java', 'jbf', 'jpeg', 'jpg', 'js', 'jsf', 'jso', 'json', 'latex', 'lang', 'less', 'log', 'lsp', 'ltx', 'm1v', 'm2a', 'm2v', 'm3u', 'm4a', 'm4v', 'markdown', 'm', 'mat', 'md', 'mdl', 'mdown', 'mid', 'min', 'midi', 'mobi', 'mod', 'mov', 'movie', 'mp2', 'mp3', 'mp4', 'mpa', 'mpeg', 'mpg', 'mph', 'mpga', 'mpp', 'mpt', 'mpv', 'mpx', 'mv', 'mw', 'mv4', 'nb', 'nbp', 'nef', 'nif', 'niff', 'obj', 'obm', 'odt', 'ods', 'odp', 'odg', 'odf', 'oga', 'ogg', 'ogv', 'old', 'p', 'pas', 'pbm', 'pcl', 'pct', 'pcx', 'pdf', 'pgm', 'pic', 'pict', 'png', 'por', 'pov', 'project', 'properties', 'ppa', 'ppm', 'pps', 'ppsx', 'ppt', 'pptx', 'ppz', 'ps', 'psd', 'pwz', 'qt', 'qtc', 'qti', 'qtif', 'r', 'ra', 'ram', 'rar', 'rast', 'rda', 'rev', 'rexx', 'ris', 'rf', 'rgb', 'rm', 'rmd', 'rmi', 'rmm', 'rmp', 'rt', 'rtf', 'rtx', 'rv', 's', 's3m', 'sav', 'sbs', 'sec', 'sdml', 'sgm', 'sgml', 'smi', 'smil', 'srt', 'sps', 'spv', 'stl', 'svg', 'swa', 'swf', 'swz', 'tar', 'tex', 'texi', 'texinfo', 'text', 'tgz', 'tif', 'tiff', 'ttf', 'txt', 'tmp', 'uvproj', 'vdf', 'vimeo', 'viv', 'vivo', 'vrml', 'vsdx', 'wav', 'webm', 'wmv', 'wmx', 'wmz', 'woff', 'wwd', 'xhtml', 'xif', 'xls', 'xlsx', 'xmind', 'xml', 'xsl', 'xsd', 'zip']
global $DIC
Definition: feed.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class HTTPServicesTest.
@noinspection PhpIncompatibleReturnTypeInspection
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
form( $class_path, string $cmd)
initGUIServices(\ILIAS\DI\Container $DIC)
Class ChatMainBarProvider \MainMenu\Provider.