ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ClipboardManager.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
29{
31
33 {
34 $this->repo = $repo;
35 }
36
37 public function setCmd(string $cmd): void
38 {
39 $this->repo->setCmd($cmd);
40 }
41
42 public function getCmd(): string
43 {
44 return $this->repo->getCmd();
45 }
46
47 public function setParent(int $parent): void
48 {
49 $this->repo->setParent($parent);
50 }
51
52 public function getParent(): int
53 {
54 return $this->repo->getParent();
55 }
56
57 public function setRefIds(array $ref_ids): void
58 {
59 $this->repo->setRefIds($ref_ids);
60 }
61
62 public function getRefIds(): array
63 {
64 return $this->repo->getRefIds();
65 }
66
67 public function hasEntries(): bool
68 {
69 return $this->repo->hasEntries();
70 }
71
72 public function clear(): void
73 {
74 $this->repo->clear();
75 }
76}
Manages items in repository clipboard.
__construct(ClipboardSessionRepository $repo)