46 global $objDefinition;
48 if (isset(self::$instances[
$a_type])) {
49 return self::$instances[
$a_type];
52 $class = $objDefinition->getClassName($a_type);
53 $location = $objDefinition->getLocation($a_type);
54 $full_class =
"ilObj" . $class .
"SubItemListGUI";
55 if (@include_once(
$location .
"/class." . $full_class .
".php")) {
56 return self::$instances[
$a_type] =
new $full_class($a_cmd_class);
58 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
Create styles array
The data for the language used.
Default implementation of a sub item list gui.