ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilObjDataCollectionGUI Class Reference

ilObjDataCollectionGUI: ilInfoScreenGUI, ilNoteGUI, ilCommonActionDispatcherGUI ilObjDataCollectionGUI: ilPermissionGUI, ilObjectCopyGUI, ilDclExportGUI ilObjDataCollectionGUI: ilDclRecordListGUI, ilDclRecordEditGUI ilObjDataCollectionGUI: ilDclDetailedViewGUI ilObjDataCollectionGUI: ilDclTableListGUI, ilObjFileGUI ilObjDataCollectionGUI: ilObjUserGUI ilObjDataCollectionGUI: ilRatingGUI ilObjDataCollectionGUI: ilPropertyFormGUI ilObjDataCollectionGUI: ilDclPropertyFormGUI 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 ()
 
 render ()
 
 infoScreenForward ()
 show information screen More...
 
 editObject ()
 
 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)
 
 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] does belong to the parent 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...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 editAvailabilityPeriodObject ()
 
 saveAvailabilityPeriodObject ()
 
 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_REF_ID = 'ref_id'
 
const GET_TABLE_ID = 'table_id'
 
const GET_VIEW_ID = 'tableview_id'
 
const GET_RECORD_ID = 'record_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 ()
 
 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="")
 
 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...
 
- Protected Member Functions inherited from ilObjectGUI
 getObjectService ()
 
 assignObject ()
 
 setTitleAndDescription ()
 
 createActionDispatcherGUI ()
 
 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...
 
 addAdoptContentLinkToToolbar ()
 
 addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar)
 
 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...
 
 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...
 

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
 
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 = []
 
 $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
 
UIFactory $ui_factory
 
UIRenderer $ui_renderer
 
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)
 

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\MetaData\Repository\Validation\Data\__construct(), addJavaScript(), ILIAS\Repository\ctrl(), ilObjectGUI\getRefId(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), setTableId(), and ILIAS\Repository\tabs().

56  {
57  global $DIC;
58 
59  parent::__construct($a_id, $a_id_type, $a_parent_node_id);
60 
61  $this->http = $DIC->http();
62  $this->tabs = $DIC->tabs();
63 
64  $this->lng->loadLanguageModule('dcl');
65  $this->lng->loadLanguageModule('content');
66  $this->lng->loadLanguageModule('obj');
67  $this->lng->loadLanguageModule('cntr');
68 
69  $this->setTableId($this->getRefId());
70 
71  if (!$this->ctrl->isAsynch()) {
72  $this->addJavaScript();
73  }
74 
75  $this->ctrl->saveParameter($this, 'table_id');
76  }
global $DIC
Definition: feed.php:28
static http()
Fetches the global http state from ILIAS.
__construct(VocabulariesInterface $vocabularies)
+ Here is the call graph for this function:

Member Function Documentation

◆ _goto()

static ilObjDataCollectionGUI::_goto ( string  $a_target)
static

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

References ilObject2GUI\$access, $DIC, $message, $params, ilObjectGUI\$ref_id, $table_id, ilObject2GUI\$tpl, ilObjectGUI\_gotoRepositoryNode(), ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilRBACAccessHandler\checkAccess(), ILIAS\Repository\int(), ilCtrl\redirectByClass(), ilGlobalTemplateInterface\setOnScreenMessage(), ilCtrl\setParameterByClass(), and ilLanguage\txt().

325  : void
326  {
327  global $DIC;
328  $lng = $DIC->language();
329 
330  $ctrl = $DIC->ctrl();
331  $access = $DIC->access();
332  $tpl = $DIC->ui()->mainTemplate();
333 
334  $params = explode('_', $a_target);
335  //41821: Handles old permanent links. This is deprecated and removed for ILIAS 10
336  if (count($params) > 1) {
337  if (!str_contains($DIC->http()->request()->getServerParams()['HTTP_REFERER'] ?? '', 'login.php')) {
338  $goto_string = explode('/', $DIC->http()->request()->getRequestTarget());
339  if (str_contains(end($goto_string), 'dcl_')) {
340  $view = new ilDclTableView((int) $params[1]);
341  $params = [$params[0], $view->getTableId(), $params[1] ?? null, $params[2] ?? null];
342  }
343  }
344  }
345  $values = [self::GET_REF_ID, self::GET_TABLE_ID, self::GET_VIEW_ID, self::GET_RECORD_ID];
346  $values = array_combine($values, array_pad($params, count($values), 0));
347 
348  $ref_id = (int) $values[self::GET_REF_ID];
349 
350  if ($access->checkAccess('read', '', $ref_id)) {
351  $ctrl->setParameterByClass(ilRepositoryGUI::class, self::GET_REF_ID, $ref_id);
353  $table_id = (int) $values[self::GET_TABLE_ID];
354  if ($table_id !== 0 && isset($object->getVisibleTables()[$table_id])) {
355  $ctrl->setParameterByClass(ilObjDataCollectionGUI::class, self::GET_TABLE_ID, $table_id);
356  $table = $object->getVisibleTables()[$table_id];
357  $view_id = (int) $values[self::GET_VIEW_ID];
358  if ($view_id !== 0 && isset($table->getTableViews()[$view_id])) {
359  $ctrl->setParameterByClass(ilObjDataCollectionGUI::class, self::GET_VIEW_ID, $view_id);
360  }
361 
362  $record_id = (int) $values[self::GET_RECORD_ID];
363  if ($record_id !== 0 && isset($table->getRecords()[$record_id])) {
364  $ctrl->setParameterByClass(ilDclDetailedViewGUI::class, self::GET_RECORD_ID, $record_id);
365  $ctrl->redirectByClass([ilRepositoryGUI::class, self::class, ilDclDetailedViewGUI::class], 'renderRecord');
366  }
367  }
368  $ctrl->redirectByClass([ilRepositoryGUI::class, self::class, ilDclRecordListGUI::class], 'listRecords');
369  } elseif ($access->checkAccess('visbile', '', $ref_id)) {
370  ilObjectGUI::_gotoRepositoryNode((int) $a_target, 'infoScreen');
371  } else {
372  $message = sprintf(
373  $lng->txt('msg_no_perm_read_item'),
375  );
376  $tpl->setOnScreenMessage('failure', $message, true);
377 
379  }
380  }
redirectByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
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...
setOnScreenMessage(string $type, string $a_txt, bool $a_keep=false)
Set a message to be displayed to the user.
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
Definition: ltiregstart.php:33
checkAccess(string $a_permission, string $a_cmd, int $a_ref_id, string $a_type="", ?int $a_obj_id=null, ?int $a_tree_id=null)
check access for an object (provide $a_type and $a_obj_id if available for better performance) ...
static _gotoRepositoryNode(int $ref_id, string $cmd="")
setParameterByClass(string $a_class, string $a_parameter, $a_value)
static _lookupObjId(int $ref_id)
global $DIC
Definition: feed.php:28
static _lookupTitle(int $obj_id)
ilGlobalTemplateInterface $tpl
$message
Definition: xapiexit.php:32
static _gotoRepositoryRoot(bool $raise_error=false)
Goto repository root.
ilAccessHandler $access
+ Here is the call graph for this function:

◆ addHeaderAction()

ilObjDataCollectionGUI::addHeaderAction ( )
protected

Definition at line 532 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(), ilObjectListGUI\prepareJsLinks(), ilNotification\TYPE_DATA_COLLECTION, ilCommonActionDispatcherGUI\TYPE_REPOSITORY, and ILIAS\Repository\user().

Referenced by executeCommand().

532  : void
533  {
535  $this->ctrl->getLinkTarget($this, 'redrawHeaderAction', '', true),
536  '',
537  $this->ctrl->getLinkTargetByClass([ilCommonActionDispatcherGUI::class, ilTaggingGUI::class], '', '', true)
538  );
539 
540  $dispatcher = new ilCommonActionDispatcherGUI(ilCommonActionDispatcherGUI::TYPE_REPOSITORY, $this->access, 'dcl', $this->ref_id, $this->obj_id);
541 
542  $lg = $dispatcher->initHeaderAction();
543 
544  if ($this->user->getId() != ANONYMOUS_USER_ID and $this->object->getNotification() == 1) {
546  $this->ctrl->setParameter($this, 'ntf', 1);
547  $lg->addCustomCommand($this->ctrl->getLinkTarget($this, 'toggleNotification'), 'dcl_notification_deactivate_dcl');
548  $lg->addHeaderIcon('not_icon', ilUtil::getImagePath('object/notification_on.svg'), $this->lng->txt('dcl_notification_activated'));
549  } else {
550  $this->ctrl->setParameter($this, 'ntf', 2);
551  $lg->addCustomCommand($this->ctrl->getLinkTarget($this, 'toggleNotification'), 'dcl_notification_activate_dcl');
552  $lg->addHeaderIcon('not_icon', ilUtil::getImagePath('object/notification_off.svg'), $this->lng->txt('dcl_notification_deactivated'));
553  }
554  $this->ctrl->setParameter($this, 'ntf', '');
555  }
556 
557  $this->tpl->setHeaderActionMenu($lg->getHeaderAction());
558  }
const ANONYMOUS_USER_ID
Definition: constants.php:27
static prepareJsLinks(string $redraw_url, string $notes_url, string $tags_url, ilGlobalTemplateInterface $tpl=null)
Insert js/ajax links into template.
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->tpl->addJavaScript('Modules/DataCollection/js/datacollection.js');
102  }
+ Here is the caller graph for this function:

◆ addLocatorItems()

ilObjDataCollectionGUI::addLocatorItems ( )
protected

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

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

314  : void
315  {
316  if (is_object($this->object) === true) {
317  $this->locator->addItem(
318  $this->object->getTitle(),
319  $this->ctrl->getLinkTarget($this, ''),
320  (string) $this->object->getRefId()
321  );
322  }
323  }
+ Here is the call graph for this function:

◆ addTab()

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

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

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

Referenced by setTabs().

415  : void
416  {
417  $this->tabs->addTab($langKey, $this->lng->txt($langKey), $link);
418  }
+ 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 382 of file class.ilObjDataCollectionGUI.php.

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

382  : void
383  {
384  $this->tpl->setOnScreenMessage('success', $this->lng->txt('object_added'), true);
385  $this->ctrl->redirectByClass(ilDclTableListGUI::class, 'listTables');
386  }
+ Here is the call graph for this function:

◆ editObject()

ilObjDataCollectionGUI::editObject ( )

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

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

Referenced by executeCommand().

420  : void
421  {
422  $dataCollectionTemplate = $this->tpl;
423 
424  $ref_id = $this->object->getRefId();
425  if ($this->access->checkAccess('write', '', $ref_id) === false) {
426  $this->error->raiseError($this->lng->txt('msg_no_perm_write'), null);
427  }
428 
429  $this->tabs->activateTab(self::TAB_EDIT_DCL);
430 
431  $form = $this->initEditForm();
432  $values = $this->getEditFormValues();
433  if ($values) {
434  $form->setValuesByArray($values, true);
435  }
436 
437  $this->addExternalEditFormCustom($form);
438 
439  $dataCollectionTemplate->setContent($form->getHTML());
440  }
addExternalEditFormCustom(ilPropertyFormGUI $form)
ilGlobalTemplateInterface $tpl
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilObjDataCollectionGUI::executeCommand ( )

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

References $DIC, Vendor\Package\$e, 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(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilObject2GUI\prepareOutput(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().

114  : void
115  {
116  global $DIC;
117 
118  $ilNavigationHistory = $DIC['ilNavigationHistory'];
119  $DIC->help()->setScreenIdComponent('dcl');
120 
121  $link = $this->ctrl->getLinkTarget($this, 'render');
122 
123  if ($this->getObject() !== null) {
124  $ilNavigationHistory->addItem($this->object->getRefId(), $link, 'dcl');
125  }
126 
127  $next_class = $this->ctrl->getNextClass($this);
128  $cmd = $this->ctrl->getCmd();
129 
130  if (!$this->getCreationMode() && $next_class != "ilinfoscreengui" && $cmd != 'infoScreen' && !$this->checkPermissionBool('read')) {
131  $DIC->ui()->mainTemplate()->loadStandardTemplate();
132  $DIC->ui()->mainTemplate()->setContent('Permission Denied.');
133 
134  return;
135  }
136 
137  switch ($next_class) {
138  case strtolower(ilInfoScreenGUI::class):
139  $this->prepareOutput();
140  $this->tabs->activateTab(self::TAB_INFO);
141  $this->infoScreenForward();
142  break;
143  case strtolower(ilCommonActionDispatcherGUI::class):
144  $this->prepareOutput();
146  $gui->enableCommentsSettings(false);
147  $this->ctrl->forwardCommand($gui);
148  break;
149  case strtolower(ilPermissionGUI::class):
150  $this->prepareOutput();
151  $this->tabs->activateTab(self::TAB_LIST_PERMISSIONS);
152  $perm_gui = new ilPermissionGUI($this);
153  $this->ctrl->forwardCommand($perm_gui);
154  break;
155  case strtolower(ilObjectCopyGUI::class):
156  $cp = new ilObjectCopyGUI($this);
157  $cp->setType('dcl');
158  $DIC->ui()->mainTemplate()->loadStandardTemplate();
159  $this->ctrl->forwardCommand($cp);
160  break;
161  case strtolower(ilDclTableListGUI::class):
162  $this->prepareOutput();
163  $this->tabs->activateTab(self::TAB_LIST_TABLES);
164  $tablelist_gui = new ilDclTableListGUI($this);
165  $this->ctrl->forwardCommand($tablelist_gui);
166  break;
167  case strtolower(ilDclRecordListGUI::class):
168  $this->addHeaderAction();
169  $this->prepareOutput();
170  $this->tabs->activateTab(self::TAB_CONTENT);
171  try {
172  $recordlist_gui = new ilDclRecordListGUI($this, $this->table_id, $this->getTableViewId());
173  $this->ctrl->forwardCommand($recordlist_gui);
174  } catch (ilDclNoTableviewException $e) {
175  $this->tpl->setOnScreenMessage($this->tpl::MESSAGE_TYPE_INFO, $this->lng->txt('dcl_no_tableview_found'));
176  }
177  break;
178  case strtolower(ilDclRecordEditGUI::class):
179  $this->prepareOutput();
180  $this->tabs->activateTab(self::TAB_CONTENT);
181  $recordedit_gui = new ilDclRecordEditGUI($this, $this->table_id, $this->getTableViewId());
182  $this->ctrl->forwardCommand($recordedit_gui);
183  break;
184  case strtolower(ilObjFileGUI::class):
185  $this->prepareOutput();
186  $this->tabs->activateTab(self::TAB_CONTENT);
187  $file_gui = new ilObjFile($this->getRefId());
188  $this->ctrl->forwardCommand($file_gui);
189  break;
190  case strtolower(ilRatingGUI::class):
191  $rgui = new ilRatingGUI();
192 
193  $record_id = $this->http->wrapper()->query()->retrieve('record_id', $this->refinery->kindlyTo()->int());
194  $field_id = $this->http->wrapper()->query()->retrieve('field_id', $this->refinery->kindlyTo()->int());
195 
196  $rgui->setObject($record_id, 'dcl_record', $field_id, 'dcl_field');
197  $rgui->executeCommand();
198  $this->ctrl->redirectToURL($this->http->request()->getServerParams()['HTTP_REFERER'] ?? '');
199  break;
200  case strtolower(ilDclDetailedViewGUI::class):
201  $this->prepareOutput();
202  $recordview_gui = new ilDclDetailedViewGUI($this, $this->getTableViewId());
203  $this->ctrl->forwardCommand($recordview_gui);
204  $this->tabs->setBackTarget(
205  $this->lng->txt('back'),
206  $this->ctrl->getLinkTargetByClass(
207  ilDclRecordListGUI::class,
209  )
210  );
211  break;
212  case strtolower(ilNoteGUI::class):
213  $this->prepareOutput();
214  $recordviewGui = new ilDclDetailedViewGUI($this, $this->getTableViewId());
215  $this->ctrl->forwardCommand($recordviewGui);
216  $this->tabs->clearTargets();
217  $this->tabs->setBackTarget($this->lng->txt('back'), $this->ctrl->getLinkTarget($this, ''));
218  break;
219  case strtolower(ilDclExportGUI::class):
220  $this->handleExport();
221  break;
222  case strtolower(ilDclPropertyFormGUI::class):
223  $recordedit_gui = new ilDclRecordEditGUI($this, $this->table_id, $this->getTableViewId());
224  $recordedit_gui->getRecord();
225  $recordedit_gui->initForm();
226  $form = $recordedit_gui->getForm();
227  $this->ctrl->forwardCommand($form);
228  break;
229  default:
230  switch ($cmd) {
231  case 'edit':
232  $this->prepareOutput();
233  $this->editObject();
234  break;
235  case 'export':
236  $this->handleExport(true);
237  break;
238  default:
239  parent::executeCommand();
240  }
241  }
242  }
handleExport(bool $do_default=false)
GUI class for the workflow of copying objects.
prepareOutput(bool $show_sub_objects=true)
ilDclTableListGUI: ilDclFieldListGUI, ilDclFieldEditGUI, ilDclTableViewGUI, ilDclTableEditGUI ...
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.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
infoScreenForward()
show information screen
ilDclDetailedViewGUI: ilDclDetailedViewDefinitionGUI, ilEditClipboardGUI, ilCommentGUI ...
+ Here is the call graph for this function:

◆ getDataCollectionObject()

ilObjDataCollectionGUI::getDataCollectionObject ( )

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

485  {
486  return new ilObjDataCollection($this->ref_id, true);
487  }

◆ getEditFormCustomValues()

ilObjDataCollectionGUI::getEditFormCustomValues ( array &  $a_values)
protected

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

489  : void
490  {
491  $a_values['is_online'] = $this->object->getOnline();
492  $a_values['rating'] = $this->object->getRating();
493  $a_values['public_notes'] = $this->object->getPublicNotes();
494  $a_values['approval'] = $this->object->getApproval();
495  $a_values['notification'] = $this->object->getNotification();
496  }

◆ 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 259 of file class.ilObjDataCollectionGUI.php.

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

Referenced by executeCommand().

259  : int
260  {
261  $tableview_id = null;
262  if ($this->http->wrapper()->query()->has('tableview_id')) {
263  $tableview_id = $this->http->wrapper()->query()->retrieve(
264  'tableview_id',
265  $this->refinery->kindlyTo()->int()
266  );
267  }
268  if ($this->http->wrapper()->post()->has('tableview_id')) {
269  $tableview_id = $this->http->wrapper()->post()->retrieve(
270  'tableview_id',
271  $this->refinery->kindlyTo()->int()
272  );
273  }
274  if (!$tableview_id) {
275  $table_obj = ilDclCache::getTableCache($this->table_id);
276  $tableview_id = $table_obj->getFirstTableViewId();
277  }
278  if ($tableview_id === null) {
279  throw new ilDclNoTableviewException('No visible tableview configured!');
280  }
281  return $tableview_id;
282  }
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.

References ilObjDataCollection\TYPE.

109  : string
110  {
112  }

◆ handleExport()

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

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

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

Referenced by executeCommand().

244  : void
245  {
246  $this->prepareOutput();
247  $this->tabs->setTabActive(self::TAB_EXPORT);
248  $exp_gui = new ilDclExportGUI($this);
249  $exporter = new ilDclContentExporter($this->object->getRefId(), null);
250  $exp_gui->addFormat("xlsx", $this->lng->txt('dcl_xls_async_export'), $exporter, 'exportAsync');
251  $exp_gui->addFormat("xml");
252  if ($do_default) {
253  $exp_gui->listExportFiles();
254  } else {
255  $this->ctrl->forwardCommand($exp_gui);
256  }
257  }
prepareOutput(bool $show_sub_objects=true)
Hook-Class for exporting data-collections (used in SOAP-Class) This Class avoids duplicated code by r...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ infoScreen()

ilObjDataCollectionGUI::infoScreen ( )

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

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

284  : void
285  {
286  $this->ctrl->setCmd("showSummary");
287  $this->ctrl->setCmdClass(ilInfoScreenGUI::class);
288  $this->infoScreenForward();
289  }
infoScreenForward()
show information screen
+ Here is the call graph for this function:

◆ infoScreenForward()

ilObjDataCollectionGUI::infoScreenForward ( )

show information screen

Definition at line 299 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().

299  : void
300  {
301  $this->tabs->activateTab(self::TAB_INFO);
302 
303  if (!$this->checkPermissionBool('visible')) {
304  $this->checkPermission('read');
305  }
306 
307  $info = new ilInfoScreenGUI($this);
308  $info->enablePrivateNotes();
309  $info->addMetaDataSections($this->object->getId(), 0, $this->object->getType());
310 
311  $this->ctrl->forwardCommand($info);
312  }
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 442 of file class.ilObjDataCollectionGUI.php.

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

Referenced by editObject().

443  {
444  $this->tabs->activateTab(self::TAB_EDIT_DCL);
445 
446  $form = new ilPropertyFormGUI();
447  $form->setFormAction($this->ctrl->getFormAction($this, 'update'));
448  $form->setTitle($this->lng->txt($this->object->getType() . '_edit'));
449 
450  $ti = new ilTextInputGUI($this->lng->txt('title'), 'title');
451  $ti->setSize(min(40, ilObject::TITLE_LENGTH));
452  $ti->setMaxLength(ilObject::TITLE_LENGTH);
453  $ti->setRequired(true);
454  $form->addItem($ti);
455 
456  $ta = new ilTextAreaInputGUI($this->lng->txt('description'), 'desc');
457  $ta->setCols(40);
458  $ta->setRows(2);
459  $form->addItem($ta);
460 
461  $cb = new ilCheckboxInputGUI($this->lng->txt('online'), 'is_online');
462  $cb->setInfo($this->lng->txt('dcl_online_info'));
463  $form->addItem($cb);
464 
465  $cb = new ilCheckboxInputGUI($this->lng->txt('dcl_activate_notification'), 'notification');
466  $cb->setInfo($this->lng->txt('dcl_notification_info'));
467  $form->addItem($cb);
468 
469  $section_appearance = new ilFormSectionHeaderGUI();
470  $section_appearance->setTitle($this->lng->txt('cont_presentation'));
471  $form->addItem($section_appearance);
472  $form = $this->object_service->commonSettings()->legacyForm($form, $this->object)->addTileImage();
473 
474  $form->addCommandButton('update', $this->lng->txt('save'));
475 
476  return $form;
477  }
const TITLE_LENGTH
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 479 of file class.ilObjDataCollectionGUI.php.

References ILIAS\Repository\ctrl().

Referenced by render().

479  : void
480  {
481  $this->ctrl->redirectByClass(ilDclRecordListGUI::class, 'show');
482  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ render()

ilObjDataCollectionGUI::render ( )

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

References listRecords().

291  : void
292  {
293  $this->listRecords();
294  }
+ Here is the call graph for this function:

◆ setTableId()

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

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

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

Referenced by __construct().

78  : void
79  {
80  if ($this->http->wrapper()->query()->has('table_id')) {
81  $this->table_id = $this->http->wrapper()->query()->retrieve('table_id', $this->refinery->kindlyTo()->int());
82  } elseif ($this->http->wrapper()->query()->has('tableview_id')) {
83  $this->table_id = ilDclTableView::find(
84  $this->http->wrapper()->query()->retrieve('tableview_id', $this->refinery->kindlyTo()->int())
85  )->getTableId();
86  } elseif ($objectOrRefId > 0) {
87  $tables = ilObjDataCollectionAccess::hasWriteAccess($this->ref_id) ? $this->object->getTables() : $this->object->getVisibleTables();
88  if ($tables !== []) {
89  $this->table_id = array_shift($tables)->getId();
90  }
91  }
92  }
static http()
Fetches the global http state from ILIAS.
static hasWriteAccess(int $ref, ?int $user_id=0)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTabs()

ilObjDataCollectionGUI::setTabs ( )
protected

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

References ilObjectGUI\$ref_id, ILIAS\Repository\access(), addTab(), and ILIAS\Repository\ctrl().

388  : void
389  {
390  $ref_id = $this->object->getRefId();
391 
392  if ($this->access->checkAccess('read', '', $ref_id) === true) {
393  $this->addTab(self::TAB_CONTENT, $this->ctrl->getLinkTargetByClass(ilDclRecordListGUI::class, 'show'));
394  }
395 
396  if ($this->access->checkAccess('visible', '', $ref_id) === true
397  || $this->access->checkAccess('read', '', $ref_id) === true) {
398  $this->addTab(self::TAB_INFO, $this->ctrl->getLinkTargetByClass(
399  ilInfoScreenGUI::class,
400  'showSummary'
401  ));
402  }
403 
404  if ($this->access->checkAccess('write', '', $ref_id) === true) {
405  $this->addTab(self::TAB_EDIT_DCL, $this->ctrl->getLinkTarget($this, 'editObject'));
406  $this->addTab(self::TAB_LIST_TABLES, $this->ctrl->getLinkTargetByClass(ilDclTableListGUI::class, 'listTables'));
407  $this->addTab(self::TAB_EXPORT, $this->ctrl->getLinkTargetByClass(ilDclExportGUI::class, ''));
408  }
409 
410  if ($this->access->checkAccess('edit_permission', '', $ref_id) === true) {
411  $this->addTab(self::TAB_LIST_PERMISSIONS, $this->ctrl->getLinkTargetByClass(ilPermissionGUI::class, 'perm'));
412  }
413  }
addTab(string $langKey, string $link)
+ Here is the call graph for this function:

◆ toggleNotification()

ilObjDataCollectionGUI::toggleNotification ( )
final

Definition at line 509 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().

509  : void
510  {
511  $ntf = $this->http->wrapper()->query()->retrieve('ntf', $this->refinery->kindlyTo()->int());
512  switch ($ntf) {
513  case 1:
516  $this->user->getId(),
518  false
519  );
520  break;
521  case 2:
524  $this->user->getId(),
526  );
527  break;
528  }
529  $this->ctrl->redirectByClass(ilDclRecordListGUI::class, 'show');
530  }
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 498 of file class.ilObjDataCollectionGUI.php.

References ilPropertyFormGUI\getInput().

498  : void
499  {
500  $this->object->setOnline((bool) $form->getInput('is_online'));
501  $this->object->setRating((bool) $form->getInput('rating'));
502  $this->object->setPublicNotes((bool) $form->getInput('public_notes'));
503  $this->object->setApproval((bool) $form->getInput('approval'));
504  $this->object->setNotification((bool) $form->getInput('notification'));
505 
506  $this->object_service->commonSettings()->legacyForm($form, $this->object)->saveTileImage();
507  }
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.

◆ $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 47 of file class.ilObjDataCollectionGUI.php.

◆ $table_id

int ilObjDataCollectionGUI::$table_id
protected

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

Referenced by _goto().

◆ $tabs

ilTabsGUI ilObjDataCollectionGUI::$tabs
protected

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

◆ GET_RECORD_ID

const ilObjDataCollectionGUI::GET_RECORD_ID = 'record_id'

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

◆ GET_REF_ID

const ilObjDataCollectionGUI::GET_REF_ID = 'ref_id'

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

◆ GET_TABLE_ID

const ilObjDataCollectionGUI::GET_TABLE_ID = 'table_id'

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

◆ GET_VIEW_ID

const ilObjDataCollectionGUI::GET_VIEW_ID = 'tableview_id'

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

◆ TAB_CONTENT

const ilObjDataCollectionGUI::TAB_CONTENT = 'content'

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

◆ TAB_EDIT_DCL

const ilObjDataCollectionGUI::TAB_EDIT_DCL = 'settings'

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

◆ TAB_EXPORT

const ilObjDataCollectionGUI::TAB_EXPORT = 'export'

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

◆ TAB_INFO

const ilObjDataCollectionGUI::TAB_INFO = 'info_short'

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

◆ TAB_LIST_PERMISSIONS

const ilObjDataCollectionGUI::TAB_LIST_PERMISSIONS = 'perm_settings'

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

◆ TAB_LIST_TABLES

const ilObjDataCollectionGUI::TAB_LIST_TABLES = 'dcl_tables'

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


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