25include_once(
"./Services/Component/classes/class.ilComponent.php");
56 $class = get_class($this);
58 return substr($class, 2, strlen($class) - 9);
71 $services_dir = ILIAS_ABSOLUTE_PATH .
"/Services";
73 if (!@is_dir($services_dir)) {
78 $dir = opendir($services_dir);
81 while (
$file = readdir($dir)) {
85 if (@is_dir($services_dir .
"/" .
$file)) {
86 if (@is_file($services_dir .
"/" .
$file .
"/service.xml")) {
87 $services[] = array(
"subdir" =>
$file);
An exception for terminatinating execution or to throw for unit testing.
ILIAS Service (A service provides cross-sectional functionalities, used by other components)
static getAvailableCoreServices()
Get all available core services.
static getComponentType()
Get Component Type.
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file