25 include_once(
"./Services/Component/classes/class.ilComponent.php");
49 parent::__construct();
68 $class = get_class($this);
70 return substr($class, 2, strlen($class) - 8);
82 $modules_dir = ILIAS_ABSOLUTE_PATH .
"/Modules";
84 if (!@is_dir($modules_dir)) {
89 $dir = opendir($modules_dir);
92 while ($file = readdir($dir)) {
96 if (@is_dir($modules_dir .
"/" . $file)) {
97 if (@is_file($modules_dir .
"/" . $file .
"/module.xml")) {
98 $modules[] = array(
"subdir" => $file);
__construct()
Constructor: read information on component.
static getAvailableCoreModules()
Get all available core modules.