ILIAS  release_8 Revision v8.23
ILIAS\Survey\Evaluation\EvaluationSessionRepo Class Reference

Stores access codes of anonymous session. More...

+ Collaboration diagram for ILIAS\Survey\Evaluation\EvaluationSessionRepo:

Public Member Functions

 __construct ()
 
 setAnonEvaluationAccess (int $ref_id)
 
 getAnonEvaluationAccess ()
 
 clearAnonEvaluationAccess ()
 

Protected Attributes

const KEY_BASE = "svy_eval_"
 
const KEY_ANON_EVAL = self::KEY_BASE . "anon_eval"
 

Detailed Description

Stores access codes of anonymous session.

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

Definition at line 27 of file class.EvaluationSessionRepo.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Survey\Evaluation\EvaluationSessionRepo::__construct ( )

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

33  {
34  }

Member Function Documentation

◆ clearAnonEvaluationAccess()

ILIAS\Survey\Evaluation\EvaluationSessionRepo::clearAnonEvaluationAccess ( )

Definition at line 46 of file class.EvaluationSessionRepo.php.

References ilSession\clear().

46  : void
47  {
48  \ilSession::clear(self::KEY_ANON_EVAL);
49  }
static clear(string $a_var)
+ Here is the call graph for this function:

◆ getAnonEvaluationAccess()

ILIAS\Survey\Evaluation\EvaluationSessionRepo::getAnonEvaluationAccess ( )

Definition at line 41 of file class.EvaluationSessionRepo.php.

References ilSession\get().

41  : int
42  {
43  return (int) \ilSession::get(self::KEY_ANON_EVAL);
44  }
static get(string $a_var)
+ Here is the call graph for this function:

◆ setAnonEvaluationAccess()

ILIAS\Survey\Evaluation\EvaluationSessionRepo::setAnonEvaluationAccess ( int  $ref_id)

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

References ilSession\set().

36  : void
37  {
38  \ilSession::set(self::KEY_ANON_EVAL, $ref_id);
39  }
$ref_id
Definition: ltiauth.php:67
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

Field Documentation

◆ KEY_ANON_EVAL

const ILIAS\Survey\Evaluation\EvaluationSessionRepo::KEY_ANON_EVAL = self::KEY_BASE . "anon_eval"
protected

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

◆ KEY_BASE

const ILIAS\Survey\Evaluation\EvaluationSessionRepo::KEY_BASE = "svy_eval_"
protected

Definition at line 29 of file class.EvaluationSessionRepo.php.


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