ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilSoapUserAdministrationAdapter Class Reference

adapter class for nusoap server More...

+ Collaboration diagram for ilSoapUserAdministrationAdapter:

Public Member Functions

 __construct ()
 
 start ()
 

Data Fields

SoapServer $server
 

Private Member Functions

 registerMethods ()
 

Detailed Description

adapter class for nusoap server

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 28 of file class.ilSoapUserAdministrationAdapter.php.

Constructor & Destructor Documentation

◆ __construct()

ilSoapUserAdministrationAdapter::__construct ( )

Definition at line 32 of file class.ilSoapUserAdministrationAdapter.php.

References registerMethods().

33  {
34  $this->server = new SoapServer(null);
35  $this->registerMethods();
36  }
+ Here is the call graph for this function:

Member Function Documentation

◆ registerMethods()

ilSoapUserAdministrationAdapter::registerMethods ( )
private

Definition at line 45 of file class.ilSoapUserAdministrationAdapter.php.

Referenced by __construct().

45  : void
46  {
47  include_once './webservice/soap/include/inc.soap_functions.php';
48 
49  $this->server->addFunction(SOAP_FUNCTIONS_ALL);
50  }
+ Here is the caller graph for this function:

◆ start()

ilSoapUserAdministrationAdapter::start ( )

Definition at line 38 of file class.ilSoapUserAdministrationAdapter.php.

References $_SERVER.

38  : void
39  {
40  if ($_SERVER['REQUEST_METHOD'] === 'POST') {
41  $this->server->handle();
42  }
43  }
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10

Field Documentation

◆ $server

SoapServer ilSoapUserAdministrationAdapter::$server

Definition at line 30 of file class.ilSoapUserAdministrationAdapter.php.


The documentation for this class was generated from the following file: