ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Glossary\Presentation\PresentationManager Class Reference

Manages presentation of glossary content. More...

+ Collaboration diagram for ILIAS\Glossary\Presentation\PresentationManager:

Public Member Functions

 __construct (InternalDomainService $domain_service, PresentationSessionRepository $session_repo, \ilObjGlossary $glossary, int $user_id)
 
 setSessionPageLength (int $page_length)
 
 getSessionPageLength ()
 
 setSessionLetter (string $letter)
 
 getSessionLetter ()
 
 setSessionViewControlStart (int $vc_start)
 
 getSessionViewControlStart ()
 
 setSessionViewControlLength (int $vc_length)
 
 getSessionViewControlLength ()
 

Protected Attributes

InternalDomainService $domain
 
PresentationSessionRepository $session_repo
 
ilObjGlossary $glossary
 
int $user_id
 

Detailed Description

Manages presentation of glossary content.

Author
Thomas Famula famul.nosp@m.a@le.nosp@m.ifos..nosp@m.de

Definition at line 29 of file class.PresentationManager.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Glossary\Presentation\PresentationManager::__construct ( InternalDomainService  $domain_service,
PresentationSessionRepository  $session_repo,
\ilObjGlossary  $glossary,
int  $user_id 
)

Member Function Documentation

◆ getSessionLetter()

ILIAS\Glossary\Presentation\PresentationManager::getSessionLetter ( )

Definition at line 63 of file class.PresentationManager.php.

63 : string
64 {
65 return $this->session_repo->getLetter($this->glossary->getRefId());
66 }

◆ getSessionPageLength()

ILIAS\Glossary\Presentation\PresentationManager::getSessionPageLength ( )

Definition at line 53 of file class.PresentationManager.php.

53 : int
54 {
55 return $this->session_repo->getPageLength($this->glossary->getRefId());
56 }

◆ getSessionViewControlLength()

ILIAS\Glossary\Presentation\PresentationManager::getSessionViewControlLength ( )

Definition at line 83 of file class.PresentationManager.php.

83 : int
84 {
85 return $this->session_repo->getViewControlLength($this->glossary->getRefId());
86 }

◆ getSessionViewControlStart()

ILIAS\Glossary\Presentation\PresentationManager::getSessionViewControlStart ( )

Definition at line 73 of file class.PresentationManager.php.

73 : int
74 {
75 return $this->session_repo->getViewControlStart($this->glossary->getRefId());
76 }

◆ setSessionLetter()

ILIAS\Glossary\Presentation\PresentationManager::setSessionLetter ( string  $letter)

Definition at line 58 of file class.PresentationManager.php.

58 : void
59 {
60 $this->session_repo->setLetter($this->glossary->getRefId(), $letter);
61 }

◆ setSessionPageLength()

ILIAS\Glossary\Presentation\PresentationManager::setSessionPageLength ( int  $page_length)

Definition at line 48 of file class.PresentationManager.php.

48 : void
49 {
50 $this->session_repo->setPageLength($this->glossary->getRefId(), $page_length);
51 }

◆ setSessionViewControlLength()

ILIAS\Glossary\Presentation\PresentationManager::setSessionViewControlLength ( int  $vc_length)

Definition at line 78 of file class.PresentationManager.php.

78 : void
79 {
80 $this->session_repo->setViewControlLength($this->glossary->getRefId(), $vc_length);
81 }

◆ setSessionViewControlStart()

ILIAS\Glossary\Presentation\PresentationManager::setSessionViewControlStart ( int  $vc_start)

Definition at line 68 of file class.PresentationManager.php.

68 : void
69 {
70 $this->session_repo->setViewControlStart($this->glossary->getRefId(), $vc_start);
71 }

Field Documentation

◆ $domain

InternalDomainService ILIAS\Glossary\Presentation\PresentationManager::$domain
protected

Definition at line 31 of file class.PresentationManager.php.

◆ $glossary

ilObjGlossary ILIAS\Glossary\Presentation\PresentationManager::$glossary
protected

◆ $session_repo

PresentationSessionRepository ILIAS\Glossary\Presentation\PresentationManager::$session_repo
protected

◆ $user_id

int ILIAS\Glossary\Presentation\PresentationManager::$user_id
protected

The documentation for this class was generated from the following file: