71 {
77
78 if (!$this->obj_ids) {
79 return;
80 }
81
82 $this->obj_ids = array_unique($this->obj_ids);
83 $this->types = array_unique($this->types);
84 if ($this->ref_ids) {
85 $this->ref_ids = array_unique($this->ref_ids);
86 }
87
88
89 include_once("./Services/Conditions/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]);
92
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]);
95 }
96
102 $this->obj_ids_by_type[
$type]
103 );
104 }
105
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)) {
112 call_user_func(
113 array($full_class, "_preloadData"),
114 $this->obj_ids_by_type[
$type],
115 $this->ref_ids_by_type[
$type]
116 );
117 }
118 }
119 }
120
121 if ($this->ref_ids) {
122 $tree->preloadDeleted($this->ref_ids);
123 $tree->preloadDepthParent($this->ref_ids);
124 $ilObjDataCache->preloadReferenceCache($this->ref_ids, false);
126
127 if (
$ilUser->getId != ANONYMOUS_USER_ID &&
130 }
131
132 include_once("./Services/Object/classes/class.ilObjectActivation.php");
134 }
135
136 include_once("./Services/Object/classes/class.ilObjectListGUI.php");
138
140 include_once("./Services/Rating/classes/class.ilRating.php");
141 include_once("./Services/Rating/classes/class.ilRatingGUI.php");
143
144 include_once("./Services/AdvancedMetaData/classes/class.ilAdvancedMDValues.php");
146 }
147
151 include_once("./Services/Tracking/classes/class.ilLPStatus.php");
153 }
154 }
static preloadByObjIds(array $a_obj_ids)
Preload list gui data.
static preloadPersistedConditionsForTargetRecords($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.
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.