ILIAS  release_8 Revision v8.24
class.ItemManager.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
27{
28 protected \ilContainer $container;
30
31 public function __construct(
34 ) {
35 $this->item_repo = $item_repo;
36 $this->container = $container;
37 }
38
39 public function setExpanded(int $id, int $val): void
40 {
41 $this->item_repo->setExpanded($id, $val);
42 }
43
44 public function getExpanded(int $id): ?int
45 {
46 return $this->item_repo->getExpanded($id);
47 }
48}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(\ilContainer $container, ItemSessionRepository $item_repo)
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...