ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjDataCollectionGUI 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 ilObjDataCollectionGUI:
+ Collaboration diagram for ilObjDataCollectionGUI:

Public Member Functions

 __construct (int $a_id=0, int $a_id_type=self::REPOSITORY_NODE_ID, int $a_parent_node_id=0)
 
 getObjectId ()
 
 getStandardCmd ()
 
 getType ()
 
 executeCommand ()
 
 infoScreen ()
 this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed More...
 
 render ()
 show Content; redirect to ilDclRecordListGUI::listRecords More...
 
 infoScreenForward ()
 show information screen More...
 
 editObject ()
 edit object public More...
 
 listRecords ()
 
 getDataCollectionObject ()
 
 toggleNotification ()
 
- Public Member Functions inherited from ilObject2GUI
 __construct (int $id=0, int $id_type=self::REPOSITORY_NODE_ID, int $parent_node_id=0)
 
 executeCommand ()
 execute command More...
 
 getIdType ()
 
 delete ()
 Display delete confirmation form (repository/workspace switch) More...
 
 confirmedDelete ()
 Delete objects (repository/workspace switch) More...
 
 getHTML ()
 
 withReferences ()
 Final/Private declaration of unchanged parent methods. More...
 
 setCreationMode (bool $mode=true)
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 isVisible (int $ref_id, string $type)
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 cancelDelete ()
 
 view ()
 view object content (repository/workspace switch) More...
 
 getType ()
 Functions that must be overwritten. More...
 
 create ()
 CRUD. More...
 
 save ()
 
 edit ()
 
 update ()
 
 cancel ()
 
 importFile ()
 
 putObjectInTree (ilObject $obj, int $parent_node_id=null)
 Add object to tree at given position. More...
 
- Public Member Functions inherited from ilObjectGUI
 __construct ($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true)
 
 getRefId ()
 
 setAdminMode (string $mode)
 
 getAdminMode ()
 
 getObject ()
 
 executeCommand ()
 
 withReferences ()
 determines whether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode (bool $mode=true)
 if true, a creation screen is displayed the current [ref_id] don't belong to the current class! The mode is determined in ilRepositoryGUI More...
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelDeleteObject ()
 cancel deletion of object More...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 
 getDidacticTemplateVar (string $type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $obj, int $parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 
 addExternalEditFormCustom (ilPropertyFormGUI $form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction (string $cmd, string $default_form_action="")
 Get form action for command (command is method name without "Object", e.g. More...
 
 isVisible (int $ref_id, string $type)
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 deleteObject (bool $error=false)
 Display deletion confirmation screen. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 redirectAfterCreation ()
 Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html Should be overwritten and redirect to settings screen. More...
 
 addToDeskObject ()
 
 removeFromDeskObject ()
 
- Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback
 callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb)
 

Static Public Member Functions

static _goto (string $a_target)
 
- Static Public Member Functions inherited from ilObject2GUI
static handleAfterSaveCallback (ilObject $obj, ?int $callback_ref_id)
 After creation callback. More...
 
- Static Public Member Functions inherited from ilObjectGUI
static _gotoRepositoryRoot (bool $raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode (int $ref_id, string $cmd="")
 
static _gotoSharedWorkspaceNode (int $wsp_id)
 

Data Fields

const GET_DCL_GTR = "dcl_gtr"
 
const GET_REF_ID = "ref_id"
 
const GET_VIEW_ID = "tableview_id"
 
const TAB_EDIT_DCL = 'settings'
 
const TAB_LIST_TABLES = 'dcl_tables'
 
const TAB_EXPORT = 'export'
 
const TAB_LIST_PERMISSIONS = 'perm_settings'
 
const TAB_INFO = 'info_short'
 
const TAB_CONTENT = 'content'
 
ilObject $object = null
 
- Data Fields inherited from ilObject2GUI
const OBJECT_ID = 0
 
const REPOSITORY_NODE_ID = 1
 
const WORKSPACE_NODE_ID = 2
 
const REPOSITORY_OBJECT_ID = 3
 
const WORKSPACE_OBJECT_ID = 4
 
const PORTFOLIO_OBJECT_ID = 5
 
- Data Fields inherited from ilObjectGUI
const ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION
 
const ADMIN_MODE_NONE = ""
 
const ADMIN_MODE_SETTINGS = "settings"
 
const ADMIN_MODE_REPOSITORY = "repository"
 
const UPLOAD_TYPE_LOCAL = 1
 
const UPLOAD_TYPE_UPLOAD_DIRECTORY = 2
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 

Protected Member Functions

 handleExport (bool $do_default=false)
 
 getTableViewId ()
 
 addLocatorItems ()
 
 afterSave (ilObject $new_object)
 
 setTabs ()
 setTabs create tabs (repository/workspace switch) this had to be moved here because of the context-specific permission tab More...
 
 initEditForm ()
 
 getEditFormCustomValues (array &$a_values)
 
 updateCustom (ilPropertyFormGUI $form)
 
 addHeaderAction ()
 
- Protected Member Functions inherited from ilObject2GUI
 afterConstructor ()
 Do anything that should be done after constructor in here. More...
 
 assignObject ()
 create object instance as internal property (repository/workspace switch) More...
 
 getAccessHandler ()
 
 setLocator ()
 set Locator More...
 
 deleteConfirmedObjects ()
 Delete objects (workspace specific) This should probably be moved elsewhere as done with RepUtil. More...
 
 setTitleAndDescription ()
 
 omitLocator (bool $omit=true)
 
 getTargetFrame (string $cmd, string $target_frame="")
 
 setTargetFrame (string $cmd, string $target_frame)
 
 getCenterColumnHTML ()
 
 getRightColumnHTML ()
 
 checkPermission (string $perm, string $cmd="", string $type="", int $ref_id=null)
 
 showPossibleSubObjects ()
 
 redirectToRefId (int $ref_id, string $cmd="")
 
 fillCloneTemplate (?string $tpl_varname, string $type)
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 
 setTabs ()
 create tabs (repository/workspace switch) More...
 
 getReturnLocation (string $cmd, string $location="")
 Deprecated functions. More...
 
 setReturnLocation (string $cmd, string $location)
 
 showActions ()
 
 getTabs ()
 
 addLocatorItems ()
 Functions to be overwritten. More...
 
 initCreationForms (string $new_type)
 Init creation forms. More...
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $node_id=null)
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 redrawHeaderAction ()
 Updating icons after ajax call. More...
 
 getPermanentLinkWidget (string $append=null, bool $center=false)
 
- Protected Member Functions inherited from ilObjectGUI
 getObjectService ()
 
 assignObject ()
 
 setTitleAndDescription ()
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction (?ilObjectListGUI $list_gui=null)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 setTabs ()
 set admin tabs More...
 
 setAdminTabs ()
 set admin tabs More...
 
 setLocator ()
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator (bool $omit=true)
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 initCreationForms (string $new_type)
 Init creation forms. More...
 
 getCreationFormsHTML (array $forms)
 Get HTML for creation forms (accordion) More...
 
 initCreateForm (string $new_type)
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 addDidacticTemplateOptions (array &$a_options)
 Add custom templates. More...
 
 afterSave (ilObject $new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 initImportForm (string $new_type)
 
 importFileObject (int $parent_id=null)
 
 afterImport (ilObject $new_object)
 Post (successful) object import hook. More...
 
 setFormAction (string $cmd, string $form_action)
 
 getReturnLocation (string $cmd, string $default_location="")
 Get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation (string $cmd, string $location)
 set specific return location for command More...
 
 getTargetFrame (string $cmd, string $default_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame (string $cmd, string $target_frame)
 Set specific target frame for command. More...
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 getTabs ()
 overwrite in derived GUI class of your object type More...
 
 redirectToRefId (int $ref_id, string $cmd="")
 redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More...
 
 fillCloneTemplate (?string $tpl_name, string $type)
 Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 showCustomIconsEditing ( $input_colspan=1, ilPropertyFormGUI $form=null, $as_section=true)
 show edit section of custom icons for container More...
 

Protected Attributes

ilCtrl $ctrl
 
ilLanguage $lng
 
ILIAS HTTP Services $http
 
ilTabsGUI $tabs
 
int $table_id
 
- Protected Attributes inherited from ilObject2GUI
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilCtrl $ctrl
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ilObjectService $object_service
 
ilFavouritesManager $favourites
 
ilErrorHandling $error
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilToolbarGUI $toolbar
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Factory $refinery
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
int $request_ref_id
 
int $id_type
 
int $parent_id
 
string $type
 
string $html
 
int $object_id
 
int $node_id = null
 
array $creation_forms = array()
 
 $access_handler
 
- Protected Attributes inherited from ilObjectGUI
ILIAS Notes Service $notes_service
 
ServerRequestInterface $request
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilSetting $settings
 
ilToolbarGUI $toolbar
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
ilObjectService $object_service
 
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilTree $tree
 
ilCtrl $ctrl
 
ilErrorHandling $error
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ILIAS $ilias
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Factory $refinery
 
ilFavouritesManager $favourites
 
ilObjectCustomIconFactory $custom_icon_factory
 
ilObject $object = null
 
bool $creation_mode = false
 
 $data
 
int $id
 
bool $call_by_reference = false
 
bool $prepare_output
 
int $ref_id
 
int $obj_id
 
int $maxcount
 
array $form_action = []
 
array $return_location = []
 
array $target_frame = []
 
string $tmp_import_dir
 
string $sub_objects = ""
 
bool $omit_locator = false
 
string $type = ""
 
string $admin_mode = self::ADMIN_MODE_NONE
 
int $requested_ref_id = 0
 
int $requested_crtptrefid = 0
 
int $requested_crtcb = 0
 
string $requested_new_type = ""
 
string $link_params
 
string $html = ""
 

Private Member Functions

 setTableId (int $objectOrRefId=0)
 
 addJavaScript ()
 
 addTab (string $langKey, string $link)
 
 emptyInfo ()
 

Private Attributes

ilDataCollectionUiPort $dclUi
 
ilDataCollectionEndpointPort $dclEndPoint
 
ilDataCollectionAccessPort $dclAccess
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjDataCollectionGUI::__construct ( int  $a_id = 0,
int  $a_id_type = self::REPOSITORY_NODE_ID,
int  $a_parent_node_id = 0 
)

Definition at line 55 of file class.ilObjDataCollectionGUI.php.

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), addJavaScript(), ILIAS\Repository\ctrl(), ilObjectGUI\getRefId(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilDataCollectionEndpointAdapter\new(), ilDataCollectionAccessAdapter\new(), ilDataCollectionUiAdapter\new(), setTableId(), and ILIAS\Repository\tabs().

56  {
57  global $DIC;
58  parent::__construct($a_id, $a_id_type, $a_parent_node_id);
59 
60  $this->http = $DIC->http();
61  $this->tabs = $DIC->tabs();
62 
63  $this->lng->loadLanguageModule("dcl");
64  $this->lng->loadLanguageModule('content');
65  $this->lng->loadLanguageModule('obj');
66  $this->lng->loadLanguageModule('cntr');
67 
68  $this->setTableId($this->getRefId());
69 
70  $this->dclEndPoint = ilDataCollectionEndpointAdapter::new();
71  $this->dclAccess = ilDataCollectionAccessAdapter::new();
72  $this->dclUi = ilDataCollectionUiAdapter::new();
73 
74  if ($this->ctrl->isAsynch() === false) {
75  $this->addJavaScript();
76  }
77 
78  $this->dclEndPoint->saveParameterTableId($this);
79  }
global $DIC
Definition: feed.php:28
static http()
Fetches the global http state from ILIAS.
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ _goto()

static ilObjDataCollectionGUI::_goto ( string  $a_target)
static

Definition at line 368 of file class.ilObjDataCollectionGUI.php.

References $DIC, $refId, ilObjectGUI\_gotoRepositoryNode(), ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilDataCollectionUiPort\displayFailureMessage(), ilDataCollectionAccessPort\hasReadPermission(), ilDataCollectionAccessPort\hasVisibleOrReadPermission(), ilDataCollectionAccessPort\hasVisiblePermission(), ilDataCollectionOutboundsAdapter\new(), and ilLanguage\txt().

368  : void
369  {
370  global $DIC;
371  $lng = $DIC->language();
372 
374  $dclUi = $dclConfig->getDataCollectionUi();
375 
376  $ilCtrl = $DIC->ctrl();
377  $dclAccess = $dclConfig->getDataCollectionAccess();
378 
379  $targetParts = explode("_", $a_target);
380  if (count($targetParts) === 1) {
381  [$refId] = $targetParts;
382  } elseif (count($targetParts) === 2) {
383  [$refId, $viewId] = $targetParts;
384  } else {
385  [$refId, $viewId, $recordId] = $targetParts;
386  }
387 
388  //redirect if no permission given
389  if ($dclAccess->hasVisibleOrReadPermission($refId) === false) {
391  sprintf(
392  $lng->txt("msg_no_perm_read_item"),
394  )
395  );
397  }
398 
399  //load record list
400  if ($dclAccess->hasReadPermission($refId) === true) {
401  $ilCtrl->setParameterByClass("ilRepositoryGUI", self::GET_REF_ID, $refId);
402  if (isset($viewId)) {
403  $ilCtrl->setParameterByClass("ilRepositoryGUI", self::GET_VIEW_ID, $viewId);
404  }
405  if (isset($recordId)) {
406  $ilCtrl->setParameterByClass("ilRepositoryGUI", self::GET_DCL_GTR, $recordId);
407  }
408  $ilCtrl->redirectByClass("ilRepositoryGUI", "listRecords");
409  }
410 
411  //redirect to info screen
412  if ($dclAccess->hasVisiblePermission($refId) === true) {
413  ilObjectGUI::_gotoRepositoryNode($a_target, "infoScreen");
414  }
415  }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static _gotoRepositoryNode(int $ref_id, string $cmd="")
$refId
Definition: xapitoken.php:58
displayFailureMessage(string $message)
static _lookupObjId(int $ref_id)
global $DIC
Definition: feed.php:28
hasVisibleOrReadPermission(int $refId)
static _lookupTitle(int $obj_id)
ilDataCollectionAccessPort $dclAccess
hasVisiblePermission(int $refId)
static _gotoRepositoryRoot(bool $raise_error=false)
Goto repository root.
+ Here is the call graph for this function:

◆ addHeaderAction()

ilObjDataCollectionGUI::addHeaderAction ( )
protected

Definition at line 607 of file class.ilObjDataCollectionGUI.php.

References ilObjectGUI\$obj_id, ILIAS\Repository\access(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), ilUtil\getImagePath(), ilNotification\hasNotification(), ILIAS\Repository\lng(), ilNotification\TYPE_DATA_COLLECTION, ilCommonActionDispatcherGUI\TYPE_REPOSITORY, and ILIAS\Repository\user().

Referenced by executeCommand().

607  : void
608  {
609  ilObjectListGUI::prepareJSLinks(
610  $this->ctrl->getLinkTarget($this, "redrawHeaderAction", "", true),
611  "",
612  $this->ctrl->getLinkTargetByClass(array("ilcommonactiondispatchergui", "iltagginggui"), "", "", true)
613  );
614 
615  $dispatcher = new ilCommonActionDispatcherGUI(ilCommonActionDispatcherGUI::TYPE_REPOSITORY, $this->access, "dcl", $this->ref_id, $this->obj_id);
616 
617  $lg = $dispatcher->initHeaderAction();
618 
619  // notification
620  if ($this->user->getId() != ANONYMOUS_USER_ID and $this->object->getNotification() == 1) {
622  //Command Activate Notification
623  $this->ctrl->setParameter($this, "ntf", 1);
624  $lg->addCustomCommand($this->ctrl->getLinkTarget($this, "toggleNotification"), "dcl_notification_deactivate_dcl");
625 
626  $lg->addHeaderIcon("not_icon", ilUtil::getImagePath("notification_on.svg"), $this->lng->txt("dcl_notification_activated"));
627  } else {
628  //Command Deactivate Notification
629  $this->ctrl->setParameter($this, "ntf", 2);
630  $lg->addCustomCommand($this->ctrl->getLinkTarget($this, "toggleNotification"), "dcl_notification_activate_dcl");
631 
632  $lg->addHeaderIcon("not_icon", ilUtil::getImagePath("notification_off.svg"), $this->lng->txt("dcl_notification_deactivated"));
633  }
634  $this->ctrl->setParameter($this, "ntf", "");
635  }
636 
637  $this->tpl->setHeaderActionMenu($lg->getHeaderAction());
638  }
const ANONYMOUS_USER_ID
Definition: constants.php:27
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
static hasNotification(int $type, int $user_id, int $id)
Check notification status for object and user.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addJavaScript()

ilObjDataCollectionGUI::addJavaScript ( )
private

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

Referenced by __construct().

99  : void
100  {
101  $this->dclUi->addJavaScriptFile("Modules/DataCollection/js/datacollection.js");
102  }
+ Here is the caller graph for this function:

◆ addLocatorItems()

ilObjDataCollectionGUI::addLocatorItems ( )
protected
Exceptions
ilCtrlException

Definition at line 357 of file class.ilObjDataCollectionGUI.php.

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

357  : void
358  {
359  if (is_object($this->object) === true) {
360  $this->dclUi->addLocatorItem(
361  $this->object->getTitle(),
362  $this->ctrl->getLinkTarget($this, ""),
363  $this->object->getRefId()
364  );
365  }
366  }
+ Here is the call graph for this function:

◆ addTab()

ilObjDataCollectionGUI::addTab ( string  $langKey,
string  $link 
)
private

Definition at line 463 of file class.ilObjDataCollectionGUI.php.

References ILIAS\Repository\lng(), and ILIAS\Repository\tabs().

Referenced by setTabs().

463  : void
464  {
465  $this->tabs->addTab($langKey, $this->lng->txt($langKey), $link);
466  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ afterSave()

ilObjDataCollectionGUI::afterSave ( ilObject  $new_object)
protected

Definition at line 417 of file class.ilObjDataCollectionGUI.php.

References ILIAS\Repository\lng().

417  : void
418  {
419  $this->dclUi->displaySuccessMessage($this->lng->txt("object_added"));
420 
421  $listTablesLink = $this->dclEndPoint->getListTablesLink();
422  $this->dclEndPoint->redirect($listTablesLink);
423  }
+ Here is the call graph for this function:

◆ editObject()

ilObjDataCollectionGUI::editObject ( )

edit object public

Definition at line 472 of file class.ilObjDataCollectionGUI.php.

References $refId, ilObject2GUI\$tpl, ilObjectGUI\addExternalEditFormCustom(), ilObjectGUI\getEditFormValues(), initEditForm(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().

Referenced by executeCommand().

472  : void
473  {
474  $dataCollectionTemplate = $this->tpl;
475 
476  $refId = $this->object->getRefId();
477  if ($this->dclAccess->hasWritePermission($refId) === false) {
478  $this->dclUi->displayErrorMessage(
479  $this->lng->txt("msg_no_perm_write")
480  );
481  }
482 
483  $this->tabs->activateTab(self::TAB_EDIT_DCL);
484 
485  $form = $this->initEditForm();
486  $values = $this->getEditFormValues();
487  if ($values) {
488  $form->setValuesByArray($values, true);
489  }
490 
491  $this->addExternalEditFormCustom($form);
492 
493  $dataCollectionTemplate->setContent($form->getHTML());
494  }
$refId
Definition: xapitoken.php:58
addExternalEditFormCustom(ilPropertyFormGUI $form)
ilGlobalTemplateInterface $tpl
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emptyInfo()

ilObjDataCollectionGUI::emptyInfo ( )
private

Definition at line 571 of file class.ilObjDataCollectionGUI.php.

References $DIC, ilDclCache\getTableCache(), ILIAS\Repository\object(), and ilLanguage\txt().

Referenced by updateCustom().

571  : void
572  {
573  global $DIC;
574  $lng = $DIC['lng'];
575  $table = ilDclCache::getTableCache($this->object->getFirstVisibleTableId());
576  $tables = $this->object->getTables();
577  if (count($tables) === 1 && count($table->getRecordFields()) === 0 && count($table->getRecords()) === 0
578  && $this->object->getOnline()
579  ) {
580  $this->tpl->setOnScreenMessage('info', $lng->txt("dcl_no_content_warning"), true);
581  }
582  }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
global $DIC
Definition: feed.php:28
static getTableCache(int $table_id=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilObjDataCollectionGUI::executeCommand ( )
Exceptions
ilCtrlException

Definition at line 117 of file class.ilObjDataCollectionGUI.php.

References $DIC, addHeaderAction(), ilObject2GUI\checkPermissionBool(), ilDclRecordListGUI\CMD_LIST_RECORDS, ILIAS\Repository\ctrl(), editObject(), ilObject2GUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilObjectGUI\getObject(), ilObjectGUI\getRefId(), getTableViewId(), handleExport(), ILIAS\FileDelivery\http(), infoScreenForward(), listRecords(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilObject2GUI\prepareOutput(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().

117  : void
118  {
119  global $DIC;
120 
121  $ilNavigationHistory = $DIC['ilNavigationHistory'];
122  $ilHelp = $DIC['ilHelp'];
123  $ilHelp->setScreenIdComponent('bibl');
124 
125  // Navigation History
126  $link = $this->ctrl->getLinkTarget($this, "render");
127 
128  if ($this->getObject() !== null) {
129  $ilNavigationHistory->addItem($this->object->getRefId(), $link, "dcl");
130  }
131 
132  $hasDclGtr = $this->http->wrapper()->query()->has(self::GET_DCL_GTR);
133  // Direct-Link Resource, redirect to viewgui
134  if ($hasDclGtr) {
135  $table_view_id = $this->getTableViewId();
136  $record_id = $this->http->wrapper()->query()->retrieve(
137  self::GET_DCL_GTR,
138  $this->refinery->kindlyTo()->int()
139  );
140 
141  $this->ctrl->setParameterByClass(ilDclDetailedViewGUI::class, 'tableview_id', $table_view_id);
142  $this->ctrl->setParameterByClass(ilDclDetailedViewGUI::class, 'record_id', $record_id);
143  $this->ctrl->redirectByClass(ilDclDetailedViewGUI::class, 'renderRecord');
144  }
145 
146  $next_class = $this->ctrl->getNextClass($this);
147  $cmd = $this->ctrl->getCmd();
148 
149  if (!$this->getCreationMode() && $next_class != "ilinfoscreengui" && $cmd != 'infoScreen' && !$this->checkPermissionBool("read")) {
150  $DIC->ui()->mainTemplate()->loadStandardTemplate();
151  $DIC->ui()->mainTemplate()->setContent("Permission Denied.");
152 
153  return;
154  }
155 
156  switch ($next_class) {
157  case "ilinfoscreengui":
158  $this->prepareOutput();
159  $this->tabs->activateTab(self::TAB_INFO);
160  $this->infoScreenForward();
161  break;
162 
163  case "ilcommonactiondispatchergui":
164  $this->prepareOutput();
166  $gui->enableCommentsSettings(false);
167  $this->ctrl->forwardCommand($gui);
168  break;
169 
170  case "ilpermissiongui":
171  $this->prepareOutput();
172  $this->tabs->activateTab(self::TAB_LIST_PERMISSIONS);
173  $perm_gui = new ilPermissionGUI($this);
174  $this->ctrl->forwardCommand($perm_gui);
175  break;
176 
177  case "ilobjectcopygui":
178  $cp = new ilObjectCopyGUI($this);
179  $cp->setType("dcl");
180  $DIC->ui()->mainTemplate()->loadStandardTemplate();
181  $this->ctrl->forwardCommand($cp);
182  break;
183 
184  case "ildcltablelistgui":
185  $this->prepareOutput();
186  $this->tabs->activateTab(self::TAB_LIST_TABLES);
187  $tablelist_gui = new ilDclTableListGUI($this);
188  $this->ctrl->forwardCommand($tablelist_gui);
189  break;
190 
191  case "ildclrecordlistgui":
192  $this->addHeaderAction();
193  $this->prepareOutput();
194  $this->tabs->activateTab(self::TAB_CONTENT);
195  $recordlist_gui = new ilDclRecordListGUI($this, $this->table_id, $this->getTableViewId());
196  $this->ctrl->forwardCommand($recordlist_gui);
197  break;
198 
199  case "ildclrecordeditgui":
200  $this->prepareOutput();
201  $this->tabs->activateTab(self::TAB_CONTENT);
202  $recordedit_gui = new ilDclRecordEditGUI($this, $this->table_id, $this->getTableViewId());
203  $this->ctrl->forwardCommand($recordedit_gui);
204  break;
205 
206  case "ilobjfilegui":
207  $this->prepareOutput();
208  $this->tabs->activateTab(self::TAB_CONTENT);
209  $file_gui = new ilObjFile($this->getRefId());
210  $this->ctrl->forwardCommand($file_gui);
211  break;
212 
213  case "ilratinggui":
214  $rgui = new ilRatingGUI();
215 
216  $record_id = $this->http->wrapper()->query()->retrieve('record_id', $this->refinery->kindlyTo()->int());
217  $field_id = $this->http->wrapper()->query()->retrieve('field_id', $this->refinery->kindlyTo()->int());
218 
219  $rgui->setObject($record_id, "dcl_record", $field_id, "dcl_field");
220  $rgui->executeCommand();
221  $this->listRecords();
222  break;
223 
224  case "ildcldetailedviewgui":
225  $this->prepareOutput();
226  $recordview_gui = new ilDclDetailedViewGUI($this, $this->getTableViewId());
227  $this->ctrl->forwardCommand($recordview_gui);
228  $this->tabs->clearTargets();
229  $this->tabs->setBackTarget(
230  $this->lng->txt("back"),
231  $this->ctrl->getLinkTargetByClass(
232  ilDclRecordListGUI::class,
234  )
235  );
236  break;
237 
238  case 'ilnotegui':
239  $this->prepareOutput();
240  $recordviewGui = new ilDclDetailedViewGUI($this, $this->getTableViewId());
241  $this->ctrl->forwardCommand($recordviewGui);
242  $this->tabs->clearTargets();
243  $this->tabs->setBackTarget($this->lng->txt("back"), $this->ctrl->getLinkTarget($this, ""));
244  break;
245  case "ildclexportgui":
246  $this->handleExport();
247  break;
248 
249  case strtolower(ilDclPropertyFormGUI::class):
250  $recordedit_gui = new ilDclRecordEditGUI($this, $this->table_id, $this->getTableViewId());
251  $recordedit_gui->getRecord();
252  $recordedit_gui->initForm();
253  $form = $recordedit_gui->getForm();
254  $this->ctrl->forwardCommand($form);
255  break;
256 
257  default:
258  switch ($cmd) {
259  case 'edit': // this is necessary because ilObjectGUI only calls its own editObject (why??)
260  $this->prepareOutput();
261  $this->editObject();
262  break;
263  case 'export':
264  $this->handleExport(true);
265  break;
266  default:
267  parent::executeCommand();
268  }
269  }
270  }
handleExport(bool $do_default=false)
GUI class for the workflow of copying objects.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
prepareOutput(bool $show_sub_objects=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28
static http()
Fetches the global http state from ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)
Class ilObjFile.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
infoScreenForward()
show information screen
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ getDataCollectionObject()

ilObjDataCollectionGUI::getDataCollectionObject ( )

Definition at line 544 of file class.ilObjDataCollectionGUI.php.

545  {
546  return new ilObjDataCollection($this->ref_id, true);
547  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ getEditFormCustomValues()

ilObjDataCollectionGUI::getEditFormCustomValues ( array &  $a_values)
protected

Definition at line 549 of file class.ilObjDataCollectionGUI.php.

549  : void
550  {
551  $a_values["is_online"] = $this->object->getOnline();
552  $a_values["rating"] = $this->object->getRating();
553  $a_values["public_notes"] = $this->object->getPublicNotes();
554  $a_values["approval"] = $this->object->getApproval();
555  $a_values["notification"] = $this->object->getNotification();
556  }

◆ getObjectId()

ilObjDataCollectionGUI::getObjectId ( )

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

References ilObjectGUI\$obj_id.

94  : int
95  {
96  return $this->obj_id;
97  }

◆ getStandardCmd()

ilObjDataCollectionGUI::getStandardCmd ( )

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

104  : string
105  {
106  return "render";
107  }

◆ getTableViewId()

ilObjDataCollectionGUI::getTableViewId ( )
protected

Definition at line 287 of file class.ilObjDataCollectionGUI.php.

References ilObjectGUI\getRefId(), ilDclCache\getTableCache(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by executeCommand(), and listRecords().

287  : int
288  {
289  $tableview_id = null;
290  if ($this->http->wrapper()->query()->has('tableview_id')) {
291  $tableview_id = $this->http->wrapper()->query()->retrieve(
292  'tableview_id',
293  $this->refinery->kindlyTo()->int()
294  );
295  }
296  if ($this->http->wrapper()->post()->has('tableview_id')) {
297  $tableview_id = $this->http->wrapper()->post()->retrieve(
298  'tableview_id',
299  $this->refinery->kindlyTo()->int()
300  );
301  }
302  if (!$tableview_id) {
303  $table_obj = ilDclCache::getTableCache($this->table_id);
304  $tableview_id = $table_obj->getFirstTableViewId($this->getRefId());
305  }
306  return $tableview_id;
307  }
static http()
Fetches the global http state from ILIAS.
static getTableCache(int $table_id=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getType()

ilObjDataCollectionGUI::getType ( )

Definition at line 109 of file class.ilObjDataCollectionGUI.php.

109  : string
110  {
111  return "dcl";
112  }

◆ handleExport()

ilObjDataCollectionGUI::handleExport ( bool  $do_default = false)
protected

Definition at line 272 of file class.ilObjDataCollectionGUI.php.

References $table_id, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilObject2GUI\prepareOutput(), and ILIAS\Repository\tabs().

Referenced by executeCommand().

273  {
274  $this->prepareOutput();
275  $this->tabs->setTabActive(self::TAB_EXPORT);
276  $exp_gui = new ilDclExportGUI($this);
277  $exporter = new ilDclContentExporter($this->object->getRefId(), $this->table_id);
278  $exp_gui->addFormat("xlsx", $this->lng->txt('dlc_xls_async_export'), $exporter, 'exportAsync');
279  $exp_gui->addFormat("xml");
280  if ($do_default) {
281  $exp_gui->listExportFiles();
282  } else {
283  $this->ctrl->forwardCommand($exp_gui);
284  }
285  }
prepareOutput(bool $show_sub_objects=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ infoScreen()

ilObjDataCollectionGUI::infoScreen ( )

this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed

Definition at line 314 of file class.ilObjDataCollectionGUI.php.

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

314  : void
315  {
316  $this->ctrl->setCmd("showSummary");
317  $this->ctrl->setCmdClass("ilinfoscreengui");
318  $this->infoScreenForward();
319  }
infoScreenForward()
show information screen
+ Here is the call graph for this function:

◆ infoScreenForward()

ilObjDataCollectionGUI::infoScreenForward ( )

show information screen

Definition at line 339 of file class.ilObjDataCollectionGUI.php.

References ilObject2GUI\checkPermission(), ilObject2GUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and ILIAS\Repository\tabs().

Referenced by executeCommand(), and infoScreen().

339  : void
340  {
341  $this->tabs->activateTab(self::TAB_INFO);
342 
343  if (!$this->checkPermissionBool('visible')) {
344  $this->checkPermission('read');
345  }
346 
347  $info = new ilInfoScreenGUI($this);
348  $info->enablePrivateNotes();
349  $info->addMetaDataSections($this->object->getId(), 0, $this->object->getType());
350 
351  $this->ctrl->forwardCommand($info);
352  }
checkPermission(string $perm, string $cmd="", string $type="", int $ref_id=null)
Class ilInfoScreenGUI.
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initEditForm()

ilObjDataCollectionGUI::initEditForm ( )
protected

Definition at line 496 of file class.ilObjDataCollectionGUI.php.

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), ILIAS\Repository\tabs(), and ilObject\TITLE_LENGTH.

Referenced by editObject().

497  {
498  $this->tabs->activateTab(self::TAB_EDIT_DCL);
499 
500  $form = new ilPropertyFormGUI();
501  $form->setFormAction($this->ctrl->getFormAction($this, "update"));
502  $form->setTitle($this->lng->txt($this->object->getType() . "_edit"));
503 
504  // title
505  $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
506  $ti->setSize(min(40, ilObject::TITLE_LENGTH));
507  $ti->setMaxLength(ilObject::TITLE_LENGTH);
508  $ti->setRequired(true);
509  $form->addItem($ti);
510 
511  // description
512  $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
513  $ta->setCols(40);
514  $ta->setRows(2);
515  $form->addItem($ta);
516 
517  // is_online
518  $cb = new ilCheckboxInputGUI($this->lng->txt("online"), "is_online");
519  $cb->setInfo($this->lng->txt("dcl_online_info"));
520  $form->addItem($cb);
521 
522  // Notification
523  $cb = new ilCheckboxInputGUI($this->lng->txt("dcl_activate_notification"), "notification");
524  $cb->setInfo($this->lng->txt("dcl_notification_info"));
525  $form->addItem($cb);
526 
527  // tile img upload
528  $section_appearance = new ilFormSectionHeaderGUI();
529  $section_appearance->setTitle($this->lng->txt('cont_presentation'));
530  $form->addItem($section_appearance);
531  $form = $this->object_service->commonSettings()->legacyForm($form, $this->object)->addTileImage();
532 
533  $form->addCommandButton("update", $this->lng->txt("save"));
534 
535  return $form;
536  }
const TITLE_LENGTH
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This class represents a checkbox property in a property form.
This class represents a text area property in a property form.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ listRecords()

ilObjDataCollectionGUI::listRecords ( )
final

Definition at line 538 of file class.ilObjDataCollectionGUI.php.

References getTableViewId().

Referenced by executeCommand().

538  : void
539  {
540  $listRecordsLink = $this->dclEndPoint->getListRecordsLink($this->getTableViewId());
541  $this->dclEndPoint->redirect($listRecordsLink);
542  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ render()

ilObjDataCollectionGUI::render ( )

show Content; redirect to ilDclRecordListGUI::listRecords

Definition at line 324 of file class.ilObjDataCollectionGUI.php.

References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

324  : void
325  {
326  if ($this->http->wrapper()->query()->has('tableview_id')) {
327  $tableview_id = $this->http->wrapper()->query()->retrieve(
328  'tableview_id',
329  $this->refinery->kindlyTo()->int()
330  );
331  $this->ctrl->setParameterByClass('ilDclRecordListGUI', 'tableview_id', $tableview_id);
332  }
333  $this->ctrl->redirectByClass("ildclrecordlistgui", "show");
334  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:

◆ setTableId()

ilObjDataCollectionGUI::setTableId ( int  $objectOrRefId = 0)
private

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

References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by __construct().

81  : void
82  {
83  if ($this->http->wrapper()->query()->has('table_id')) {
84  $this->table_id = $this->http->wrapper()->query()->retrieve('table_id', $this->refinery->kindlyTo()->int());
85  } elseif ($this->http->wrapper()->query()->has('tableview_id')) {
86  $this->table_id = ilDclTableView::find(
87  $this->http->wrapper()->query()->retrieve('tableview_id', $this->refinery->kindlyTo()->int())
88  )->getTableId();
89  } elseif ($objectOrRefId > 0) {
90  $this->table_id = $this->object->getFirstVisibleTableId();
91  }
92  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTabs()

ilObjDataCollectionGUI::setTabs ( )
protected

setTabs create tabs (repository/workspace switch) this had to be moved here because of the context-specific permission tab

Definition at line 430 of file class.ilObjDataCollectionGUI.php.

References $refId, and addTab().

430  : void
431  {
432  $refId = $this->object->getRefId();
433 
434  // read permission
435  if ($this->dclAccess->hasReadPermission($refId) === true) {
436  // list records
437  $this->addTab(self::TAB_CONTENT, $this->dclEndPoint->getListRecordsLink());
438  }
439 
440  // visible permission
441  if ($this->dclAccess->hasVisibleOrReadPermission($refId) === true) {
442  // info screen
443  $this->addTab(self::TAB_INFO, $this->dclEndPoint->getInfoScreenLink());
444  }
445 
446  // write permission
447  if ($this->dclAccess->hasWritePermission($refId) === true) {
448  // settings
449  $this->addTab(self::TAB_EDIT_DCL, $this->dclEndPoint->getEditDclLink($this));
450  // list tables
451  $this->addTab(self::TAB_LIST_TABLES, $this->dclEndPoint->getListTablesLink());
452  // export
453  $this->addTab(self::TAB_EXPORT, $this->dclEndPoint->getDataCollectionExportLink());
454  }
455 
456  // edit permissions
457  if ($this->dclAccess->hasEditPermissionPermission($refId) === true) {
458  //list permissions
459  $this->addTab(self::TAB_LIST_PERMISSIONS, $this->dclEndPoint->getListPermissionsLink());
460  }
461  }
$refId
Definition: xapitoken.php:58
addTab(string $langKey, string $link)
+ Here is the call graph for this function:

◆ toggleNotification()

ilObjDataCollectionGUI::toggleNotification ( )
final

Definition at line 584 of file class.ilObjDataCollectionGUI.php.

References ilObjectGUI\$obj_id, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), ilNotification\setNotification(), ilNotification\TYPE_DATA_COLLECTION, and ILIAS\Repository\user().

584  : void
585  {
586  $ntf = $this->http->wrapper()->query()->retrieve('ntf', $this->refinery->kindlyTo()->int());
587  switch ($ntf) {
588  case 1:
591  $this->user->getId(),
593  false
594  );
595  break;
596  case 2:
599  $this->user->getId(),
601  );
602  break;
603  }
604  $this->ctrl->redirectByClass("ildclrecordlistgui", "show");
605  }
static http()
Fetches the global http state from ILIAS.
static setNotification(int $type, int $user_id, int $id, bool $status=true)
Set notification status for object and user.
+ Here is the call graph for this function:

◆ updateCustom()

ilObjDataCollectionGUI::updateCustom ( ilPropertyFormGUI  $form)
protected

Definition at line 558 of file class.ilObjDataCollectionGUI.php.

References emptyInfo(), and ilPropertyFormGUI\getInput().

558  : void
559  {
560  $this->object->setOnline($form->getInput("is_online"));
561  $this->object->setRating($form->getInput("rating"));
562  $this->object->setPublicNotes($form->getInput("public_notes"));
563  $this->object->setApproval($form->getInput("approval"));
564  $this->object->setNotification($form->getInput("notification"));
565 
566  $this->object_service->commonSettings()->legacyForm($form, $this->object)->saveTileImage();
567 
568  $this->emptyInfo();
569  }
getInput(string $a_post_var, bool $ensureValidation=true)
Returns the input of an item, if item provides getInput method and as fallback the value of the HTTP-...
+ Here is the call graph for this function:

Field Documentation

◆ $ctrl

ilCtrl ilObjDataCollectionGUI::$ctrl
protected

Definition at line 49 of file class.ilObjDataCollectionGUI.php.

◆ $dclAccess

ilDataCollectionAccessPort ilObjDataCollectionGUI::$dclAccess
private

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

◆ $dclEndPoint

ilDataCollectionEndpointPort ilObjDataCollectionGUI::$dclEndPoint
private

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

◆ $dclUi

ilDataCollectionUiPort ilObjDataCollectionGUI::$dclUi
private

Definition at line 45 of file class.ilObjDataCollectionGUI.php.

◆ $http

ILIAS HTTP Services ilObjDataCollectionGUI::$http
protected

Definition at line 51 of file class.ilObjDataCollectionGUI.php.

◆ $lng

ilLanguage ilObjDataCollectionGUI::$lng
protected

Definition at line 50 of file class.ilObjDataCollectionGUI.php.

◆ $object

ilObject ilObjDataCollectionGUI::$object = null

Definition at line 43 of file class.ilObjDataCollectionGUI.php.

◆ $table_id

int ilObjDataCollectionGUI::$table_id
protected

Definition at line 53 of file class.ilObjDataCollectionGUI.php.

Referenced by handleExport().

◆ $tabs

ilTabsGUI ilObjDataCollectionGUI::$tabs
protected

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

◆ GET_DCL_GTR

const ilObjDataCollectionGUI::GET_DCL_GTR = "dcl_gtr"

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

◆ GET_REF_ID

const ilObjDataCollectionGUI::GET_REF_ID = "ref_id"

Definition at line 33 of file class.ilObjDataCollectionGUI.php.

◆ GET_VIEW_ID

const ilObjDataCollectionGUI::GET_VIEW_ID = "tableview_id"

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

◆ TAB_CONTENT

const ilObjDataCollectionGUI::TAB_CONTENT = 'content'

Definition at line 41 of file class.ilObjDataCollectionGUI.php.

◆ TAB_EDIT_DCL

const ilObjDataCollectionGUI::TAB_EDIT_DCL = 'settings'

Definition at line 36 of file class.ilObjDataCollectionGUI.php.

◆ TAB_EXPORT

const ilObjDataCollectionGUI::TAB_EXPORT = 'export'

Definition at line 38 of file class.ilObjDataCollectionGUI.php.

◆ TAB_INFO

const ilObjDataCollectionGUI::TAB_INFO = 'info_short'

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

◆ TAB_LIST_PERMISSIONS

const ilObjDataCollectionGUI::TAB_LIST_PERMISSIONS = 'perm_settings'

Definition at line 39 of file class.ilObjDataCollectionGUI.php.

◆ TAB_LIST_TABLES

const ilObjDataCollectionGUI::TAB_LIST_TABLES = 'dcl_tables'

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


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