ILIAS
trunk Revision v11.0_alpha-1702-gfd3ecb7f852
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilAccessInfo.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
26
class
ilAccessInfo
27
{
28
public
const
IL_NO_PERMISSION
=
'no_permission'
;
29
public
const
IL_MISSING_PRECONDITION
=
"missing_precondition"
;
30
public
const
IL_NO_OBJECT_ACCESS
=
"no_object_access"
;
31
public
const
IL_NO_PARENT_ACCESS
=
"no_parent_access"
;
32
public
const
IL_DELETED
=
'object_deleted'
;
33
public
const
IL_STATUS_INFO
=
'object_status'
;
34
public
const
IL_STATUS_MESSAGE
= self::IL_STATUS_INFO;
35
36
private
array
$info_items
= [];
37
38
public
function
clear
(): void
39
{
40
$this->info_items = [];
41
}
42
46
public
function
addInfoItem
(
string
$a_type,
string
$a_text,
string
$a_data =
""
): void
47
{
48
$this->info_items[] = [
49
"type"
=> $a_type,
50
"text"
=> $a_text,
51
"data"
=> $a_data
52
];
53
}
54
58
public
function
getInfoItems
(): array
59
{
60
return
$this->info_items
;
61
}
62
}
ilAccessInfo\IL_NO_OBJECT_ACCESS
const IL_NO_OBJECT_ACCESS
Definition:
class.ilAccessInfo.php:30
ilAccessInfo\IL_NO_PARENT_ACCESS
const IL_NO_PARENT_ACCESS
Definition:
class.ilAccessInfo.php:31
ilAccessInfo\IL_MISSING_PRECONDITION
const IL_MISSING_PRECONDITION
Definition:
class.ilAccessInfo.php:29
ilAccessInfo
class ilAccessInfo
Definition:
class.ilAccessInfo.php:26
ilAccessInfo\IL_DELETED
const IL_DELETED
Definition:
class.ilAccessInfo.php:32
ilAccessInfo\IL_NO_PERMISSION
const IL_NO_PERMISSION
Definition:
class.ilAccessInfo.php:28
ilAccessInfo\getInfoItems
getInfoItems()
get all info items
Definition:
class.ilAccessInfo.php:58
ilAccessInfo\clear
clear()
Definition:
class.ilAccessInfo.php:38
ilAccessInfo\$info_items
array $info_items
Definition:
class.ilAccessInfo.php:36
ilAccessInfo\IL_STATUS_INFO
const IL_STATUS_INFO
Definition:
class.ilAccessInfo.php:33
ilAccessInfo\IL_STATUS_MESSAGE
const IL_STATUS_MESSAGE
Definition:
class.ilAccessInfo.php:34
ilAccessInfo\addInfoItem
addInfoItem(string $a_type, string $a_text, string $a_data="")
add an info item
Definition:
class.ilAccessInfo.php:46
components
ILIAS
AccessControl
classes
class.ilAccessInfo.php
Generated on Thu Apr 3 2025 23:01:48 for ILIAS by
1.8.13 (using
Doxyfile
)