ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Glossary\Term\TermSessionRepository Class Reference

Stores repository clipboard data. More...

+ Collaboration diagram for ILIAS\Glossary\Term\TermSessionRepository:

Public Member Functions

 __construct ()
 
 setLang (int $ref_id, string $lang)
 
 getLang (int $ref_id)
 

Data Fields

const KEY_BASE = "glo_term_"
 

Detailed Description

Stores repository clipboard data.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Glossary\Term\TermSessionRepository::__construct ( )

Definition at line 32 of file class.TermSessionRepository.php.

33 {
34 }

Member Function Documentation

◆ getLang()

ILIAS\Glossary\Term\TermSessionRepository::getLang ( int  $ref_id)

Definition at line 42 of file class.TermSessionRepository.php.

42 : string
43 {
44 $key = self::KEY_BASE . $ref_id . "_lang";
45 if (\ilSession::has($key)) {
47 }
48 return "";
49 }
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:

◆ setLang()

ILIAS\Glossary\Term\TermSessionRepository::setLang ( int  $ref_id,
string  $lang 
)

Definition at line 36 of file class.TermSessionRepository.php.

36 : void
37 {
38 $key = self::KEY_BASE . $ref_id . "_lang";
40 }
static set(string $a_var, $a_val)
Set a value.
$lang
Definition: xapiexit.php:25

References $lang, $ref_id, and ilSession\set().

+ Here is the call graph for this function:

Field Documentation

◆ KEY_BASE

const ILIAS\Glossary\Term\TermSessionRepository::KEY_BASE = "glo_term_"

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


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