ILIAS  release_8 Revision v8.23
ilDataCollectionEndpointAdapter Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilDataCollectionEndpointAdapter:
+ Collaboration diagram for ilDataCollectionEndpointAdapter:

Public Member Functions

 getListTablesLink ()
 
 getEditRecordLink (int $viewId, int $recordId)
 
 getListRecordsLink (?string $viewId=null)
 
 getInfoScreenLink ()
 
 redirect (string $link)
 
 getEditDclLink (ilObjDataCollectionGUI $dataCollectionGUI)
 
 getDataCollectionExportLink ()
 
 getListPermissionsLink ()
 
 getCreateDclLink (ilObjDataCollectionGUI $dataCollectionGUI)
 
 getSaveDclEndpoint (ilObjDataCollectionGUI $dataCollectionGUI)
 
 getQueryRecordDataEndpoint ()
 
 getDataCollectionHomeLink (ilObjDataCollectionGUI $dataCollectionGUI)
 
 isAsyncCall ()
 
 forwardCommand (object $guiObject)
 
 saveParameterTableId (object $guiObject)
 
 saveParameterTableviewId (object $guiObject)
 
- Public Member Functions inherited from ilDataCollectionEndpointPort
 getListRecordsLink (string $viewId)
 

Static Public Member Functions

static new ()
 

Private Member Functions

 __construct (ilCtrl $ctrl)
 

Private Attributes

ilCtrl $ctrl
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 19 of file class.ilDataCollectionEndpointAdapter.php.

Constructor & Destructor Documentation

◆ __construct()

ilDataCollectionEndpointAdapter::__construct ( ilCtrl  $ctrl)
private

Definition at line 23 of file class.ilDataCollectionEndpointAdapter.php.

References $ctrl, and ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

Member Function Documentation

◆ forwardCommand()

ilDataCollectionEndpointAdapter::forwardCommand ( object  $guiObject)
Exceptions
ilCtrlException

Implements ilDataCollectionEndpointPort.

Definition at line 134 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

134  : void
135  {
136  $this->ctrl->forwardCommand($guiObject);
137  }
+ Here is the call graph for this function:

◆ getCreateDclLink()

ilDataCollectionEndpointAdapter::getCreateDclLink ( ilObjDataCollectionGUI  $dataCollectionGUI)

Implements ilDataCollectionEndpointPort.

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

References ILIAS\Repository\ctrl().

94  : string
95  {
96  return $this->ctrl->getLinkTarget($dataCollectionGUI, "createObject");
97  }
+ Here is the call graph for this function:

◆ getDataCollectionExportLink()

ilDataCollectionEndpointAdapter::getDataCollectionExportLink ( )
Exceptions
ilCtrlException

Implements ilDataCollectionEndpointPort.

Definition at line 81 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

81  : string
82  {
83  return $this->ctrl->getLinkTargetByClass("ildclexportgui", "");
84  }
+ Here is the call graph for this function:

◆ getDataCollectionHomeLink()

ilDataCollectionEndpointAdapter::getDataCollectionHomeLink ( ilObjDataCollectionGUI  $dataCollectionGUI)
Exceptions
ilCtrlException

Implements ilDataCollectionEndpointPort.

Definition at line 121 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

121  : string
122  {
123  return $this->ctrl->getLinkTarget($dataCollectionGUI, "render");
124  }
+ Here is the call graph for this function:

◆ getEditDclLink()

ilDataCollectionEndpointAdapter::getEditDclLink ( ilObjDataCollectionGUI  $dataCollectionGUI)
Exceptions
ilCtrlException

Implements ilDataCollectionEndpointPort.

Definition at line 73 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

73  : string
74  {
75  return $this->ctrl->getLinkTarget($dataCollectionGUI, "editObject");
76  }
+ Here is the call graph for this function:

◆ getEditRecordLink()

ilDataCollectionEndpointAdapter::getEditRecordLink ( int  $viewId,
int  $recordId 
)

Implements ilDataCollectionEndpointPort.

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

References ILIAS\Repository\ctrl().

42  : string
43  {
44  $this->ctrl->setParameterByClass(ilDclDetailedViewGUI::class, 'tableview_id', $viewId);
45  $this->ctrl->setParameterByClass(ilDclDetailedViewGUI::class, 'record_id', $recordId);
46  return $this->ctrl->getLinkTargetByClass(ilDclDetailedViewGUI::class, 'renderRecord');
47  }
+ Here is the call graph for this function:

◆ getInfoScreenLink()

ilDataCollectionEndpointAdapter::getInfoScreenLink ( )

Implements ilDataCollectionEndpointPort.

Definition at line 60 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

60  : string
61  {
62  return $this->ctrl->getLinkTargetByClass("ilinfoscreengui", "showSummary");
63  }
+ Here is the call graph for this function:

◆ getListPermissionsLink()

ilDataCollectionEndpointAdapter::getListPermissionsLink ( )
Exceptions
ilCtrlException

Implements ilDataCollectionEndpointPort.

Definition at line 89 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

89  : string
90  {
91  return $this->ctrl->getLinkTargetByClass("ilpermissiongui", "perm");
92  }
+ Here is the call graph for this function:

◆ getListRecordsLink()

ilDataCollectionEndpointAdapter::getListRecordsLink ( ?string  $viewId = null)
Exceptions
ilCtrlException

Definition at line 52 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

52  : string
53  {
54  if ($viewId !== null) {
55  $this->ctrl->setParameterByClass("ildclrecordlistgui", "tableview_id", $viewId);
56  }
57  return $this->ctrl->getLinkTargetByClass("ildclrecordlistgui", "show");
58  }
+ Here is the call graph for this function:

◆ getListTablesLink()

ilDataCollectionEndpointAdapter::getListTablesLink ( )
Exceptions
ilCtrlException

Implements ilDataCollectionEndpointPort.

Definition at line 37 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

37  : string
38  {
39  return $this->ctrl->getLinkTargetByClass("ilDclTableListGUI", "listTables");
40  }
+ Here is the call graph for this function:

◆ getQueryRecordDataEndpoint()

ilDataCollectionEndpointAdapter::getQueryRecordDataEndpoint ( )

Implements ilDataCollectionEndpointPort.

Definition at line 104 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

104  : string
105  {
106  return $this->ctrl->getLinkTargetByClass(
107  array(
108  'ilrepositorygui',
109  'ilobjdatacollectiongui',
110  'ildclrecordeditgui',
111  ),
112  'getRecordData',
113  '',
114  true
115  );
116  }
+ Here is the call graph for this function:

◆ getSaveDclEndpoint()

ilDataCollectionEndpointAdapter::getSaveDclEndpoint ( ilObjDataCollectionGUI  $dataCollectionGUI)

Implements ilDataCollectionEndpointPort.

Definition at line 99 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

99  : string
100  {
101  return $this->ctrl->getLinkTarget($dataCollectionGUI, "saveObject");
102  }
+ Here is the call graph for this function:

◆ isAsyncCall()

ilDataCollectionEndpointAdapter::isAsyncCall ( )

Implements ilDataCollectionEndpointPort.

Definition at line 126 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

126  : bool
127  {
128  return $this->ctrl->isAsynch();
129  }
+ Here is the call graph for this function:

◆ new()

static ilDataCollectionEndpointAdapter::new ( )
static

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

References $DIC.

Referenced by ilObjDataCollectionGUI\__construct(), and ilDataCollectionOutboundsAdapter\getDataCollectionEndpoint().

28  : self
29  {
30  global $DIC;
31  return new self($DIC->ctrl());
32  }
global $DIC
Definition: feed.php:28
+ Here is the caller graph for this function:

◆ redirect()

ilDataCollectionEndpointAdapter::redirect ( string  $link)

Implements ilDataCollectionEndpointPort.

Definition at line 65 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

65  : void
66  {
67  $this->ctrl->redirectToURL($link);
68  }
+ Here is the call graph for this function:

◆ saveParameterTableId()

ilDataCollectionEndpointAdapter::saveParameterTableId ( object  $guiObject)
Exceptions
ilCtrlException

Implements ilDataCollectionEndpointPort.

Definition at line 142 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

142  : void
143  {
144  $this->ctrl->saveParameter($guiObject, "table_id");
145  }
+ Here is the call graph for this function:

◆ saveParameterTableviewId()

ilDataCollectionEndpointAdapter::saveParameterTableviewId ( object  $guiObject)

Implements ilDataCollectionEndpointPort.

Definition at line 147 of file class.ilDataCollectionEndpointAdapter.php.

References ILIAS\Repository\ctrl().

147  : void
148  {
149  $this->ctrl->saveParameter($guiObject, "tableview_id");
150  }
+ Here is the call graph for this function:

Field Documentation

◆ $ctrl

ilCtrl ilDataCollectionEndpointAdapter::$ctrl
private

Definition at line 21 of file class.ilDataCollectionEndpointAdapter.php.

Referenced by __construct().


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