ILIAS
trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
◀ 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.ilObjEmployeeTalkSeriesAccess.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\EmployeeTalk\UI\ControlFlowCommand
;
22
23
final
class
ilObjEmployeeTalkSeriesAccess
extends
ilObjectAccess
24
{
25
private
static
?
self
$instance
=
null
;
26
27
public
static
function
getInstance
(): self
28
{
29
if
(is_null(self::$instance)) {
30
self::$instance =
new
ilObjEmployeeTalkSeriesAccess
();
31
}
32
33
return
self::$instance;
34
}
35
48
public
static
function
_getCommands
(): array
49
{
50
$commands = [
51
[
52
'permission'
=>
'read'
,
53
'cmd'
=> ControlFlowCommand::DEFAULT,
54
'lang_var'
=>
'show'
,
55
'default'
=>
true
,
56
]
57
];
58
59
return
$commands;
60
}
61
62
public
static
function
_isOffline
($obj_id): bool
63
{
64
return
false
;
65
}
66
67
public
static
function
_checkGoto
(
string
$target): bool
68
{
69
global
$DIC
;
70
71
$t_arr = explode(
'_'
, $target);
72
if
($t_arr[0] !==
ilObjEmployeeTalkSeries::TYPE
|| ((
int
) $t_arr[1]) <= 0) {
73
return
false
;
74
}
75
if
($DIC->access()->checkAccess(
'read'
,
''
, (
int
) $t_arr[1])) {
76
return
true
;
77
}
78
79
return
false
;
80
}
81
}
ilObjectAccess
ilObjEmployeeTalkSeriesAccess\$instance
static self $instance
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:25
ilObjEmployeeTalkSeriesAccess\_isOffline
static _isOffline($obj_id)
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:62
ilObjEmployeeTalkSeriesAccess\_checkGoto
static _checkGoto(string $target)
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:67
ilObjEmployeeTalkSeries\TYPE
const string TYPE
Definition:
class.ilObjEmployeeTalkSeries.php:26
ilObjEmployeeTalkSeriesAccess\getInstance
static getInstance()
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:27
ilObjEmployeeTalkSeriesAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:48
ilObjEmployeeTalkSeriesAccess
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:23
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:142
ControlFlowCommand
$DIC
global $DIC
Definition:
shib_login.php:22
components
ILIAS
EmployeeTalk
classes
TalkSeries
class.ilObjEmployeeTalkSeriesAccess.php
Generated on Mon Apr 7 2025 23:03:21 for ILIAS by
1.8.13 (using
Doxyfile
)