ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ilWebServicesSetupAgent Class Reference
+ Inheritance diagram for ilWebServicesSetupAgent:
+ Collaboration diagram for ilWebServicesSetupAgent:

Public Member Functions

 __construct (Refinery\Factory $refinery)
 
 hasConfig ()
 
 getConfigInput (Setup\Config $config=null)
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (Setup\Config $config=null)
 
 getUpdateObjective (Setup\Config $config=null)
 
 getBuildArtifactObjective ()
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 

Protected Attributes

 $refinery
 

Detailed Description

Definition at line 9 of file class.ilWebServicesSetupAgent.php.

Constructor & Destructor Documentation

◆ __construct()

ilWebServicesSetupAgent::__construct ( Refinery\Factory  $refinery)

Definition at line 18 of file class.ilWebServicesSetupAgent.php.

References $refinery.

19  {
20  $this->refinery = $refinery;
21  }

Member Function Documentation

◆ getArrayToConfigTransformation()

ilWebServicesSetupAgent::getArrayToConfigTransformation ( )

Definition at line 42 of file class.ilWebServicesSetupAgent.php.

References $data, ilSoapClient\DEFAULT_CONNECT_TIMEOUT, and ilSoapClient\DEFAULT_RESPONSE_TIMEOUT.

42  : Refinery\Transformation
43  {
44  return $this->refinery->custom()->transformation(function ($data) {
45  return new \ilWebServicesSetupConfig(
46  (bool) ($data["soap_user_administration"] ?? false),
47  $data["soap_wsdl_path"] ?? "",
48  (int) ($data["soap_connect_timeout"] ?? ilSoapClient::DEFAULT_CONNECT_TIMEOUT),
49  (int) ($data["soap_response_timeout"] ?? ilSoapClient::DEFAULT_RESPONSE_TIMEOUT),
50  $data["rpc_server_host"] ?? "",
51  (int) ($data["rpc_server_port"] ?? 0),
52  );
53  });
54  }
$data
Definition: storeScorm.php:23
const DEFAULT_RESPONSE_TIMEOUT
const DEFAULT_CONNECT_TIMEOUT

◆ getBuildArtifactObjective()

ilWebServicesSetupAgent::getBuildArtifactObjective ( )

Definition at line 78 of file class.ilWebServicesSetupAgent.php.

78  : Setup\Objective
79  {
80  return new Setup\Objective\NullObjective();
81  }

◆ getConfigInput()

ilWebServicesSetupAgent::getConfigInput ( Setup\Config  $config = null)

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

34  : UI\Component\Input\Field\Input
35  {
36  throw new \LogicException("Not yet implemented.");
37  }

◆ getInstallObjective()

ilWebServicesSetupAgent::getInstallObjective ( Setup\Config  $config = null)

Definition at line 59 of file class.ilWebServicesSetupAgent.php.

References $config.

59  : Setup\Objective
60  {
62  }
Store information about https is enabled.
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68

◆ getMigrations()

ilWebServicesSetupAgent::getMigrations ( )

Definition at line 94 of file class.ilWebServicesSetupAgent.php.

94  : array
95  {
96  return [];
97  }

◆ getStatusObjective()

ilWebServicesSetupAgent::getStatusObjective ( Setup\Metrics\Storage  $storage)

Definition at line 86 of file class.ilWebServicesSetupAgent.php.

86  : Setup\Objective
87  {
88  return new Setup\Objective\NullObjective();
89  }

◆ getUpdateObjective()

ilWebServicesSetupAgent::getUpdateObjective ( Setup\Config  $config = null)

Definition at line 67 of file class.ilWebServicesSetupAgent.php.

References $config.

67  : Setup\Objective
68  {
69  if (is_null($config)) {
70  return new Setup\Objective\NullObjective();
71  }
73  }
Store information about https is enabled.
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68

◆ hasConfig()

ilWebServicesSetupAgent::hasConfig ( )

Definition at line 26 of file class.ilWebServicesSetupAgent.php.

26  : bool
27  {
28  return true;
29  }

Field Documentation

◆ $refinery

ilWebServicesSetupAgent::$refinery
protected

Definition at line 16 of file class.ilWebServicesSetupAgent.php.

Referenced by __construct().


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