ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Block\BlockSessionRepository Class Reference

Stores repository clipboard data. More...

+ Collaboration diagram for ILIAS\Block\BlockSessionRepository:

Public Member Functions

 __construct ()
 
 setNavPar (string $par, string $val)
 
 getNavPar (string $par)
 

Data Fields

const KEY_BASE = "block_"
 

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Block\BlockSessionRepository::__construct ( )

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

33  {
34  }

Member Function Documentation

◆ getNavPar()

ILIAS\Block\BlockSessionRepository::getNavPar ( string  $par)

Definition at line 43 of file class.BlockSessionRepository.php.

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

43  : string
44  {
45  if (\ilSession::has(self::KEY_BASE . $par)) {
46  return \ilSession::get(self::KEY_BASE . $par);
47  }
48  return "";
49  }
get(string $class_name)
static has($a_var)
+ Here is the call graph for this function:

◆ setNavPar()

ILIAS\Block\BlockSessionRepository::setNavPar ( string  $par,
string  $val 
)

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

References ilSession\set().

39  : void {
40  \ilSession::set(self::KEY_BASE . $par, $val);
41  }
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

Field Documentation

◆ KEY_BASE

const ILIAS\Block\BlockSessionRepository::KEY_BASE = "block_"

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


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