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

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.

References ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\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:67
string $key
Consumer key/client ID value.
Definition: System.php:193
static has($a_var)
get(string $key, Refinery\Transformation $t)
Get passed parameter, if not data passed, get key from http request.
+ 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.

References ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\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:67
string $key
Consumer key/client ID value.
Definition: System.php:193
static has($a_var)
get(string $key, Refinery\Transformation $t)
Get passed parameter, if not data passed, get key from http request.
+ 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.

References ILIAS\LTI\ToolProvider\$key, and ilSession\set().

49  : void
50  {
51  $key = self::KEY_BASE . $ref_id . "_letter";
52  \ilSession::set($key, $letter);
53  }
$ref_id
Definition: ltiauth.php:67
string $key
Consumer key/client ID value.
Definition: System.php:193
static set(string $a_var, $a_val)
Set a value.
+ 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.

References ILIAS\LTI\ToolProvider\$key, and 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:67
string $key
Consumer key/client ID value.
Definition: System.php:193
static set(string $a_var, $a_val)
Set a value.
+ 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: