ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilSoapUserAdministrationAdapter.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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()
description: > This example shows how a Progress Bar can be rendered and updated by the server...
Definition: server.php:43
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
$_SERVER['HTTP_HOST']
Definition: raiseError.php:26