5 include_once(
"./Services/Component/classes/class.ilPlugin.php");
44 $rec = $cached_component->lookupPluginSlotById($this->
getSlotId());
62 $this->componenttype = $a_componenttype;
72 return $this->componenttype;
82 $this->componentname = $a_componentname;
92 return $this->componentname;
102 $this->slotid = $a_slotid;
112 return $this->slotid;
122 $this->slotname = $a_slotname;
132 return $this->slotname;
140 return "./Customizing/global/plugins/".$this->getComponentType().
141 "/".$this->getComponentName().
"/".$this->
getSlotName();
149 return "./Customizing/global/plugins/".$a_ctype.
160 $a_plugin_name.
"/plugin.php";
182 $a_plugin_name.
"/classes/class.il".$a_plugin_name.
"Plugin.php";
204 if ($this->prefix ==
"")
211 return $this->prefix;
219 global $ilPluginAdmin;
224 if (!@is_dir($pl_dir))
229 $dir = opendir($pl_dir);
232 while(
$file = readdir($dir))
238 if (@is_dir($pl_dir.
"/".
$file) && substr(
$file, 0, 1) !=
"." &&
239 is_file($pl_dir.
"/".
$file.
"/plugin.php"))
255 $plugin[
"version"] = $pdata[
"version"];
256 $plugin[
"id"] = $pdata[
"id"];
257 $plugin[
"is_active"] = $pdata[
"is_active"];
258 $plugin[
"inactive_reason"] = $pdata[
"inactive_reason"];
259 $plugin[
"needs_update"] = $pdata[
"needs_update"];
260 $plugin[
"ilias_min_version"] = $pdata[
"ilias_min_version"];
261 $plugin[
"ilias_max_version"] = $pdata[
"ilias_max_version"];
262 $plugin[
"activation_possible"] = $pdata[
"activation_possible"];
263 $plugin[
"responsible"] = $pdata[
"responsible"];
264 $plugin[
"responsible_mail"] = $pdata[
"responsible_mail"];
266 $plugin[
"name"] =
$file;
269 $plugin[
"class_file"] =
"class.il".$plugin[
"name"].
"Plugin.php";
271 $plugins[] = $plugin;
285 $rec = $cached_component->lookupPluginSlotByName($a_slot_name);
305 $rec = $cached_component->lookupPluginSlotById($a_slot_id);
324 global $ilPluginAdmin;
337 $recs = $cached_component->getIlPluginslotById();
344 foreach($recs as $rec)
346 $pos = strpos($rec[
"component"],
"/");
348 "component_type" => substr($rec[
"component"], 0, $pos),
349 "component_name" => substr($rec[
"component"], $pos + 1),
350 "slot_id" => $rec[
"id"],
351 "slot_name" => $rec[
"name"]