ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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 ()
 

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  }

◆ 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  }

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: