ILIAS  release_8 Revision v8.24
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
 getListTablesLink ()
 
 getListRecordsLink (string $viewId)
 
 getEditRecordLink (int $viewId, int $recordId)
 
 getListPermissionsLink ()
 
 getInfoScreenLink ()
 
 getDataCollectionHomeLink (ilObjDataCollectionGUI $dataCollectionGUI)
 
 getEditDclLink (ilObjDataCollectionGUI $dataCollectionGUI)
 
 getCreateDclLink (ilObjDataCollectionGUI $dataCollectionGUI)
 
 getSaveDclEndpoint (ilObjDataCollectionGUI $dataCollectionGUI)
 
 getDataCollectionExportLink ()
 
 getQueryRecordDataEndpoint ()
 
 isAsyncCall ()
 
 redirect (string $link)
 
 saveParameterTableId (object $guiObject)
 
 saveParameterTableviewId (object $guiObject)
 
 forwardCommand (object $guiObject)
 

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.

134 : void
135 {
136 $this->ctrl->forwardCommand($guiObject);
137 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getCreateDclLink()

ilDataCollectionEndpointAdapter::getCreateDclLink ( ilObjDataCollectionGUI  $dataCollectionGUI)

Implements ilDataCollectionEndpointPort.

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

94 : string
95 {
96 return $this->ctrl->getLinkTarget($dataCollectionGUI, "createObject");
97 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getDataCollectionExportLink()

ilDataCollectionEndpointAdapter::getDataCollectionExportLink ( )
Exceptions
ilCtrlException

Implements ilDataCollectionEndpointPort.

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

81 : string
82 {
83 return $this->ctrl->getLinkTargetByClass("ildclexportgui", "");
84 }

References ILIAS\Repository\ctrl().

+ 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.

121 : string
122 {
123 return $this->ctrl->getLinkTarget($dataCollectionGUI, "render");
124 }

References ILIAS\Repository\ctrl().

+ 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.

73 : string
74 {
75 return $this->ctrl->getLinkTarget($dataCollectionGUI, "editObject");
76 }

References ILIAS\Repository\ctrl().

+ 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.

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 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getInfoScreenLink()

ilDataCollectionEndpointAdapter::getInfoScreenLink ( )

Implements ilDataCollectionEndpointPort.

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

60 : string
61 {
62 return $this->ctrl->getLinkTargetByClass("ilinfoscreengui", "showSummary");
63 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getListPermissionsLink()

ilDataCollectionEndpointAdapter::getListPermissionsLink ( )
Exceptions
ilCtrlException

Implements ilDataCollectionEndpointPort.

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

89 : string
90 {
91 return $this->ctrl->getLinkTargetByClass("ilpermissiongui", "perm");
92 }

References ILIAS\Repository\ctrl().

+ 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.

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

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getListTablesLink()

ilDataCollectionEndpointAdapter::getListTablesLink ( )
Exceptions
ilCtrlException

Implements ilDataCollectionEndpointPort.

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

37 : string
38 {
39 return $this->ctrl->getLinkTargetByClass("ilDclTableListGUI", "listTables");
40 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getQueryRecordDataEndpoint()

ilDataCollectionEndpointAdapter::getQueryRecordDataEndpoint ( )

Implements ilDataCollectionEndpointPort.

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

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

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getSaveDclEndpoint()

ilDataCollectionEndpointAdapter::getSaveDclEndpoint ( ilObjDataCollectionGUI  $dataCollectionGUI)

Implements ilDataCollectionEndpointPort.

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

99 : string
100 {
101 return $this->ctrl->getLinkTarget($dataCollectionGUI, "saveObject");
102 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ isAsyncCall()

ilDataCollectionEndpointAdapter::isAsyncCall ( )

Implements ilDataCollectionEndpointPort.

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

126 : bool
127 {
128 return $this->ctrl->isAsynch();
129 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ new()

static ilDataCollectionEndpointAdapter::new ( )
static

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

28 : self
29 {
30 global $DIC;
31 return new self($DIC->ctrl());
32 }
global $DIC
Definition: feed.php:28

References $DIC.

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

+ Here is the caller graph for this function:

◆ redirect()

ilDataCollectionEndpointAdapter::redirect ( string  $link)

Implements ilDataCollectionEndpointPort.

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

65 : void
66 {
67 $this->ctrl->redirectToURL($link);
68 }

References ILIAS\Repository\ctrl().

+ 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.

142 : void
143 {
144 $this->ctrl->saveParameter($guiObject, "table_id");
145 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ saveParameterTableviewId()

ilDataCollectionEndpointAdapter::saveParameterTableviewId ( object  $guiObject)

Implements ilDataCollectionEndpointPort.

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

147 : void
148 {
149 $this->ctrl->saveParameter($guiObject, "tableview_id");
150 }

References ILIAS\Repository\ctrl().

+ 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: