ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\UI\Component\Legacy\Content\ItemSessionRepository Class Reference

Stores repository clipboard data. More...

+ Collaboration diagram for ILIAS\UI\Component\Legacy\Content\ItemSessionRepository:

Public Member Functions

 __construct ()
 
 setExpanded (int $id, int $val)
 
 getExpanded (int $id)
 

Protected Attributes

const KEY_BASE = "cont_item"
 

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\UI\Component\Legacy\Content\ItemSessionRepository::__construct ( )

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

33  {
34  }

Member Function Documentation

◆ getExpanded()

ILIAS\UI\Component\Legacy\Content\ItemSessionRepository::getExpanded ( int  $id)

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

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

41  : ?int
42  {
43  if (\ilSession::has(self::KEY_BASE . "_" . $id . "_expanded")) {
44  return \ilSession::get(self::KEY_BASE . "_" . $id . "_expanded");
45  }
46  return null;
47  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
get(string $class_name)
static has($a_var)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

◆ setExpanded()

ILIAS\UI\Component\Legacy\Content\ItemSessionRepository::setExpanded ( int  $id,
int  $val 
)

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

References ilSession\set().

36  : void
37  {
38  \ilSession::set(self::KEY_BASE . "_" . $id . "_expanded", $val);
39  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

Field Documentation

◆ KEY_BASE

const ILIAS\UI\Component\Legacy\Content\ItemSessionRepository::KEY_BASE = "cont_item"
protected

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


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