ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Glossary\Presentation\PresentationSessionRepository Class Reference
+ Collaboration diagram for ILIAS\Glossary\Presentation\PresentationSessionRepository:

Public Member Functions

 __construct ()
 
 setPageLength (int $ref_id, int $page_length)
 
 getPageLength (int $ref_id)
 
 setLetter (int $ref_id, string $letter)
 
 getLetter (int $ref_id)
 
 setViewControlStart (int $ref_id, int $vc_start)
 
 getViewControlStart (int $ref_id)
 
 setViewControlLength (int $ref_id, int $vc_length)
 
 getViewControlLength (int $ref_id)
 

Data Fields

const KEY_BASE = "glo_presentation_"
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Glossary\Presentation\PresentationSessionRepository::__construct ( )

Definition at line 30 of file class.PresentationSessionRepository.php.

31 {
32 }

Member Function Documentation

◆ getLetter()

ILIAS\Glossary\Presentation\PresentationSessionRepository::getLetter ( int  $ref_id)

Definition at line 55 of file class.PresentationSessionRepository.php.

55 : string
56 {
57 $key = self::KEY_BASE . $ref_id . "_letter";
58 if (\ilSession::has($key)) {
60 }
61 return "";
62 }
static has($a_var)
$ref_id
Definition: ltiauth.php:66
get(string $class_name)

References $ref_id, ILIAS\GlobalScreen\get(), and ilSession\has().

+ Here is the call graph for this function:

◆ getPageLength()

ILIAS\Glossary\Presentation\PresentationSessionRepository::getPageLength ( int  $ref_id)

Definition at line 40 of file class.PresentationSessionRepository.php.

40 : int
41 {
42 $key = self::KEY_BASE . $ref_id . "_page_length";
43 if (\ilSession::has($key)) {
45 }
46 return 0;
47 }

References $ref_id, ILIAS\GlobalScreen\get(), and ilSession\has().

+ Here is the call graph for this function:

◆ getViewControlLength()

ILIAS\Glossary\Presentation\PresentationSessionRepository::getViewControlLength ( int  $ref_id)

Definition at line 85 of file class.PresentationSessionRepository.php.

85 : int
86 {
87 $key = self::KEY_BASE . $ref_id . "_vc_length";
88 if (\ilSession::has($key)) {
90 }
91 return 0;
92 }

References $ref_id, ILIAS\GlobalScreen\get(), and ilSession\has().

+ Here is the call graph for this function:

◆ getViewControlStart()

ILIAS\Glossary\Presentation\PresentationSessionRepository::getViewControlStart ( int  $ref_id)

Definition at line 70 of file class.PresentationSessionRepository.php.

70 : int
71 {
72 $key = self::KEY_BASE . $ref_id . "_vc_start";
73 if (\ilSession::has($key)) {
75 }
76 return 0;
77 }

References $ref_id, ILIAS\GlobalScreen\get(), and ilSession\has().

+ Here is the call graph for this function:

◆ setLetter()

ILIAS\Glossary\Presentation\PresentationSessionRepository::setLetter ( int  $ref_id,
string  $letter 
)

Definition at line 49 of file class.PresentationSessionRepository.php.

49 : void
50 {
51 $key = self::KEY_BASE . $ref_id . "_letter";
52 \ilSession::set($key, $letter);
53 }
static set(string $a_var, $a_val)
Set a value.

References $ref_id, and ilSession\set().

+ Here is the call graph for this function:

◆ setPageLength()

ILIAS\Glossary\Presentation\PresentationSessionRepository::setPageLength ( int  $ref_id,
int  $page_length 
)

Definition at line 34 of file class.PresentationSessionRepository.php.

34 : void
35 {
36 $key = self::KEY_BASE . $ref_id . "_page_length";
37 \ilSession::set($key, $page_length);
38 }

References $ref_id, and ilSession\set().

+ Here is the call graph for this function:

◆ setViewControlLength()

ILIAS\Glossary\Presentation\PresentationSessionRepository::setViewControlLength ( int  $ref_id,
int  $vc_length 
)

Definition at line 79 of file class.PresentationSessionRepository.php.

79 : void
80 {
81 $key = self::KEY_BASE . $ref_id . "_vc_length";
82 \ilSession::set($key, $vc_length);
83 }

References $ref_id, and ilSession\set().

+ Here is the call graph for this function:

◆ setViewControlStart()

ILIAS\Glossary\Presentation\PresentationSessionRepository::setViewControlStart ( int  $ref_id,
int  $vc_start 
)

Definition at line 64 of file class.PresentationSessionRepository.php.

64 : void
65 {
66 $key = self::KEY_BASE . $ref_id . "_vc_start";
67 \ilSession::set($key, $vc_start);
68 }

References $ref_id, and ilSession\set().

+ Here is the call graph for this function:

Field Documentation

◆ KEY_BASE

const ILIAS\Glossary\Presentation\PresentationSessionRepository::KEY_BASE = "glo_presentation_"

Definition at line 28 of file class.PresentationSessionRepository.php.


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