ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager Class Reference

Manages presentation of glossary content. More...

+ Collaboration diagram for ILIAS\MetaData\Vocabularies\Dispatch\Presentation\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()

Member Function Documentation

◆ getSessionLetter()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager::$domain
protected

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

◆ $glossary

ilObjGlossary ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager::$glossary
protected

◆ $session_repo

PresentationSessionRepository ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager::$session_repo
protected

◆ $user_id

int ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationManager::$user_id
protected

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