48 $objDefinition = $DIC[
'objDefinition'];
50 if (isset(self::$instances[
$a_type])) {
51 return self::$instances[
$a_type];
54 $class = $objDefinition->getClassName($a_type);
55 $location = $objDefinition->getLocation($a_type);
56 $full_class =
"ilObj" . $class .
"SubItemListGUI";
57 if (@include_once(
$location .
"/class." . $full_class .
".php")) {
58 return self::$instances[
$a_type] =
new $full_class($a_cmd_class);
60 include_once
'./Services/Object/classes/class.ilObjectSubItemListGUI.php';
List Gui factory for subitems (forum threads, lm pages...)
static getInstanceByType($a_type, $a_cmd_class)
get instance by type
Default implementation of a sub item list gui.