ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository Class Reference
+ Collaboration diagram for ILIAS\MetaData\Vocabularies\Dispatch\Presentation\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\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository::__construct ( )

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

31  {
32  }

Member Function Documentation

◆ getLetter()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository::getLetter ( int  $ref_id)

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

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

55  : string
56  {
57  $key = self::KEY_BASE . $ref_id . "_letter";
58  if (\ilSession::has($key)) {
60  }
61  return "";
62  }
$ref_id
Definition: ltiauth.php:65
get(string $class_name)
static has($a_var)
+ Here is the call graph for this function:

◆ getPageLength()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository::getPageLength ( int  $ref_id)

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

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

40  : int
41  {
42  $key = self::KEY_BASE . $ref_id . "_page_length";
43  if (\ilSession::has($key)) {
45  }
46  return 0;
47  }
$ref_id
Definition: ltiauth.php:65
get(string $class_name)
static has($a_var)
+ Here is the call graph for this function:

◆ getViewControlLength()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository::getViewControlLength ( int  $ref_id)

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

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

85  : int
86  {
87  $key = self::KEY_BASE . $ref_id . "_vc_length";
88  if (\ilSession::has($key)) {
90  }
91  return 0;
92  }
$ref_id
Definition: ltiauth.php:65
get(string $class_name)
static has($a_var)
+ Here is the call graph for this function:

◆ getViewControlStart()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository::getViewControlStart ( int  $ref_id)

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

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

70  : int
71  {
72  $key = self::KEY_BASE . $ref_id . "_vc_start";
73  if (\ilSession::has($key)) {
75  }
76  return 0;
77  }
$ref_id
Definition: ltiauth.php:65
get(string $class_name)
static has($a_var)
+ Here is the call graph for this function:

◆ setLetter()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository::setLetter ( int  $ref_id,
string  $letter 
)

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

References ilSession\set().

49  : void
50  {
51  $key = self::KEY_BASE . $ref_id . "_letter";
52  \ilSession::set($key, $letter);
53  }
$ref_id
Definition: ltiauth.php:65
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

◆ setPageLength()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository::setPageLength ( int  $ref_id,
int  $page_length 
)

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

References ilSession\set().

34  : void
35  {
36  $key = self::KEY_BASE . $ref_id . "_page_length";
37  \ilSession::set($key, $page_length);
38  }
$ref_id
Definition: ltiauth.php:65
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

◆ setViewControlLength()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository::setViewControlLength ( int  $ref_id,
int  $vc_length 
)

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

References ilSession\set().

79  : void
80  {
81  $key = self::KEY_BASE . $ref_id . "_vc_length";
82  \ilSession::set($key, $vc_length);
83  }
$ref_id
Definition: ltiauth.php:65
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

◆ setViewControlStart()

ILIAS\MetaData\Vocabularies\Dispatch\Presentation\Presentation\PresentationSessionRepository::setViewControlStart ( int  $ref_id,
int  $vc_start 
)

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

References ilSession\set().

64  : void
65  {
66  $key = self::KEY_BASE . $ref_id . "_vc_start";
67  \ilSession::set($key, $vc_start);
68  }
$ref_id
Definition: ltiauth.php:65
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

Field Documentation

◆ KEY_BASE

const ILIAS\MetaData\Vocabularies\Dispatch\Presentation\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: