ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilSoapUserAdministrationAdapter.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=0);
25{
26 public SoapServer $server;
27
28 public function __construct()
29 {
30 $this->server = new SoapServer(null);
31 $this->registerMethods();
32 }
33
34 public function start(): void
35 {
36 if ($_SERVER['REQUEST_METHOD'] === 'POST') {
37 $this->server->handle();
38 }
39 }
40
41 private function registerMethods(): void
42 {
43 include_once './components/ILIAS/soap/include/inc.soap_functions.php';
44
45 $this->server->addFunction(SOAP_FUNCTIONS_ALL);
46 }
47}
$_SERVER['HTTP_HOST']
Definition: raiseError.php:26