ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.PresentationManager.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
30{
33 protected \ilObjGlossary $glossary;
34 protected int $user_id;
35
36 public function __construct(
37 InternalDomainService $domain_service,
40 int $user_id
41 ) {
42 $this->session_repo = $session_repo;
43 $this->glossary = $glossary;
44 $this->user_id = $user_id;
45 $this->domain = $domain_service;
46 }
47
48 public function setSessionPageLength(int $page_length): void
49 {
50 $this->session_repo->setPageLength($this->glossary->getRefId(), $page_length);
51 }
52
53 public function getSessionPageLength(): int
54 {
55 return $this->session_repo->getPageLength($this->glossary->getRefId());
56 }
57
58 public function setSessionLetter(string $letter): void
59 {
60 $this->session_repo->setLetter($this->glossary->getRefId(), $letter);
61 }
62
63 public function getSessionLetter(): string
64 {
65 return $this->session_repo->getLetter($this->glossary->getRefId());
66 }
67
68 public function setSessionViewControlStart(int $vc_start): void
69 {
70 $this->session_repo->setViewControlStart($this->glossary->getRefId(), $vc_start);
71 }
72
74 {
75 return $this->session_repo->getViewControlStart($this->glossary->getRefId());
76 }
77
78 public function setSessionViewControlLength(int $vc_length): void
79 {
80 $this->session_repo->setViewControlLength($this->glossary->getRefId(), $vc_length);
81 }
82
84 {
85 return $this->session_repo->getViewControlLength($this->glossary->getRefId());
86 }
87}
Manages presentation of glossary content.
__construct(InternalDomainService $domain_service, PresentationSessionRepository $session_repo, \ilObjGlossary $glossary, int $user_id)
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...