ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.NotesSessionRepository.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
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
ilSession\has
static has($a_var)
Definition:
class.ilSession.php:464
ILIAS\Notes\NotesSessionRepository\getSortAscending
getSortAscending()
Definition:
class.NotesSessionRepository.php:39
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
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:451
Services
Notes
Note
class.NotesSessionRepository.php
Generated on Tue Apr 1 2025 22:02:29 for ILIAS by
1.8.13 (using
Doxyfile
)