4include_once(
"./Services/Object/classes/class.ilObjectListGUI.php");
 
   50        $this->obj_definition = 
$DIC[
"objDefinition"];
 
   51        $this->tree = 
$DIC->repositoryTree();
 
   52        $this->obj_data_cache = 
$DIC[
"ilObjDataCache"];
 
   53        $this->
user = $DIC->user();
 
   54        $this->rbacsystem = 
$DIC->rbac()->system();
 
   55        $this->context = $a_context;
 
   60        $this->obj_ids[] = $a_obj_id;
 
   61        $this->obj_ids_by_type[
$a_type][] = $a_obj_id;
 
   65            $this->ref_ids[] = $a_ref_id;
 
   66            $this->ref_ids_by_type[
$a_type][] = $a_ref_id;
 
   78        if (!$this->obj_ids) {
 
   82        $this->obj_ids = array_unique($this->obj_ids);
 
   83        $this->types = array_unique($this->types);
 
   85            $this->ref_ids = array_unique($this->ref_ids);
 
   89        include_once(
"./Services/AccessControl/classes/class.ilConditionHandler.php");
 
   90        foreach ($this->types as 
$type) {
 
   91            $this->obj_ids_by_type[
$type] = array_unique($this->obj_ids_by_type[
$type]);
 
   93            if (is_array($this->ref_ids_by_type[
$type])) {
 
   94                $this->ref_ids_by_type[
$type] = array_unique($this->ref_ids_by_type[
$type]);
 
  102                    $this->obj_ids_by_type[
$type]
 
  106            $class = $objDefinition->getClassName(
$type);
 
  109                $full_class = 
"ilObj" . $class . 
"Access";
 
  110                include_once(
$location . 
"/class." . $full_class . 
".php");
 
  111                if (class_exists($full_class)) {
 
  113                        array($full_class, 
"_preloadData"),
 
  114                        $this->obj_ids_by_type[
$type],
 
  115                        $this->ref_ids_by_type[
$type]
 
  121        if ($this->ref_ids) {
 
  122            $tree->preloadDeleted($this->ref_ids);
 
  123            $tree->preloadDepthParent($this->ref_ids);
 
  124            $ilObjDataCache->preloadReferenceCache($this->ref_ids, 
false);
 
  127            if (
$ilUser->getId != ANONYMOUS_USER_ID &&
 
  132            include_once(
"./Services/Object/classes/class.ilObjectActivation.php");
 
  136        include_once(
"./Services/Object/classes/class.ilObjectListGUI.php");
 
  140            include_once(
"./Services/Rating/classes/class.ilRating.php");
 
  141            include_once(
"./Services/Rating/classes/class.ilRatingGUI.php");
 
  144            include_once(
"./Services/AdvancedMetaData/classes/class.ilAdvancedMDValues.php");
 
  151            include_once(
"./Services/Tracking/classes/class.ilLPStatus.php");
 
An exception for terminatinating execution or to throw for unit testing.
static preloadByObjIds(array $a_obj_ids)
Preload list gui data.
static preloadConditionsForTargetRecords($a_type, $a_obj_ids)
Preload conditions for target records.
static preloadListGUIData($a_obj_ids)
static preloadIsDesktopItem($a_usr_id, $a_item_ids)
Preload desktop item information.
static preloadData(array $a_ref_ids)
Preload data to internal cache.
Preloader for object list GUIs.
addItem($a_obj_id, $a_type, $a_ref_id=null)
const CONTEXT_PERSONAL_DESKTOP
static preloadCommonProperties($a_obj_ids, $a_context)
Preload common properties.
static preloadListGUIData(array $a_obj_ids)
Preload rating data for list guis.