ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilObjExternalFeedAccess.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
6
include_once(
"./Services/Object/classes/class.ilObjectAccess.php"
);
7
17
class
ilObjExternalFeedAccess
extends
ilObjectAccess
18
{
19
32
public
static
function
_getCommands
()
33
{
34
$commands = array(
35
array(
"permission"
=>
"write"
,
"cmd"
=>
"edit"
,
"lang_var"
=>
"settings"
)
36
);
37
38
return
$commands;
39
}
40
41
45
public
static
function
_checkGoto
($a_target)
46
{
47
global
$DIC
;
48
49
$ilAccess = $DIC->access();
50
51
// #14870 - used for redirect after copy
52
53
$t_arr = explode(
"_"
, $a_target);
54
55
if
($t_arr[0] !=
"feed"
|| ((
int
) $t_arr[1]) <= 0) {
56
return
false
;
57
}
58
59
if
($ilAccess->checkAccess(
"read"
,
""
, $t_arr[1])) {
60
return
true
;
61
}
62
return
false
;
63
}
64
}
$DIC
global $DIC
Definition:
saml.php:7
ilObjExternalFeedAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjExternalFeedAccess.php:32
ilObjExternalFeedAccess
Class ilObjExternalFeedAccess.
Definition:
class.ilObjExternalFeedAccess.php:17
ilObjExternalFeedAccess\_checkGoto
static _checkGoto($a_target)
check whether goto script will succeed
Definition:
class.ilObjExternalFeedAccess.php:45
ilObjectAccess
Class ilObjectAccess.
Definition:
class.ilObjectAccess.php:16
php
Modules
ExternalFeed
classes
class.ilObjExternalFeedAccess.php
Generated on Thu Jan 16 2025 19:02:03 for ILIAS by
1.8.13 (using
Doxyfile
)