ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
◀ 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.ClipboardSessionRepository.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MediaPool\Clipboard
;
22
28
class
ClipboardSessionRepository
29
{
30
public
const
KEY_BASE
=
"mep_clip"
;
31
32
public
function
__construct
()
33
{
34
}
35
36
public
function
setFolder
(
int
$fold_id): void
37
{
38
\ilSession::set
(self::KEY_BASE .
"_folder"
, $fold_id);
39
}
40
41
public
function
getFolder
():
int
42
{
43
if
(\
ilSession::has
(self::KEY_BASE .
"_folder"
)) {
44
return
(
int
)
\ilSession::get
(self::KEY_BASE .
"_folder"
);
45
}
46
return
0;
47
}
48
49
public
function
setIds
(array $ids): void
50
{
51
\ilSession::set
(self::KEY_BASE .
"_ids"
, $ids);
52
}
53
54
public
function
getIds
(): array
55
{
56
if
(\
ilSession::has
(self::KEY_BASE .
"_ids"
)) {
57
return \ilSession::get
(self::KEY_BASE .
"_ids"
);
58
}
59
return
[];
60
}
61
}
ilSession\get
static get(string $a_var)
Definition:
class.ilSession.php:401
ILIAS\MediaPool\Clipboard\ClipboardSessionRepository\setFolder
setFolder(int $fold_id)
Definition:
class.ClipboardSessionRepository.php:36
ILIAS\MediaPool\Clipboard\ClipboardSessionRepository\getIds
getIds()
Definition:
class.ClipboardSessionRepository.php:54
ILIAS\MediaPool\Clipboard\ClipboardSessionRepository\getFolder
getFolder()
Definition:
class.ClipboardSessionRepository.php:41
ILIAS\MediaPool\Clipboard
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ClipboardGUIRequest.php:19
ILIAS\GlobalScreen\get
get(string $class_name)
Definition:
SingletonTrait.php:32
ilSession\has
static has($a_var)
Definition:
class.ilSession.php:406
ILIAS\MediaPool\Clipboard\ClipboardSessionRepository\KEY_BASE
const KEY_BASE
Definition:
class.ClipboardSessionRepository.php:30
ILIAS\MediaPool\Clipboard\ClipboardSessionRepository\setIds
setIds(array $ids)
Definition:
class.ClipboardSessionRepository.php:49
ILIAS\MediaPool\Clipboard\ClipboardSessionRepository
Stores media pool clipboard data.
Definition:
class.ClipboardSessionRepository.php:28
ILIAS\MediaPool\Clipboard\ClipboardSessionRepository\__construct
__construct()
Definition:
class.ClipboardSessionRepository.php:32
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
MediaPool
Clipboard
class.ClipboardSessionRepository.php
Generated on Tue Apr 8 2025 23:03:50 for ILIAS by
1.8.13 (using
Doxyfile
)