ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
class.BlockSessionRepository.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\Block
;
22
28
class
BlockSessionRepository
29
{
30
public
const
KEY_BASE
=
"block_"
;
31
32
public
function
__construct
()
33
{
34
}
35
36
public
function
setNavPar
(
37
string
$par,
38
string
$val
39
): void {
40
\ilSession::set
(self::KEY_BASE . $par, $val);
41
}
42
43
public
function
getNavPar
(
string
$par): string
44
{
45
if
(\
ilSession::has
(self::KEY_BASE . $par)) {
46
return \ilSession::get
(self::KEY_BASE . $par);
47
}
48
return
""
;
49
}
50
}
ILIAS\Block\BlockSessionRepository\KEY_BASE
const KEY_BASE
Definition:
class.BlockSessionRepository.php:30
ILIAS\Block
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.BlockManager.php:21
ILIAS\Block\BlockSessionRepository
Stores repository clipboard data.
Definition:
class.BlockSessionRepository.php:28
ILIAS\Block\BlockSessionRepository\getNavPar
getNavPar(string $par)
Definition:
class.BlockSessionRepository.php:43
ILIAS\GlobalScreen\get
get(string $class_name)
Definition:
SingletonTrait.php:32
ilSession\has
static has($a_var)
Definition:
class.ilSession.php:406
ILIAS\Block\BlockSessionRepository\__construct
__construct()
Definition:
class.BlockSessionRepository.php:32
ILIAS\Block\BlockSessionRepository\setNavPar
setNavPar(string $par, string $val)
Definition:
class.BlockSessionRepository.php:36
ilSession\set
static set(string $a_var, $a_val)
Set a value.
Definition:
class.ilSession.php:393
components
ILIAS
Block
classes
class.BlockSessionRepository.php
Generated on Wed Sep 10 2025 15:15:03 for ILIAS by
1.8.13 (using
Doxyfile
)