ILIAS  release_8 Revision v8.24
class.ContainerManager.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
24
30{
32 protected int $ref_id;
34
35 public function __construct(
37 int $ref_id
38 ) {
39 $this->ref_id = $ref_id;
40 $this->repo_service = $repo_service;
41 $this->container_repo = $repo_service->repositoryContainer();
42 }
43
44 public function saveReuse(bool $reuse): void
45 {
46 $this->container_repo->updateReuse($this->ref_id, $reuse);
47 }
48
49 public function getReuse(): bool
50 {
51 return $this->container_repo->readReuse($this->ref_id);
52 }
53}
This repo stores infos on repository objects that are using booking managers as a service (resource m...
Manages container related content style behaviour.
__construct(InternalRepoService $repo_service, int $ref_id)
Content style internal repo service.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...