ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilContainerAccess.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
14
class
ilContainerAccess
15
{
21
public
function
canBeDelivered
(
ilWACPath
$ilWACPath)
22
{
23
global $ilAccess;
24
25
preg_match(
"/\\/obj_([\\d]*)\\//uism"
, $ilWACPath->
getPath
(),
$results
);
26
foreach
(
ilObject2::_getAllReferences
(
$results
[1]) as $ref_id) {
27
if
($ilAccess->checkAccess(
'visible'
,
''
, $ref_id)) {
28
return
true
;
29
}
30
}
31
32
return
false
;
33
}
34
}
ilContainerAccess
Class ilContainerAccess.
Definition:
class.ilContainerAccess.php:14
ilContainerAccess\canBeDelivered
canBeDelivered(ilWACPath $ilWACPath)
Definition:
class.ilContainerAccess.php:21
ilWACPath
Class ilWACPath.
Definition:
class.ilWACPath.php:10
ilWACPath\getPath
getPath()
Definition:
class.ilWACPath.php:547
ilObject2\_getAllReferences
static _getAllReferences($a_id)
Definition:
class.ilObject2.php:251
$results
$results
Definition:
svg-scanner.php:47
Services
Container
classes
class.ilContainerAccess.php
Generated on Sat Jan 18 2025 19:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)