{
global $objDefinition, $tree, $ilObjDataCache,
$ilUser, $rbacsystem;
if(!$this->obj_ids)
{
return;
}
$this->obj_ids = array_unique($this->obj_ids);
$this->types = array_unique($this->types);
if($this->ref_ids)
{
$this->ref_ids = array_unique($this->ref_ids);
}
include_once("./Services/AccessControl/classes/class.ilConditionHandler.php");
foreach ($this->types as $type)
{
$this->obj_ids_by_type[$type] = array_unique($this->obj_ids_by_type[$type]);
if(is_array($this->ref_ids_by_type[$type]))
{
$this->ref_ids_by_type[$type] = array_unique($this->ref_ids_by_type[$type]);
}
{
$this->obj_ids_by_type[$type]);
}
$class = $objDefinition->getClassName($type);
$location = $objDefinition->getLocation($type);
{
$full_class = "ilObj".$class."Access";
include_once(
$location.
"/class.".$full_class.
".php");
if(class_exists($full_class))
{
call_user_func(array($full_class, "_preloadData"),
$this->obj_ids_by_type[$type], $this->ref_ids_by_type[$type]);
}
}
}
if($this->ref_ids)
{
$tree->preloadDeleted($this->ref_ids);
$tree->preloadDepthParent($this->ref_ids);
$ilObjDataCache->preloadReferenceCache($this->ref_ids, false);
$rbacsystem->preloadRbacPaCache($this->ref_ids, $ilUser->getId());
if($ilUser->getId != ANONYMOUS_USER_ID &&
{
}
include_once("./Services/Object/classes/class.ilObjectActivation.php");
}
include_once("./Services/Object/classes/class.ilObjectListGUI.php");
{
include_once("./Services/Rating/classes/class.ilRating.php");
include_once("./Services/Rating/classes/class.ilRatingGUI.php");
include_once("./Services/AdvancedMetaData/classes/class.ilAdvancedMDValues.php");
}
{
include_once("./Services/Tracking/classes/class.ilLPStatus.php");
}
}