ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilContainerAccess Class Reference

Class ilContainerAccess. More...

+ Collaboration diagram for ilContainerAccess:

Public Member Functions

 canBeDelivered (ilWACPath $ilWACPath)
 

Detailed Description

Member Function Documentation

◆ canBeDelivered()

ilContainerAccess::canBeDelivered ( ilWACPath  $ilWACPath)
Parameters
ilWACPath$ilWACPath
Returns
bool

Definition at line 21 of file class.ilContainerAccess.php.

References $results, ilObject2\_getAllReferences(), and ilWACPath\getPath().

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  }
static _getAllReferences($a_id)
$results
Definition: svg-scanner.php:47
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: