ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.GUIService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
18 namespace ILIAS\Container\Content;
19 
25 
30 {
34 
35  public function __construct(
36  InternalDataService $data_service,
37  InternalDomainService $domain_service,
38  InternalGUIService $gui_service
39  ) {
40  $this->data_service = $data_service;
41  $this->domain_service = $domain_service;
42  $this->gui_service = $gui_service;
43  }
44 
45  public function itemRenderer(
46  \ilContainerGUI $container_gui,
47  string $view_mode // TILE/LIST from ilContainerContentGUI
48  ): ItemRenderer {
49  return new ItemRenderer(
50  $this->domain_service,
51  $this->gui_service,
52  $view_mode,
53  $container_gui
54  );
55  }
56 
57  public function objectiveRenderer(
58  \ilContainerGUI $container_gui,
59  string $view_mode, // TILE/LIST from ilContainerContentGUI
60  \ilContainerRenderer $container_render
61  ): ObjectiveRenderer {
62  return new ObjectiveRenderer(
63  $this->domain_service,
64  $this->gui_service,
65  $view_mode,
66  $container_gui,
67  $container_render
68  );
69  }
70 }
objectiveRenderer(\ilContainerGUI $container_gui, string $view_mode, \ilContainerRenderer $container_render)
Content style internal ui factory.
itemRenderer(\ilContainerGUI $container_gui, string $view_mode)
InternalDomainService $domain_service
__construct(InternalDataService $data_service, InternalDomainService $domain_service, InternalGUIService $gui_service)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilContainerGUI This is a base GUI class for all container objects in ILIAS: root folder...
InternalDataService $data_service
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...