ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Portfolio\Access\AccessSessionRepository Class Reference

Stores repository clipboard data. More...

+ Collaboration diagram for ILIAS\Portfolio\Access\AccessSessionRepository:

Public Member Functions

 __construct ()
 
 setSharedSessionPassword (int $node_id, string $pw)
 
 getSharedSessionPassword (int $node_id)
 

Data Fields

const KEY_BASE = "port_acc_"
 

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.AccessSessionRepository.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Portfolio\Access\AccessSessionRepository::__construct ( )

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

33 {
34 }

Member Function Documentation

◆ getSharedSessionPassword()

ILIAS\Portfolio\Access\AccessSessionRepository::getSharedSessionPassword ( int  $node_id)

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

42 : string
43 {
44 $key = self::KEY_BASE . "_shpw_" . $node_id;
45 if (\ilSession::has($key)) {
47 }
48 return "";
49 }
static has($a_var)
get(string $class_name)

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

+ Here is the call graph for this function:

◆ setSharedSessionPassword()

ILIAS\Portfolio\Access\AccessSessionRepository::setSharedSessionPassword ( int  $node_id,
string  $pw 
)

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

36 : void
37 {
38 $key = self::KEY_BASE . "_shpw_" . $node_id;
39 \ilSession::set($key, $pw);
40 }
static set(string $a_var, $a_val)
Set a value.

References ilSession\set().

+ Here is the call graph for this function:

Field Documentation

◆ KEY_BASE

const ILIAS\Portfolio\Access\AccessSessionRepository::KEY_BASE = "port_acc_"

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


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