46 global $objDefinition;
48 if(isset(self::$instances[
$a_type]))
50 return self::$instances[
$a_type];
53 $class = $objDefinition->getClassName($a_type);
54 $location = $objDefinition->getLocation($a_type);
55 $full_class =
"ilObj".$class.
"SubItemListGUI";
56 if(@include_once(
$location.
"/class.".$full_class.
".php"))
58 return self::$instances[
$a_type] =
new $full_class($a_cmd_class);
62 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.