19declare(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,
120 bool $include_objective_items =
false
122 if (!isset(self::$flat_item_set_managers[
$ref_id])) {
124 $this->domain_service,
130 $force_session_order_by_date,
131 $include_objective_items
134 return self::$flat_item_set_managers[
$ref_id];
144 if (!isset(self::$tree_item_set_managers[
$ref_id])) {
146 $this->domain_service,
147 ItemSetManager::TREE,
152 return self::$tree_item_set_managers[
$ref_id];
161 $this->domain_service,
162 ItemSetManager::SINGLE,
175 switch ($view_mode) {
176 case \ilContainer::VIEW_SIMPLE:
178 $this->data_service->content(),
179 $this->domain_service,
184 case \ilContainer::VIEW_OBJECTIVE:
186 $this->data_service->content(),
187 $this->domain_service,
193 case \ilContainer::VIEW_SESSIONS:
194 case \ilCourseConstants::IL_CRS_VIEW_TIMING:
196 $this->data_service->content(),
197 $this->domain_service,
203 case \ilContainer::VIEW_BY_TYPE:
206 $this->data_service->content(),
207 $this->domain_service,
213 return $container_view;
225 if (!isset(self::$mode_managers[
$container->getId()])) {
229 $this->repo_clipboard,
230 $this->domain_service->user()->getId()
233 return self::$mode_managers[
$container->getId()];
242 bool $results_on_filter_only =
false
246 $this->repo_service->content(),
247 $this->domain_service->metadata(),
249 $container_user_filter,
250 $results_on_filter_only
258 bool $include_empty_blocks =
true,
262 $this->data_service->content(),
263 $this->domain_service,
264 $this->copage_resources,
268 $include_empty_blocks,
itemPresentation(\ilContainer $container, ?\ilContainerUserFilter $container_user_filter, bool $include_empty_blocks=true, ?string $lang=null)
Manages item retrieval, filtering, grouping and sorting.
static array $flat_item_set_managers
ModeSessionRepository $mode_repo
itemSetTree(int $ref_id, ?\ilContainerUserFilter $user_filter)
Manages set of conatiner items (flat version)
itemSetSingle(int $ref_id, int $single_ref_id)
Manages set of conatiner items (single item version)
ILIAS Repository Clipboard ClipboardManager $repo_clipboard
static array $tree_item_set_managers
InternalRepoService $repo_service
ILIAS COPage PC Resources ResourcesManager $copage_resources
items(\ilContainer $container)
Controls item state (e.g.
mode(\ilContainer $container)
Controls admin/content view state Note: The node manager currently holds "state".
InternalDomainService $domain_service
__construct(InternalRepoService $repo_service, InternalDataService $data_service, InternalDomainService $domain_service)
InternalDataService $data_service
static array $mode_managers
ItemSessionRepository $item_repo
view(\ilContainer $container)
filter(array $objects, ?\ilContainerUserFilter $container_user_filter, bool $results_on_filter_only=false)
itemSetFlat(int $ref_id, ?\ilContainerUserFilter $user_filter, bool $force_session_order_by_date=true, bool $include_objective_items=false)
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)
Generates concrete blocks with items for the view.
High level business logic class.
Stores repository clipboard data.
Manages container subitems set.
Repository internal data service.
Repository internal repo service.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(!file_exists('../ilias.ini.php'))