ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilBadgeManagementSessionRepository.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilBadgeManagementSessionRepository
26
{
27
final
public
const
KEY
=
"bdgclpbrd"
;
28
29
public
function
__construct
()
30
{
31
}
32
33
public
function
setBadgeIds
(array $ids): void
34
{
35
\ilSession::set
(self::KEY, $ids);
36
}
37
38
public
function
getBadgeIds
(): array
39
{
40
if
(\
ilSession::has
(self::KEY)) {
41
return \ilSession::get
(self::KEY);
42
}
43
return
[];
44
}
45
46
public
function
clear
(): void
47
{
48
\ilSession::clear
(self::KEY);
49
}
50
}
ilBadgeManagementSessionRepository\setBadgeIds
setBadgeIds(array $ids)
Definition:
class.ilBadgeManagementSessionRepository.php:33
ilBadgeManagementSessionRepository\clear
clear()
Definition:
class.ilBadgeManagementSessionRepository.php:46
ilBadgeManagementSessionRepository
Stores repository clipboard data.
Definition:
class.ilBadgeManagementSessionRepository.php:25
ilBadgeManagementSessionRepository\KEY
final const KEY
Definition:
class.ilBadgeManagementSessionRepository.php:27
ilBadgeManagementSessionRepository\getBadgeIds
getBadgeIds()
Definition:
class.ilBadgeManagementSessionRepository.php:38
ILIAS\GlobalScreen\get
get(string $class_name)
Definition:
SingletonTrait.php:32
ilSession\has
static has($a_var)
Definition:
class.ilSession.php:393
ilBadgeManagementSessionRepository\__construct
__construct()
Definition:
class.ilBadgeManagementSessionRepository.php:29
ilSession\clear
static clear(string $a_var)
Definition:
class.ilSession.php:398
ilSession\set
static set(string $a_var, $a_val)
Set a value.
Definition:
class.ilSession.php:380
components
ILIAS
Badge
classes
class.ilBadgeManagementSessionRepository.php
Generated on Sun Aug 31 2025 23:02:18 for ILIAS by
1.8.13 (using
Doxyfile
)