25include_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);
An exception for terminatinating execution or to throw for unit testing.
static getComponentType()
Get Component Type.
__construct()
Constructor: read information on component.
static getAvailableCoreModules()
Get all available core modules.
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file