ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ilObjDataCollectionGUI Class Reference

ilObjDataCollectionGUI: ilInfoScreenGUI, ilNoteGUI, ilCommonActionDispatcherGUI ilObjDataCollectionGUI: ilPermissionGUI, ilObjectCopyGUI, ilExportGUI ilObjDataCollectionGUI: ilDclRecordListGUI, ilDclRecordEditGUI ilObjDataCollectionGUI: ilDclDetailedViewGUI ilObjDataCollectionGUI: ilDclTableListGUI, ilObjFileGUI ilObjDataCollectionGUI: ilObjUserGUI ilObjDataCollectionGUI: ilRatingGUI ilObjDataCollectionGUI: ilPropertyFormGUI ilObjDataCollectionGUI: ilDclPropertyFormGUI ilObjDataCollectionGUI: ilObjectMetaDataGUI ilObjDataCollectionGUI: ilObjectContentStyleSettingsGUI 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 ()
 
 edit ()
 
 update ()
 
 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 ()
 
 putObjectInTree (ilObject $obj, ?int $parent_node_id=null)
 Add object to tree at given position. More...
 
- Public Member Functions inherited from ilObjectGUI
 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)
 
 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_META_DATA = 'meta_data'
 
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 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
 
const SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED]
 

Protected Member Functions

 handleExport (bool $do_default=false)
 
 handleExportAsync ()
 
 getTableViewId ()
 
 addLocatorItems ()
 
 afterSave (ilObject $new_object)
 
 setTabs ()
 
 initForm ()
 
 setEditTabs ()
 
 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...
 
 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...
 
 getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form)
 
 getTitleForCreationFormPage ()
 
 getCreationFormTitle ()
 
 initCreateForm (string $new_type)
 
 didacticTemplatesToForm ()
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 retrieveAdditionalDidacticTemplateOptions ()
 
 addAdoptContentLinkToToolbar ()
 
 addImportButtonToToolbar ()
 
 addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar)
 
 parseDidacticTemplateVar (string $var, string $type)
 
 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...
 
 routeImportCmdObject ()
 
 importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir)
 
 deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir)
 
 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...
 
 getCreatableObjectTypes ()
 
 buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,)
 
 buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes)
 

Protected Attributes

ilCtrl $ctrl
 
ilLanguage $lng
 
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
 
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
 
GlobalHttpState $http
 
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
 
Refinery $refinery
 
ilFavouritesManager $favourites
 
CustomIconFactory $custom_icon_factory
 
UIFactory $ui_factory
 
UIRenderer $ui_renderer
 
Filesystem $temp_file_system
 
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 58 of file class.ilObjDataCollectionGUI.php.

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), addJavaScript(), ILIAS\Repository\ctrl(), ilObjectGUI\getRefId(), ILIAS\Repository\lng(), setTableId(), and ILIAS\Repository\tabs().

59  {
60  global $DIC;
61 
62  parent::__construct($a_id, $a_id_type, $a_parent_node_id);
63 
64  $this->tabs = $DIC->tabs();
65 
66  $this->lng->loadLanguageModule('dcl');
67  $this->lng->loadLanguageModule('content');
68  $this->lng->loadLanguageModule('obj');
69  $this->lng->loadLanguageModule('cntr');
70 
71  $this->setTableId($this->getRefId());
72 
73  if (!$this->ctrl->isAsynch()) {
74  $this->addJavaScript();
75  }
76 
77  $this->ctrl->saveParameter($this, 'table_id');
78  }
global $DIC
Definition: shib_login.php:26
__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 332 of file class.ilObjDataCollectionGUI.php.

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

332  : void
333  {
334  global $DIC;
335  $lng = $DIC->language();
336 
337  $ctrl = $DIC->ctrl();
338  $access = $DIC->access();
339  $tpl = $DIC->ui()->mainTemplate();
340 
341  $values = [self::GET_REF_ID, self::GET_TABLE_ID, self::GET_VIEW_ID, self::GET_RECORD_ID];
342  $values = array_combine($values, array_pad(explode('_', $a_target), count($values), 0));
343 
344  $ref_id = (int) $values[self::GET_REF_ID];
345 
346  if ($access->checkAccess('read', '', $ref_id)) {
347  $ctrl->setParameterByClass(ilRepositoryGUI::class, self::GET_REF_ID, $ref_id);
349  $table_id = (int) $values[self::GET_TABLE_ID];
350  if ($table_id !== 0 && isset($object->getVisibleTables()[$table_id])) {
351  $ctrl->setParameterByClass(ilObjDataCollectionGUI::class, self::GET_TABLE_ID, $table_id);
352  $table = $object->getVisibleTables()[$table_id];
353  $view_id = (int) $values[self::GET_VIEW_ID];
354  if ($view_id !== 0 && isset($table->getTableViews()[$view_id])) {
355  $ctrl->setParameterByClass(ilObjDataCollectionGUI::class, self::GET_VIEW_ID, $view_id);
356  }
357  $record_id = (int) $values[self::GET_RECORD_ID];
358  if ($record_id !== 0 && isset($table->getRecords()[$record_id])) {
359  $ctrl->setParameterByClass(ilDclDetailedViewGUI::class, self::GET_RECORD_ID, $record_id);
360  $ctrl->redirectByClass([ilRepositoryGUI::class, self::class, ilDclDetailedViewGUI::class], 'renderRecord');
361  }
362  }
363  $ctrl->redirectByClass([ilRepositoryGUI::class, self::class, ilDclRecordListGUI::class], 'listRecords');
364  } elseif ($access->checkAccess('visbile', '', $ref_id)) {
365  ilObjectGUI::_gotoRepositoryNode((int) $a_target, 'infoScreen');
366  } else {
367  $message = sprintf(
368  $lng->txt('msg_no_perm_read_item'),
370  );
371  $tpl->setOnScreenMessage('failure', $message, true);
372 
374  }
375  }
setOnScreenMessage(string $type, string $a_txt, bool $a_keep=false)
Set a message to be displayed to the user.
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...
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)
redirectByClass( $a_class, ?string $a_cmd=null, ?string $a_anchor=null, bool $is_async=false)
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
global $DIC
Definition: shib_login.php:26
ilGlobalTemplateInterface $tpl
$message
Definition: xapiexit.php:31
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 538 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().

538  : void
539  {
541  $this->ctrl->getLinkTarget($this, 'redrawHeaderAction', '', true),
542  '',
543  $this->ctrl->getLinkTargetByClass([ilCommonActionDispatcherGUI::class, ilTaggingGUI::class], '', '', true)
544  );
545 
546  $dispatcher = new ilCommonActionDispatcherGUI(ilCommonActionDispatcherGUI::TYPE_REPOSITORY, $this->access, 'dcl', $this->ref_id, $this->obj_id);
547 
548  $lg = $dispatcher->initHeaderAction();
549 
550  if ($this->user->getId() != ANONYMOUS_USER_ID and $this->object->getNotification() == 1) {
552  $this->ctrl->setParameter($this, 'ntf', 1);
553  $lg->addCustomCommand($this->ctrl->getLinkTarget($this, 'toggleNotification'), 'dcl_notification_deactivate_dcl');
554  $lg->addHeaderIcon('not_icon', ilUtil::getImagePath('object/notification_on.svg'), $this->lng->txt('dcl_notification_activated'));
555  } else {
556  $this->ctrl->setParameter($this, 'ntf', 2);
557  $lg->addCustomCommand($this->ctrl->getLinkTarget($this, 'toggleNotification'), 'dcl_notification_activate_dcl');
558  $lg->addHeaderIcon('not_icon', ilUtil::getImagePath('object/notification_off.svg'), $this->lng->txt('dcl_notification_deactivated'));
559  }
560  $this->ctrl->setParameter($this, 'ntf', '');
561  }
562 
563  $this->tpl->setHeaderActionMenu($lg->getHeaderAction());
564  }
const ANONYMOUS_USER_ID
Definition: constants.php:27
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
static prepareJsLinks(string $redraw_url, string $notes_url, string $tags_url, ?ilGlobalTemplateInterface $tpl=null)
Insert js/ajax links into template.
static hasNotification(int $type, int $user_id, int $id)
Check notification status for object and user.
Class ilCommonActionDispatcherGUI.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addJavaScript()

ilObjDataCollectionGUI::addJavaScript ( )
private

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

Referenced by __construct().

101  : void
102  {
103  $this->tpl->addJavaScript('assets/js/datacollection.js');
104  }
+ Here is the caller graph for this function:

◆ addLocatorItems()

ilObjDataCollectionGUI::addLocatorItems ( )
protected

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

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

321  : void
322  {
323  if (is_object($this->object) === true) {
324  $this->locator->addItem(
325  $this->object->getTitle(),
326  $this->ctrl->getLinkTarget($this, ''),
327  (string) $this->object->getRefId()
328  );
329  }
330  }
+ Here is the call graph for this function:

◆ addTab()

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

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

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

Referenced by setTabs().

410  : void
411  {
412  $this->tabs->addTab($langKey, $this->lng->txt($langKey), $link);
413  }
+ 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 377 of file class.ilObjDataCollectionGUI.php.

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

377  : void
378  {
379  $this->tpl->setOnScreenMessage('success', $this->lng->txt('object_added'), true);
380  $this->ctrl->redirectByClass(ilDclTableListGUI::class, 'listTables');
381  }
+ Here is the call graph for this function:

◆ edit()

ilObjDataCollectionGUI::edit ( )

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

References ilObject2GUI\checkPermissionBool(), ILIAS\Repository\lng(), setEditTabs(), and ILIAS\Repository\tabs().

452  : void
453  {
454  if (!$this->checkPermissionBool('write')) {
455  $this->tpl->setOnScreenMessage($this->tpl::MESSAGE_TYPE_FAILURE, $this->lng->txt('permission_denied'));
456  }
457 
458  $this->setEditTabs();
459  $this->tabs->activateTab(self::TAB_EDIT_DCL);
460 
461  $this->tpl->setContent($this->ui_renderer->render($this->initForm()));
462  }
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)
+ Here is the call graph for this function:

◆ executeCommand()

ilObjDataCollectionGUI::executeCommand ( )

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

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

116  : void
117  {
118  global $DIC;
119 
120  $ilNavigationHistory = $DIC['ilNavigationHistory'];
121  $DIC->help()->setScreenIdComponent('dcl');
122  $link = $this->ctrl->getLinkTarget($this, 'render');
123 
124  if ($this->getObject() !== null) {
125  $ilNavigationHistory->addItem($this->object->getRefId(), $link, 'dcl');
126  }
127 
128  $next_class = $this->ctrl->getNextClass($this);
129  $cmd = $this->ctrl->getCmd();
130 
131  if (!$this->getCreationMode() && $next_class != 'ilinfoscreengui' && $cmd !== 'infoScreen' && !$this->checkPermissionBool('read')) {
132  $DIC->ui()->mainTemplate()->loadStandardTemplate();
133  $DIC->ui()->mainTemplate()->setContent('Permission Denied.');
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(ilExportGUI::class):
220  $this->prepareOutput();
221  $this->handleExport();
222  break;
223  case strtolower(ilDclPropertyFormGUI::class):
224  $recordedit_gui = new ilDclRecordEditGUI($this, $this->table_id, $this->getTableViewId());
225  $recordedit_gui->getRecord();
226  $recordedit_gui->initForm();
227  $form = $recordedit_gui->getForm();
228  $this->ctrl->forwardCommand($form);
229  break;
230  case strtolower(ilObjectMetaDataGUI::class):
231  $this->checkPermission('write');
232  $this->prepareOutput();
233  $this->tabs->activateTab(self::TAB_META_DATA);
234  $gui = new ilObjectMetaDataGUI($this->object);
235  $this->ctrl->forwardCommand($gui);
236  break;
237  case strtolower(ilObjectContentStyleSettingsGUI::class):
238  $this->prepareOutput();
239  $this->setEditTabs();
240  $this->tabs->activateTab('settings');
241  $this->tabs->activateSubTab('cont_style');
242  global $DIC;
243  $settings_gui = $DIC->contentStyle()->gui()->objectSettingsGUIForRefId(null, $this->ref_id);
244  $this->ctrl->forwardCommand($settings_gui);
245  break;
246  default:
247  parent::executeCommand();
248  }
249  }
handleExport(bool $do_default=false)
Class ilObjectMetaDataGUI.
GUI class for the workflow of copying objects.
prepareOutput(bool $show_sub_objects=true)
ilDclTableListGUI: ilDclFieldListGUI, ilDclFieldEditGUI, ilDclTableViewGUI, ilDclTableEditGUI ...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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.
global $DIC
Definition: shib_login.php:26
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
ilDclDetailedViewGUI: ilDclDetailedViewDefinitionGUI, ilEditClipboardGUI, ilCommentGUI ...
+ Here is the call graph for this function:

◆ getDataCollectionObject()

ilObjDataCollectionGUI::getDataCollectionObject ( )

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

511  {
512  return new ilObjDataCollection($this->ref_id, true);
513  }

◆ getObjectId()

ilObjDataCollectionGUI::getObjectId ( )

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

References ilObjectGUI\$obj_id.

96  : int
97  {
98  return $this->obj_id;
99  }

◆ getStandardCmd()

ilObjDataCollectionGUI::getStandardCmd ( )

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

106  : string
107  {
108  return 'render';
109  }

◆ getTableViewId()

ilObjDataCollectionGUI::getTableViewId ( )
protected

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

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

Referenced by executeCommand().

271  : int
272  {
273  $tableview_id = null;
274  if ($this->http->wrapper()->query()->has('tableview_id')) {
275  $tableview_id = $this->http->wrapper()->query()->retrieve(
276  'tableview_id',
277  $this->refinery->kindlyTo()->int()
278  );
279  }
280  if ($this->http->wrapper()->post()->has('tableview_id')) {
281  $tableview_id = $this->http->wrapper()->post()->retrieve(
282  'tableview_id',
283  $this->refinery->kindlyTo()->int()
284  );
285  }
286  if (!$tableview_id) {
287  $table_obj = ilDclCache::getTableCache($this->table_id);
288  $tableview_id = $table_obj->getFirstTableViewId();
289  }
290  if ($tableview_id === null) {
291  throw new ilDclNoTableviewException('No visible tableview configured!');
292  }
293  return $tableview_id;
294  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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 111 of file class.ilObjDataCollectionGUI.php.

References ilObjDataCollection\TYPE.

111  : string
112  {
114  }

◆ handleExport()

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

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

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

Referenced by executeCommand().

251  : void
252  {
253  $this->tabs->setTabActive(self::TAB_EXPORT);
254  $exp_gui = new ilExportGUI($this);
255  if ($do_default) {
256  $exp_gui->listExportFiles();
257  } else {
258  $this->ctrl->forwardCommand($exp_gui);
259  }
260  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleExportAsync()

ilObjDataCollectionGUI::handleExportAsync ( )
protected

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

References ILIAS\Repository\ctrl(), ilDclContentExporter\exportAsync(), null, ILIAS\Repository\object(), and ILIAS\Repository\tabs().

262  : void
263  {
264  $this->tabs->setTabActive(self::TAB_EXPORT);
265  $exp_gui = new ilExportGUI($this);
266  $exporter = new ilDclContentExporter($this->object->getRefId(), null);
267  $exporter->exportAsync();
268  $this->ctrl->redirect($exp_gui);
269  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
exportAsync(string $format=self::EXPORT_EXCEL, ?string $filepath=null)
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:

◆ infoScreen()

ilObjDataCollectionGUI::infoScreen ( )

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

References ILIAS\Repository\ctrl().

296  : void
297  {
298  $this->ctrl->redirectByClass(ilInfoScreenGUI::class, 'showSummary');
299  }
+ Here is the call graph for this function:

◆ infoScreenForward()

ilObjDataCollectionGUI::infoScreenForward ( )

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

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

Referenced by executeCommand().

306  : void
307  {
308  $this->tabs->activateTab(self::TAB_INFO);
309 
310  if (!$this->checkPermissionBool('visible')) {
311  $this->checkPermission('read');
312  }
313 
314  $info = new ilInfoScreenGUI($this);
315  $info->enablePrivateNotes();
316  $info->addMetaDataSections($this->object->getId(), 0, $this->object->getType());
317 
318  $this->ctrl->forwardCommand($info);
319  }
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
$info
Definition: entry_point.php:21
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initForm()

ilObjDataCollectionGUI::initForm ( )
protected

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

References ILIAS\UI\Implementation\Component\Input\$inputs, ilObject2GUI\$refinery, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\UI\Implementation\Component\Input\withValue().

Referenced by update().

415  : Form
416  {
417  $inputs = [];
418 
419  $edit = [];
420  $edit['title'] = $this->ui_factory->input()->field()->text($this->lng->txt('title'))->withRequired(true);
421  $edit['description'] = $this->ui_factory->input()->field()->textarea($this->lng->txt('description'));
422  $edit['notification'] = $this->ui_factory->input()->field()->checkbox(
423  $this->lng->txt('dcl_activate_notification'),
424  $this->lng->txt('dcl_notification_info')
425  );
426  $inputs['edit'] = $this->ui_factory->input()->field()->section($edit, $this->lng->txt($this->type . '_edit'))
427  ->withValue([
428  'title' => $this->object->getTitle(),
429  'description' => $this->object->getLongDescription(),
430  'notification' => $this->object->getNotification(),
431  ]);
432 
433  $availability = [];
434  $availability['online'] = $this->ui_factory->input()->field()->checkbox(
435  $this->lng->txt('online'),
436  $this->lng->txt('dcl_online_info')
437  );
438  $inputs['availability'] = $this->ui_factory->input()->field()->section($availability, $this->lng->txt('obj_activation_list_gui'))
439  ->withValue(['online' => $this->object->getOnline(),]);
440 
441  $presentation = [];
442  $presentation['tile_image'] = $this->object->getObjectProperties()->getPropertyTileImage()->toForm(
443  $this->lng,
444  $this->ui_factory->input()->field(),
446  );
447  $inputs['presentation'] = $this->ui_factory->input()->field()->section($presentation, $this->lng->txt('cont_presentation'));
448 
449  return $this->ui_factory->input()->container()->form()->standard($this->ctrl->getFormAction($this, 'update'), $inputs);
450  }
This describes commonalities between all forms.
Definition: Form.php:32
withValue($value)
Get an input like this with another value displayed on the client side.
Definition: Group.php:61
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ listRecords()

ilObjDataCollectionGUI::listRecords ( )
final

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

References ILIAS\Repository\ctrl().

Referenced by render().

505  : void
506  {
507  $this->ctrl->redirectByClass(ilDclRecordListGUI::class, 'show');
508  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ render()

ilObjDataCollectionGUI::render ( )

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

References listRecords().

301  : void
302  {
303  $this->listRecords();
304  }
+ Here is the call graph for this function:

◆ setEditTabs()

ilObjDataCollectionGUI::setEditTabs ( )
protected

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

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

Referenced by edit(), executeCommand(), and update().

489  : void
490  {
491  $this->tabs->addSubTab(
492  'general',
493  $this->lng->txt('general'),
494  $this->ctrl->getLinkTargetByClass(self::class, 'edit')
495  );
496  $this->tabs->addSubTab(
497  'cont_style',
498  $this->lng->txt('cont_style'),
499  $this->ctrl->getLinkTargetByClass(ilObjectContentStyleSettingsGUI::class)
500  );
501 
502  $this->tabs->activateSubTab('general');
503  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTableId()

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

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

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

Referenced by __construct().

80  : void
81  {
82  if ($this->http->wrapper()->query()->has('table_id')) {
83  $this->table_id = $this->http->wrapper()->query()->retrieve('table_id', $this->refinery->kindlyTo()->int());
84  } elseif ($this->http->wrapper()->query()->has('tableview_id')) {
85  $this->table_id = ilDclTableView::find(
86  $this->http->wrapper()->query()->retrieve('tableview_id', $this->refinery->kindlyTo()->int())
87  )->getTableId();
88  } elseif ($objectOrRefId > 0) {
89  $tables = ilObjDataCollectionAccess::hasWriteAccess($this->ref_id) ? $this->object->getTables() : $this->object->getVisibleTables();
90  if ($tables !== []) {
91  $this->table_id = array_shift($tables)->getId();
92  }
93  }
94  }
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 383 of file class.ilObjDataCollectionGUI.php.

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

383  : void
384  {
385  $ref_id = $this->object->getRefId();
386 
387  if ($this->access->checkAccess('read', '', $ref_id) === true) {
388  $this->addTab(self::TAB_CONTENT, $this->ctrl->getLinkTargetByClass(ilDclRecordListGUI::class, 'show'));
389  }
390 
391  if ($this->access->checkAccess('visible', '', $ref_id) === true || $this->access->checkAccess('read', '', $ref_id) === true) {
392  $this->addTab(self::TAB_INFO, $this->ctrl->getLinkTargetByClass(ilInfoScreenGUI::class, 'showSummary'));
393  }
394 
395  if ($this->access->checkAccess('write', '', $ref_id) === true) {
396  $this->addTab(self::TAB_EDIT_DCL, $this->ctrl->getLinkTarget($this, 'edit'));
397  $this->addTab(self::TAB_LIST_TABLES, $this->ctrl->getLinkTargetByClass(ilDclTableListGUI::class, 'listTables'));
398  $mdgui = new ilObjectMetaDataGUI($this->object);
399  if ($mdtab = $mdgui->getTab()) {
400  $this->tabs_gui->addTab(self::TAB_META_DATA, $this->lng->txt('meta_data'), $mdtab);
401  }
402  $this->addTab(self::TAB_EXPORT, $this->ctrl->getLinkTargetByClass(ilExportGUI::class, ''));
403  }
404 
405  if ($this->access->checkAccess('edit_permission', '', $ref_id) === true) {
406  $this->addTab(self::TAB_LIST_PERMISSIONS, $this->ctrl->getLinkTargetByClass(ilPermissionGUI::class, 'perm'));
407  }
408  }
Class ilObjectMetaDataGUI.
addTab(string $langKey, string $link)
+ Here is the call graph for this function:

◆ toggleNotification()

ilObjDataCollectionGUI::toggleNotification ( )
final

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

515  : void
516  {
517  $ntf = $this->http->wrapper()->query()->retrieve('ntf', $this->refinery->kindlyTo()->int());
518  switch ($ntf) {
519  case 1:
522  $this->user->getId(),
524  false
525  );
526  break;
527  case 2:
530  $this->user->getId(),
532  );
533  break;
534  }
535  $this->ctrl->redirectByClass(ilDclRecordListGUI::class, 'show');
536  }
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:

◆ update()

ilObjDataCollectionGUI::update ( )

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

References ilObjectGUI\$data, ilObject2GUI\checkPermissionBool(), ILIAS\FileDelivery\http(), initForm(), ILIAS\Repository\lng(), null, setEditTabs(), and ILIAS\Repository\tabs().

464  : void
465  {
466  if (!$this->checkPermissionBool('write')) {
467  $this->error->raiseError($this->lng->txt('permission_denied'), $this->error->MESSAGE);
468  }
469 
470  $this->setEditTabs();
471  $this->tabs->activateTab(self::TAB_EDIT_DCL);
472 
473  $form = $this->initForm()->withRequest($this->http->request());
474  $data = $form->getData();
475 
476  if ($data !== null) {
477  $this->object->setTitle($data['edit']['title']);
478  $this->object->setDescription($data['edit']['description']);
479  $this->object->setNotification($data['edit']['notification']);
480  $this->object->setOnline($data['availability']['online']);
481  $this->object->getObjectProperties()->storePropertyTileImage($data['presentation']['tile_image']);
482  $this->object->update();
483  $this->tpl->setOnScreenMessage('success', $this->lng->txt('msg_obj_modified'), true);
484  }
485 
486  $this->tpl->setContent($this->ui_renderer->render($form));
487  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static http()
Fetches the global http state from ILIAS.
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)
+ Here is the call graph for this function:

Field Documentation

◆ $ctrl

ilCtrl ilObjDataCollectionGUI::$ctrl
protected

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

◆ $lng

ilLanguage ilObjDataCollectionGUI::$lng
protected

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

◆ $object

ilObject ilObjDataCollectionGUI::$object = null

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

◆ $table_id

int ilObjDataCollectionGUI::$table_id
protected

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

Referenced by _goto().

◆ $tabs

ilTabsGUI ilObjDataCollectionGUI::$tabs
protected

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

◆ GET_RECORD_ID

const ilObjDataCollectionGUI::GET_RECORD_ID = 'record_id'

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

◆ GET_REF_ID

const ilObjDataCollectionGUI::GET_REF_ID = 'ref_id'

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

◆ GET_TABLE_ID

const ilObjDataCollectionGUI::GET_TABLE_ID = 'table_id'

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

◆ GET_VIEW_ID

const ilObjDataCollectionGUI::GET_VIEW_ID = 'tableview_id'

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

◆ TAB_CONTENT

const ilObjDataCollectionGUI::TAB_CONTENT = 'content'

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

◆ TAB_EDIT_DCL

const ilObjDataCollectionGUI::TAB_EDIT_DCL = 'settings'

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

◆ TAB_EXPORT

const ilObjDataCollectionGUI::TAB_EXPORT = 'export'

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

◆ TAB_INFO

const ilObjDataCollectionGUI::TAB_INFO = 'info_short'

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

◆ TAB_LIST_PERMISSIONS

const ilObjDataCollectionGUI::TAB_LIST_PERMISSIONS = 'perm_settings'

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

◆ TAB_LIST_TABLES

const ilObjDataCollectionGUI::TAB_LIST_TABLES = 'dcl_tables'

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

◆ TAB_META_DATA

const ilObjDataCollectionGUI::TAB_META_DATA = 'meta_data'

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


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