25 include_once(
"./Services/Component/classes/class.ilPlugin.php");
64 $q =
"SELECT * FROM il_pluginslot WHERE component = ".
66 " AND id = ".$ilDB->quote($this->
getSlotId());
67 $set = $ilDB->query($q);
79 $this->componenttype = $a_componenttype;
89 return $this->componenttype;
99 $this->componentname = $a_componentname;
109 return $this->componentname;
119 $this->slotid = $a_slotid;
129 return $this->slotid;
139 $this->slotname = $a_slotname;
149 return $this->slotname;
157 return "./Customizing/global/plugins/".$this->getComponentType().
158 "/".$this->getComponentName().
"/".$this->
getSlotName();
167 $a_plugin_name.
"/plugin.php";
189 $a_plugin_name.
"/classes/class.il".$a_plugin_name.
"Plugin.php";
211 if ($this->prefix ==
"")
218 return $this->prefix;
226 global $ilPluginAdmin;
231 if (!@is_dir($pl_dir))
236 $dir = opendir($pl_dir);
245 if (@is_dir($pl_dir.
"/".
$file))
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;
286 $q =
"SELECT * FROM il_pluginslot WHERE component = ".
287 $ilDB->quote($a_ctype.
"/".$a_cname).
288 " AND name = ".$ilDB->quote($a_slot_name);
289 $set = $ilDB->query($q);
301 $q =
"SELECT * FROM il_pluginslot WHERE component = ".
302 $ilDB->quote($a_ctype.
"/".$a_cname).
303 " AND id = ".$ilDB->quote($a_slot_id);
304 $set = $ilDB->query($q);
314 global $ilPluginAdmin;