ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.NotesSessionRepository.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Notes
;
22
26
class
NotesSessionRepository
27
{
28
public
const
KEY_BASE
=
"notes"
;
29
30
public
function
__construct
()
31
{
32
}
33
34
public
function
setSortAscending
(
bool
$asc): void
35
{
36
\ilSession::set
(self::KEY_BASE .
"_asc"
, $asc);
37
}
38
39
public
function
getSortAscending
(): bool
40
{
41
if
(\
ilSession::has
(self::KEY_BASE .
"_asc"
)) {
42
return \ilSession::get
(self::KEY_BASE .
"_asc"
);
43
}
44
return
false
;
45
}
46
}
ILIAS\Notes\NotesSessionRepository\KEY_BASE
const KEY_BASE
Definition:
class.NotesSessionRepository.php:28
ILIAS\Notes
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.Context.php:21
ILIAS\Notes\NotesSessionRepository\__construct
__construct()
Definition:
class.NotesSessionRepository.php:30
ILIAS\GlobalScreen\get
get(string $class_name)
Definition:
SingletonTrait.php:32
ilSession\has
static has($a_var)
Definition:
class.ilSession.php:393
ILIAS\Notes\NotesSessionRepository\getSortAscending
getSortAscending()
Definition:
class.NotesSessionRepository.php:39
ILIAS\Notes\NotesSessionRepository
Definition:
class.NotesSessionRepository.php:26
ILIAS\Notes\NotesSessionRepository\setSortAscending
setSortAscending(bool $asc)
Definition:
class.NotesSessionRepository.php:34
ilSession\set
static set(string $a_var, $a_val)
Set a value.
Definition:
class.ilSession.php:380
components
ILIAS
Notes
Note
class.NotesSessionRepository.php
Generated on Sun Aug 31 2025 23:03:28 for ILIAS by
1.8.13 (using
Doxyfile
)