ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilIIMEditorServerAdapterGUI Class Reference

Adapter for JSON frontend. More...

+ Collaboration diagram for ilIIMEditorServerAdapterGUI:

Public Member Functions

 __construct (ilPageObjectGUI $page_gui, ilCtrl $ctrl, \ILIAS\DI\UIServices $ui, Message\ServerRequestInterface $request)
 
 executeCommand ()
 

Protected Member Functions

 invokeServer ()
 Invoke rpc server. More...
 

Protected Attributes

ilPageObjectGUI $page_gui
 
ILIAS DI UIServices $ui
 
ilCtrl $ctrl
 
Message ServerRequestInterface $request
 

Detailed Description

Adapter for JSON frontend.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 27 of file class.ilIIMEditorServerAdapterGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilIIMEditorServerAdapterGUI::__construct ( ilPageObjectGUI  $page_gui,
ilCtrl  $ctrl,
\ILIAS\DI\UIServices  $ui,
Message\ServerRequestInterface  $request 
)

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

References $ctrl, $page_gui, $request, $ui, ILIAS\Repository\ctrl(), and ILIAS\Repository\ui().

+ Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

ilIIMEditorServerAdapterGUI::executeCommand ( )

Definition at line 46 of file class.ilIIMEditorServerAdapterGUI.php.

References $ctrl, ilCtrl\getCmd(), and ilCtrl\getNextClass().

46  : void
47  {
49  $next_class = $ctrl->getNextClass($this);
50  $cmd = $ctrl->getCmd("invokeServer");
51 
52  switch ($next_class) {
53  default:
54  if (in_array($cmd, array("invokeServer"))) {
55  $this->$cmd();
56  }
57  }
58  }
getCmd(?string $fallback_command=null)
getNextClass($a_gui_class=null)
+ Here is the call graph for this function:

◆ invokeServer()

ilIIMEditorServerAdapterGUI::invokeServer ( )
protected

Invoke rpc server.

Definition at line 63 of file class.ilIIMEditorServerAdapterGUI.php.

References $server, and ILIAS\Repository\ui().

63  : void
64  {
65  $server = new Server\Server($this->page_gui, $this->ui, $this->request);
66  $server->reply();
67  }
$server
Definition: shib_login.php:24
+ Here is the call graph for this function:

Field Documentation

◆ $ctrl

ilCtrl ilIIMEditorServerAdapterGUI::$ctrl
protected

Definition at line 31 of file class.ilIIMEditorServerAdapterGUI.php.

Referenced by __construct(), and executeCommand().

◆ $page_gui

ilPageObjectGUI ilIIMEditorServerAdapterGUI::$page_gui
protected

Definition at line 29 of file class.ilIIMEditorServerAdapterGUI.php.

Referenced by __construct().

◆ $request

Message ServerRequestInterface ilIIMEditorServerAdapterGUI::$request
protected

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

Referenced by __construct().

◆ $ui

ILIAS DI UIServices ilIIMEditorServerAdapterGUI::$ui
protected

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

Referenced by __construct().


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