ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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 30 of file class.ilSoapUserAdministrationAdapter.php.

Constructor & Destructor Documentation

◆ __construct()

ilSoapUserAdministrationAdapter::__construct ( )

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

References registerMethods().

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

Member Function Documentation

◆ registerMethods()

ilSoapUserAdministrationAdapter::registerMethods ( )
private

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

Referenced by __construct().

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

◆ start()

ilSoapUserAdministrationAdapter::start ( )

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

References $_SERVER.

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

Field Documentation

◆ $server

SoapServer ilSoapUserAdministrationAdapter::$server

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


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