25 include_once(
"./Services/Component/classes/class.ilComponent.php");
49 parent::__construct();
70 $class = get_class($this);
72 return substr($class, 2, strlen($class) - 8);
84 $modules_dir = ILIAS_ABSOLUTE_PATH .
"/Modules";
86 if (!@is_dir($modules_dir)) {
91 $dir = opendir($modules_dir);
94 while (
$file = readdir($dir)) {
98 if (@is_dir($modules_dir .
"/" .
$file)) {
99 if (@is_file($modules_dir .
"/" . $file .
"/module.xml")) {
100 $modules[] =
array(
"subdir" => $file);
__construct()
Constructor: read information on component.
static getComponentType()
Get Component Type.
Create styles array
The data for the language used.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
static getAvailableCoreModules()
Get all available core modules.