ILIAS
release_8 Revision v8.24
◀ 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
Stores repository clipboard data.
Definition:
class.BlockSessionRepository.php:29
ILIAS\Block\BlockSessionRepository\KEY_BASE
const KEY_BASE
Definition:
class.BlockSessionRepository.php:30
ILIAS\Block\BlockSessionRepository\__construct
__construct()
Definition:
class.BlockSessionRepository.php:32
ILIAS\Block\BlockSessionRepository\setNavPar
setNavPar(string $par, string $val)
Definition:
class.BlockSessionRepository.php:36
ILIAS\Block\BlockSessionRepository\getNavPar
getNavPar(string $par)
Definition:
class.BlockSessionRepository.php:43
ilSession
Definition:
class.ilSession.php:27
ilSession\has
static has($a_var)
Definition:
class.ilSession.php:464
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\Repository\get
get(string $key, Refinery\Transformation $t)
Get passed parameter, if not data passed, get key from http request.
Definition:
trait.BaseGUIRequest.php:209
Services
Block
classes
class.BlockSessionRepository.php
Generated on Sun Nov 2 2025 22:01:29 for ILIAS by
1.9.4 (using
Doxyfile
)