ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ItemSessionRepository.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Container\Content
;
22
28
class
ItemSessionRepository
29
{
30
protected
const
KEY_BASE
=
"cont_item"
;
31
32
public
function
__construct
()
33
{
34
}
35
36
public
function
setExpanded
(
int
$id
,
int
$val): void
37
{
38
\ilSession::set
(self::KEY_BASE .
"_"
. $id .
"_expanded"
, $val);
39
}
40
41
public
function
getExpanded
(
int
$id
): ?
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
}
48
}
ILIAS\UI\Component\Legacy\Content\ItemSessionRepository
Stores repository clipboard data.
Definition:
class.ItemSessionRepository.php:28
ILIAS\UI\Component\Legacy\Content\ItemSessionRepository\getExpanded
getExpanded(int $id)
Definition:
class.ItemSessionRepository.php:41
ILIAS\UI\Component\Legacy\Content\ItemSessionRepository\setExpanded
setExpanded(int $id, int $val)
Definition:
class.ItemSessionRepository.php:36
ILIAS\UI\Component\Legacy\Content\ItemSessionRepository\__construct
__construct()
Definition:
class.ItemSessionRepository.php:32
ILIAS\UI\Component\Legacy\Content\ItemSessionRepository\KEY_BASE
const KEY_BASE
Definition:
class.ItemSessionRepository.php:30
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:142
ILIAS\GlobalScreen\get
get(string $class_name)
Definition:
SingletonTrait.php:32
ilSession\has
static has($a_var)
Definition:
class.ilSession.php:406
ILIAS\Container\Content
Definition:
class.BlockSequence.php:21
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ilSession\set
static set(string $a_var, $a_val)
Set a value.
Definition:
class.ilSession.php:393
components
ILIAS
Container
Content
class.ItemSessionRepository.php
Generated on Thu Apr 10 2025 23:02:52 for ILIAS by
1.8.13 (using
Doxyfile
)