64     private \ILIAS\HTTP\Services 
$http;
    74         $this->log = $DIC[
"ilLog"];
    75         $this->
user = $DIC->user();
    77         $this->
help = $DIC[
"ilHelp"];
    78         $this->error = $DIC[
"ilErr"];
    79         $this->
access = $DIC->access();
    80         $lng = $DIC->language();
    81         $tpl = $DIC->ui()->mainTemplate();
    82         $tree = $DIC->repositoryTree();
    83         $rbacsystem = $DIC->rbac()->system();
    84         $objDefinition = $DIC[
"objDefinition"];
    85         $ilCtrl = $DIC->ctrl();
    86         $this->tool_context = $DIC->globalScreen()->tool()->context();
    87         $this->
http = $DIC->http();
    95         $this->
ctrl = $ilCtrl;
    97         $this->creation_mode = 
false;
    99         $this->
ctrl->saveParameter($this, [
"ref_id"]);
   100         $this->
ctrl->setReturn($this, 
"");
   102         $this->request = $DIC->repository()->internal()->gui()->standardRequest();
   105         $this->cur_ref_id = $this->request->getRefId();
   106         if (!$tree->
isInTree($this->cur_ref_id)) {
   117             $this->tree->getRootId()
   131             ($this->
user->isAnonymous() || !($this->
user->getId() >= 1)) &&
   133                 $this->
http->request()->getServerParams()[
'SERVER_NAME']
   136             $this->
ctrl->redirectToURL(
'./login.php?cmd=force_login');
   139         $this->tool_context->claim()->repository();
   143         $new_type = $this->request->getNewType();
   145         if ($new_type !== 
"" && $new_type !== 
"sty") {
   146             $this->creation_mode = 
true;
   147             $ilHelp->setScreenIdComponent($new_type);
   149             $this->
ctrl->saveParameter($this, [
"crtcb"]);
   152         $cmd = $this->
ctrl->getCmd();
   155         if ($this->creation_mode) {
   156             $obj_type = $new_type;
   157             $class_name = $this->objDefinition->getClassName($obj_type);
   158             if (strtolower($class_name) !== 
"user") {
   159                 $next_class = strtolower(
"ilObj" . $class_name . 
"GUI");
   161                 $next_class = $this->
ctrl->getNextClass();
   172             if ($this->
ctrl->getNextClass() !== strtolower(
'ilObj' . $class_name . 
'GUI')) {
   173                 $this->
ctrl->setCmdClass($next_class);
   175         } elseif ((($next_class = $this->
ctrl->getNextClass($this)) == 
"")
   176             || ($next_class === 
"ilrepositorygui" && $this->
ctrl->getCmd() === 
"return")) {
   179             $class_name = $this->objDefinition->getClassName($obj_type);
   180             $next_class = strtolower(
"ilObj" . $class_name . 
"GUI");
   182             $this->
ctrl->setCmdClass($next_class);
   183             if ($this->
ctrl->getCmd() === 
"return") {
   185                 $this->
ctrl->redirectByClass($next_class, 
"");
   191         if ($cmd === 
"showRepTree") {
   195         switch ($next_class) {
   199             case strtolower(ilObjFileUploadHandlerGUI::class):
   205                 if ($next_class !== null && $next_class !== 
"" && $next_class !== 
"ilrepositorygui") {
   206                     $class_path = $this->
ctrl->lookupClassPath($next_class);
   209                     $class_name = $this->
ctrl->getClassForClasspath($class_path);
   210                     if (!$this->creation_mode) {
   211                         if (is_subclass_of($class_name, 
"ilObject2GUI")) {
   214                             $this->gui_obj = 
new $class_name(
"", $this->cur_ref_id, 
true, 
false);
   216                     } elseif (is_subclass_of($class_name, 
"ilObject2GUI")) {
   219                         $this->gui_obj = 
new $class_name(
"", 0, 
true, 
false);
   221                     $this->gui_obj->setCreationMode($this->creation_mode);
   222                     $this->
ctrl->setReturn($this, 
"return");
   226                     $cmd = (string) $this->
ctrl->getCmd(
"");
   229                     if ($cmd !== 
"showRepTree" && $this->cur_ref_id > 0 && !$rbacsystem->
checkAccess(
"read", $this->cur_ref_id)) {
   231                         $this->tpl->printToStdout();
   244         $this->
ctrl->forwardCommand($this->gui_obj);
   245         $this->tpl->setVariable(
"OBJECTS", $this->gui_obj->getHTML());
   246         $this->tpl->printToStdout();
   253         $exp->setSkipRootNode(
true);
   254         $exp->handleCommand();
 
redirectByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
 
static getLogger(string $a_component_id)
Get component logger. 
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
StandardGUIRequest $request
 
ILIAS HTTP Services $http
 
isInTree(?int $a_node_id)
get all information of a node. 
 
setParameterByClass(string $a_class, string $a_parameter, $a_value)
 
ilObjectDefinition $objDefinition
 
ilGlobalTemplateInterface $tpl
 
Interface ilCtrlBaseClassInterface describes ilCtrl base classes. 
 
checkAccess(string $a_operations, int $a_ref_id, string $a_type="")
checkAccess represents the main method of the RBAC-system in ILIAS3 developers want to use With this ...
 
parses the objects.xml it handles the xml-description of all ilias objects 
 
ContextServices $tool_context
 
static http()
Fetches the global http state from ILIAS. 
 
Class ilObjectGUI Basic methods of all Output classes. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Repository explorer GUI class. 
 
Error Handling & global info handling. 
 
static _lookupType(int $id, bool $reference=false)