ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ContainerManager.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
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)