ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
class.ilObjEmployeeTalkSeriesAccess.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
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
($a_obj_id): bool
63
{
64
return
false
;
65
}
66
72
public
static
function
_checkGoto
(
string
$a_target): bool
73
{
74
global
$DIC
;
75
76
$t_arr = explode(
'_'
, $a_target);
77
if
($t_arr[0] !==
ilObjEmployeeTalkSeries::TYPE
|| ((
int
) $t_arr[1]) <= 0) {
78
return
false
;
79
}
80
if
($DIC->access()->checkAccess(
'read'
,
''
, (
int
) $t_arr[1])) {
81
return
true
;
82
}
83
84
return
false
;
85
}
86
}
ilObjectAccess
ilObjEmployeeTalkSeriesAccess\$instance
static self $instance
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:25
ilObjEmployeeTalkSeriesAccess\getInstance
static getInstance()
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:27
ilObjEmployeeTalkSeriesAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:48
ilObjEmployeeTalkSeriesAccess\_isOffline
static _isOffline($a_obj_id)
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:62
ilObjEmployeeTalkSeriesAccess\_checkGoto
static _checkGoto(string $a_target)
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:72
ilObjEmployeeTalkSeriesAccess
Definition:
class.ilObjEmployeeTalkSeriesAccess.php:23
ControlFlowCommand
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\Forum\Notification\DEFAULT
Definition:
NotificationType.php:27
ilObjEmployeeTalkSeries\TYPE
const TYPE
Definition:
class.ilObjEmployeeTalkSeries.php:26
components
ILIAS
EmployeeTalk
classes
TalkSeries
class.ilObjEmployeeTalkSeriesAccess.php
Generated on Wed Sep 10 2025 15:15:29 for ILIAS by
1.8.13 (using
Doxyfile
)