20 $ilPluginAdmin = $DIC[
"ilPluginAdmin"];
21 $pl_names = $ilPluginAdmin->getActivePluginsForSlot(
IL_COMP_SERVICE,
"Repository",
"robj");
22 foreach ($pl_names as $pl) {
23 $pl_id = $ilPluginAdmin->getId(
IL_COMP_SERVICE,
"Repository",
"robj", $pl);
25 $a_obj_array[$pl_id] = array(
"name" => $pl_id,
"lng" => $pl_id,
"plugin" =>
true);
39 $ilPluginAdmin = $DIC[
"ilPluginAdmin"];
41 include_once(
"./Services/Component/classes/class.ilPlugin.php");
47 if ($ilPluginAdmin->exists(
IL_COMP_SERVICE,
"Repository",
"robj", $pname)) {
48 if (!$a_active_status ||
49 $ilPluginAdmin->isActive(
IL_COMP_SERVICE,
"Repository",
"robj", $pname)) {
67 $ilPluginAdmin = $DIC[
"ilPluginAdmin"];
69 include_once(
"./Services/Component/classes/class.ilPlugin.php");
75 if ($ilPluginAdmin->exists(
IL_COMP_SERVICE,
"Repository",
"robj", $pname)) {
76 if (!$a_active_status ||
77 $ilPluginAdmin->isActive(
IL_COMP_SERVICE,
"Repository",
"robj", $pname)) {
78 if ($ilPluginAdmin->hasLearningProgress(
IL_COMP_SERVICE,
"Repository",
"robj", $pname)) {
static isTypePluginWithLP($a_type, $a_active_status=true)
Check whether a repository type is a plugin which has active learning progress.
Helper methods for repository object plugins.
static lookupNameForId(string $a_ctype, string $a_cname, string $a_slot_id, string $a_plugin_id)
static addCreatableSubObjects($a_obj_array)
Adds objects that can be created to the add new object list array.
static isTypePlugin($a_type, $a_active_status=true)
Checks whether a repository type is a plugin or not.