ILIAS Service (A service provides cross-sectional functionalities, used by other components)
More...
ILIAS Service (A service provides cross-sectional functionalities, used by other components)
- Author
- Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
- Version
- $Id$
Definition at line 36 of file class.ilService.php.
◆ getAvailableCoreServices()
static ilService::getAvailableCoreServices |
( |
| ) |
|
|
staticfinal |
Get all available core services.
Core services are located in the main ILIAS/Services folder and provide a service.xml file that includes information about the service. (please note that currently only a few services provide a service.xml file)
- Returns
- array array of services (assoc array, "name", "dir")
Definition at line 67 of file class.ilService.php.
Referenced by ilComponentsTableGUI\getComponents(), ilPluginsOverviewTableGUI\getServicesCoreItems(), ilDBUpdate\loadXMLInfo(), and ilSetupGUI\reloadControlStructure().
69 $services_dir = ILIAS_ABSOLUTE_PATH .
"/Services";
71 if (!@is_dir($services_dir)) {
76 $dir = opendir($services_dir);
79 while ($file = readdir($dir)) {
83 if (@is_dir($services_dir .
"/" . $file)) {
84 if (@is_file($services_dir .
"/" . $file .
"/service.xml")) {
85 $services[] = array(
"subdir" => $file);
◆ getComponentType()
ilService::getComponentType |
( |
| ) |
|
|
final |
◆ getName()
Get Name.
- Returns
- string Name
Definition at line 51 of file class.ilService.php.
54 $class = get_class($this);
56 return substr($class, 2, strlen($class) - 9);
The documentation for this class was generated from the following file: