3 declare(strict_types=1);
64 $this->repo_clipboard = $DIC
73 $this->item_repo = $this->repo_service->
content()->item();
74 $this->mode_repo = $this->repo_service->content()->mode();
75 $this->copage_resources = $DIC->copage()->internal()->domain()->pc()->resources();
89 $this->
mode($container),
90 $DIC->container()->internal()->gui()->standardRequest()
100 bool $include_empty_blocks =
true,
104 $this->domain_service,
106 $container_user_filter,
107 $this->repo_clipboard,
108 $include_empty_blocks,
119 bool $force_session_order_by_date =
true 121 if (!isset(self::$flat_item_set_managers[$ref_id])) {
123 $this->domain_service,
129 $force_session_order_by_date
132 return self::$flat_item_set_managers[
$ref_id];
142 if (!isset(self::$tree_item_set_managers[$ref_id])) {
144 $this->domain_service,
150 return self::$tree_item_set_managers[
$ref_id];
159 $this->domain_service,
173 switch ($view_mode) {
174 case \ilContainer::VIEW_SIMPLE:
176 $this->data_service->content(),
182 case \ilContainer::VIEW_OBJECTIVE:
184 $this->data_service->content(),
191 case \ilContainer::VIEW_SESSIONS:
192 case \ilCourseConstants::IL_CRS_VIEW_TIMING:
194 $this->data_service->content(),
201 case \ilContainer::VIEW_BY_TYPE:
204 $this->data_service->content(),
211 return $container_view;
223 if (!isset(self::$mode_managers[$container->
getId()])) {
227 $this->repo_clipboard,
228 $this->domain_service->user()->
getId()
231 return self::$mode_managers[$container->
getId()];
240 bool $results_on_filter_only =
false 244 $this->repo_service->content(),
246 $container_user_filter,
247 $results_on_filter_only
255 bool $include_empty_blocks =
true,
259 $this->data_service->content(),
265 $include_empty_blocks,
InternalDomainService $domain_service
Manages container subitems set.
itemSetTree(int $ref_id, ?\ilContainerUserFilter $user_filter)
Manages set of conatiner items (flat version)
ILIAS Repository Clipboard ClipboardManager $repo_clipboard
ItemSessionRepository $item_repo
Stores repository clipboard data.
static array $mode_managers
filteredSubtree()
Note grp/crs currently allow to filter in their whole subtrees Catetories only their direct childs...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
InternalDataService $data_service
mode(\ilContainer $container)
Controls admin/content view state Note: The node manager currently holds "state". ...
Generates concrete blocks with items for the view.
Repository internal data service.
itemPresentation(\ilContainer $container, ?\ilContainerUserFilter $container_user_filter, bool $include_empty_blocks=true, ?string $lang=null)
Manages item retrieval, filtering, grouping and sorting.
ILIAS COPage PC Resources ResourcesManager $copage_resources
itemSetSingle(int $ref_id, int $single_ref_id)
Manages set of conatiner items (single item version)
itemSetFlat(int $ref_id, ?\ilContainerUserFilter $user_filter, bool $force_session_order_by_date=true)
Manages set of conatiner items (flat version)
itemBlockSequenceGenerator(\ilContainer $container, BlockSequence $block_sequence, ItemSetManager $item_set_manager, bool $include_empty_blocks=true, ?string $lang=null)
filter(array $objects, ?\ilContainerUserFilter $container_user_filter, bool $results_on_filter_only=false)
ModeSessionRepository $mode_repo
static array $flat_item_set_managers
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(InternalRepoService $repo_service, InternalDataService $data_service, InternalDomainService $domain_service)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Repository internal repo service.
items(\ilContainer $container)
Controls item state (e.g.
InternalRepoService $repo_service
High level business logic class.
view(\ilContainer $container)
static array $tree_item_set_managers