ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
class.EditManager.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
29 {
31 
32  public function __construct(EditSessionRepository $repo)
33  {
34  $this->repo = $repo;
35  }
36 
37  public function addQuestionToClipboard(int $qid, string $action): void
38  {
39  $this->repo->addQuestionToClipboard($qid, $action);
40  }
41 
42  public function getQuestionsFromClipboard(): array
43  {
44  return $this->repo->getQuestionsFromClipboard();
45  }
46 
47  public function clearClipboardQuestions(): void
48  {
49  $this->repo->clearClipboardQuestions();
50  }
51 
52  public function setSearchLinkType(string $type): void
53  {
54  $this->repo->setSearchLinkType($type);
55  }
56 
57  public function getSearchLinkType(): string
58  {
59  return $this->repo->getSearchLinkType();
60  }
61 
62  public function clearSearchLinkType(): void
63  {
64  $this->repo->clearSearchLinkType();
65  }
66 
67  public function setNewLinkType(string $type): void
68  {
69  $this->repo->setNewLinkType($type);
70  }
71 
72  public function getNewLinkType(): string
73  {
74  return $this->repo->getNewLinkType();
75  }
76 
77  public function clearNewLinkType(): void
78  {
79  $this->repo->clearNewLinkType();
80  }
81 
82  public function setPhraseData(array $data): void
83  {
84  $this->repo->setPhraseData($data);
85  }
86 
87  public function getPhraseData(): array
88  {
89  return $this->repo->getPhraseData();
90  }
91 }
$type
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...