ILIAS  release_7 Revision v7.30-3-g800a261c036
ilTableGUI Class Reference

Class ilTableGUI. More...

+ Inheritance diagram for ilTableGUI:
+ Collaboration diagram for ilTableGUI:

Public Member Functions

 __construct ($a_data=0, $a_global_tpl=true)
 Constructor. More...
 
 setTemplate ($a_tpl)
 set template @access public More...
 
getTemplateObject ()
 
 setData ($a_data)
 set table data @access public More...
 
 getData ()
 
 setTitle ($a_title, $a_icon=0, $a_icon_alt=0)
 set table title @access public More...
 
 setHelp ($a_help_page, $a_help_icon, $a_help_icon_alt=0)
 set table help page @access public More...
 
 setHeaderNames ($a_header_names)
 set table header names @access public More...
 
 getColumnCount ()
 Returns the column count based on the number of the header row columns @access public. More...
 
 setHeaderVars ($a_header_vars, $a_header_params=0)
 set table header vars @access public More...
 
 setColumnWidth ($a_column_width)
 set table column widths @access public More...
 
 setOneColumnWidth ($a_column_width, $a_column_number)
 set one table column width @access public More...
 
 setMaxCount ($a_max_count)
 set max. More...
 
 setLimit ($a_limit=0, $a_default_limit=0)
 set max. More...
 
 getLimit ()
 Get limit. More...
 
 setPrefix ($a_prefix)
 set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort separately) @access public More...
 
 setOffset ($a_offset)
 set dataset offset @access public More...
 
 getOffset ()
 Get offset. More...
 
 setOrderColumn ($a_order_column=0, $a_default_column=0)
 set order column @access public More...
 
 getOrderColumn ()
 Get order column. More...
 
 setOrderDirection ($a_order_direction)
 set order direction @access public More...
 
 getOrderDirection ()
 Get order direction. More...
 
 setFooter ($a_style, $a_previous=0, $a_next=0)
 set order direction @access public More...
 
 enable ($a_module_name)
 enables particular modules of table More...
 
 disable ($a_module_name)
 diesables particular modules of table More...
 
 sortData ()
 
 render ()
 render table @access public More...
 
 renderHeader ()
 
 setOrderLink ($key, $order_dir)
 
 setStyle ($a_element, $a_style)
 
 getStyle ($a_element)
 
 setBase ($a_base)
 Set Base script name (deprecated, only use this for workarounds). More...
 
 getBase ()
 Get Base script name (deprecated, only use this for workarounds). More...
 
 getFormName ()
 
 setFormName ($a_name="cmd")
 
 getSelectAllCheckbox ()
 
 setSelectAllCheckbox ($a_select_all_checkbox)
 
 clearActionButtons ()
 
 addActionButton ($btn_name, $btn_value)
 

Data Fields

 $title
 
 $icon
 
 $icon_alt
 
 $help_page
 
 $help_icon
 
 $help_icon_alt
 
 $header_names
 
 $header_vars
 
 $linkbar_vars
 
 $data
 
 $column_count
 
 $column_width
 
 $max_count
 
 $limit
 
 $max_limit = false
 
 $offset
 
 $order_column
 
 $order_direction
 
 $footer_style
 
 $footer_previous
 
 $footer_next
 
 $lang_support = true
 
 $global_tpl
 
 $form_name
 
 $select_all_checkbox
 
 $action_buttons
 
 $prefix
 
 $base = ""
 
 $enabled
 
 $styles
 

Protected Attributes

 $tpl
 
 $lng
 

Detailed Description

Class ilTableGUI.

HTML table component

Author
Sascha Hofmann shofm.nosp@m.ann@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Version
$Id$

Definition at line 18 of file class.ilTableGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilTableGUI::__construct (   $a_data = 0,
  $a_global_tpl = true 
)

Constructor.

Parameters
arraycontent data (optional)
booleanuse global template (default) @access public

Reimplemented in ilExportSelectionTableGUI, ilRoleTableGUI, ilCourseObjectiveQuestionsTableGUI, ilCourseObjectivesTableGUI, ilCategoryAssignRoleTableGUI, ilCmiXapiLrsTypesTableGUI, ilTermQuickListTableGUI, ilItemGroupItemsTableGUI, ilLTIConsumerProviderTableGUI, ilPollAnswerTableGUI, ilPollUserTableGUI, ILIAS\Scorm2004\Editor\ilSCORMMediaOverviewTableGUI, ILIAS\Scorm2004\Editor\ilSCORMQuestionOverviewTableGUI, ilSessionMaterialsTableGUI, ilSurveyCodesEditTableGUI, ilSurveyCodesTableGUI, ilSurveySavePhraseTableGUI, ilAssessmentFolderLogTableGUI, ilListOfQuestionsTableGUI, ilParticipantsTestResultsTableGUI, ilTestAggregatedResultsTableGUI, ilTestAverageReachedPointsTableGUI, ilTestHistoryTableGUI, ilTestInviteGroupsTableGUI, ilTestInviteRolesTableGUI, ilTestInviteUsersTableGUI, ilTestParticipantsTableGUI, ilTimingOverviewTableGUI, ilWebResourceEditableLinkTableGUI, ilImportantPagesTableGUI, ilAccessPermissionsStatusTableGUI, ilAvailableRolesStatusTableGUI, ilRoleAdoptPermissionTableGUI, ilRoleSelectionTableGUI, ilAccessKeyTableGUI, ilCalendarChangedAppointmentsTableGUI, ilCalendarInboxSharedTableGUI, ilClipboardTableGUI, ilBuddySystemRelationsTableGUI, ilPageMultiLangTableGUI, ilPageLayoutTableGUI, ilObjectConsumerTableGUI, ilMailAttachmentTableGUI, ilMobMultiSrtConfirmationTable2GUI, ilMultiSrtConfirmationTable2GUI, ilObjectCustomUserFieldsTableGUI, ilObjClipboardTableGUI, ilRendererTableGUI, ilRegistrationCodesTableGUI, ilPersonalSkillTableGUI, ilSelfEvaluationTableGUI, ilPasteStyleCharacteristicTableGUI, ilSystemStylesTableGUI, ilLPObjectStatisticsAdminTableGUI, ilAccountCodesTableGUI, ilRoleAssignmentTableGUI, ilUserFieldSettingsTableGUI, ilECSCategoryMappingTableGUI, ilCmiXapiVerificationTableGUI, ilForumStatisticsTableGUI, ilLTIConsumerVerificationTableGUI, ilSCORM2004TrackingTableGUI, ilStudyProgrammeMailMemberSearchTableGUI, ilFoundUsersTableGUI, ilSpecialUsersTableGUI, ilResultsByQuestionTableGUI, ilAuthLoginPageEditorTableGUI, ilComponentsTableGUI, ilPageHistoryTableGUI, ilDidacticTemplateSettingsTableGUI, ilLogComponentTableGUI, ilSamlIdpTableGUI, ilSCGroupTableGUI, ilSCTreeDuplicatesTableGUI, ilECSServerTableGUI, ilCourseInfoFileTableGUI, ilSessionFileTableGUI, ilAdvancedMDRecordExportFilesTableGUI, ilShibbolethRoleAssignmentTableGUI, ilLDAPRoleAssignmentTableGUI, ilMDCopyrightUsageTableGUI, ilLuceneAdvancedSearchActivationTableGUI, ilECSImportedContentTableGUI, ilECSReleasedContentTableGUI, ilCourseEditParticipantsTableGUI, ilGroupEditParticipantsTableGUI, ilChatroomSmiliesTableGUI, ilTestPassOverviewTableGUI, ilOrgUnitTypeTableGUI, ilCalendarSharedListTableGUI, ilCalendarSharedRoleListTableGUI, ilCalendarSharedUserListTableGUI, and ilTestPassManualScoringOverviewTableGUI.

Definition at line 97 of file class.ilTableGUI.php.

98 {
99 global $DIC;
100
101 $tpl = $DIC["tpl"];
102 $lng = $DIC->language();
103
104 $this->global_tpl = $a_global_tpl;
105 $this->header_vars = array();
106 $this->header_params = array();
107 $this->enabled["form"] = true;
108 $this->action_buttons = array();
109 if ($this->global_tpl) {
110 $this->tpl = $tpl;
111 } else {
112 $this->tpl = new ilTemplate("tpl.table.html", true, true, "Services/Table");
113 }
114
115 $this->lng = $lng;
116
117 if (!$this->lng) {
118 $this->lang_support = false;
119 }
120
121 $this->setData($a_data);
122 }
setData($a_data)
set table data @access public
special template class to simplify handling of ITX/PEAR
global $DIC
Definition: goto.php:24

References $DIC, $lng, $tpl, and setData().

+ Here is the call graph for this function:

Member Function Documentation

◆ addActionButton()

ilTableGUI::addActionButton (   $btn_name,
  $btn_value 
)

Definition at line 794 of file class.ilTableGUI.php.

795 {
796 array_push(
797 $this->action_buttons,
798 array(
799 "name" => $btn_name,
800 "value" => $btn_value
801 )
802 );
803 }

◆ clearActionButtons()

ilTableGUI::clearActionButtons ( )

Definition at line 782 of file class.ilTableGUI.php.

783 {
784 $this->action_buttons = array();
785 }

◆ disable()

ilTableGUI::disable (   $a_module_name)

diesables particular modules of table

DEPRECATED for Table2GUI: Use setEnable<Section>() of Table2GUI instead

@access public

Parameters
stringmodule name

Definition at line 429 of file class.ilTableGUI.php.

430 {
431 if (!in_array($a_module_name, array_keys($this->enabled))) {
432 return false;
433 }
434
435 $this->enabled[$a_module_name] = false;
436 }

Referenced by ilPresentationListTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilRendererTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilStyleTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilSamlIdpSelectionTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilTestTopListTableGUI\__construct(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\build(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilLOMemberTestResultTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilTestPassOverviewTableGUI\init(), ilRoleTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilQuestionCumulatedStatisticsTableGUI\initData(), ilForumTopicTableGUI\initMergeThreadsTable(), ilTestPassManualScoringOverviewTableGUI\initOrdering(), and ilAuthLoginPageEditorTableGUI\initTable().

+ Here is the caller graph for this function:

◆ enable()

ilTableGUI::enable (   $a_module_name)

enables particular modules of table

DEPRECATED for Table2GUI: Use setEnable...<Section>() of Table2GUI instead

@access public

Parameters
stringmodule name

Definition at line 412 of file class.ilTableGUI.php.

413 {
414 if (!in_array($a_module_name, array_keys($this->enabled))) {
415 return false;
416 }
417
418 $this->enabled[$a_module_name] = true;
419 }

Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilParticipantsTestResultsTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilForumStatisticsTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\build(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilSessionParticipantsTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilTrashTableGUI\init(), ilUserExportFileTableGUI\init(), assFileUploadFileTableGUI\initCommand(), ilLearningSequenceParticipantsTableGUI\initForm(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initOrdering(), ilTestManScoringParticipantsTableGUI\initOrdering(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), and ilLPCollectionSettingsTableGUI\initTable().

+ Here is the caller graph for this function:

◆ getBase()

ilTableGUI::getBase ( )

Get Base script name (deprecated, only use this for workarounds).

Returns
string Base script name (deprecated, only use this for workarounds)

Definition at line 732 of file class.ilTableGUI.php.

733 {
734 return $this->base;
735 }

References $base.

Referenced by render().

+ Here is the caller graph for this function:

◆ getColumnCount()

ilTableGUI::getColumnCount ( )

Returns the column count based on the number of the header row columns @access public.

Returns
int Number of columns

Definition at line 216 of file class.ilTableGUI.php.

217 {
218 return $this->column_count;
219 }

References $column_count.

Referenced by ilTable2GUI\fillFooter(), and render().

+ Here is the caller graph for this function:

◆ getData()

ilTableGUI::getData ( )

Reimplemented in ilTable2GUI.

Definition at line 152 of file class.ilTableGUI.php.

153 {
154 return $this->data;
155 }

References $data.

◆ getFormName()

ilTableGUI::getFormName ( )

Reimplemented in ilTable2GUI.

Definition at line 742 of file class.ilTableGUI.php.

743 {
744 return $this->form_name;
745 }

References $form_name.

Referenced by render().

+ Here is the caller graph for this function:

◆ getLimit()

ilTableGUI::getLimit ( )

Get limit.

Reimplemented in ilTable2GUI.

Definition at line 297 of file class.ilTableGUI.php.

298 {
299 return $this->limit;
300 }

References $limit.

◆ getOffset()

ilTableGUI::getOffset ( )

Get offset.

Reimplemented in ilTable2GUI.

Definition at line 326 of file class.ilTableGUI.php.

327 {
328 return $this->offset;
329 }

References $offset.

◆ getOrderColumn()

ilTableGUI::getOrderColumn ( )

Get order column.

Definition at line 360 of file class.ilTableGUI.php.

361 {
362 return $this->order_column;
363 }

References $order_column.

◆ getOrderDirection()

ilTableGUI::getOrderDirection ( )

Get order direction.

Definition at line 384 of file class.ilTableGUI.php.

385 {
387 }

References $order_direction.

Referenced by ilTable2GUI\exportData(), ilMailFolderTableGUI\fetchTableData(), ilTable2GUI\getCurrentState(), ilFileSystemTableGUI\getEntries(), ilTable2GUI\getHTML(), ilTestManScoringParticipantsTableGUI\getInternalyOrderedDataValues(), ilTrSummaryTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserTableGUI\getItems(), ilTable2GUI\getLinkbar(), ilStudyProgrammeMembersTableGUI\getOrdering(), ilUserTableGUI\getUserIdsForFilter(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilTrashTableGUI\parse(), ilBiblFieldFilterTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilTable2GUI\resetOffset(), arIndexTableGUI\setOrderAndSegmentation(), and ilTable2GUI\storeNavParameter().

+ Here is the caller graph for this function:

◆ getSelectAllCheckbox()

ilTableGUI::getSelectAllCheckbox ( )

Reimplemented in ilTable2GUI.

Definition at line 762 of file class.ilTableGUI.php.

763 {
765 }

References $select_all_checkbox.

Referenced by render().

+ Here is the caller graph for this function:

◆ getStyle()

ilTableGUI::getStyle (   $a_element)

Definition at line 712 of file class.ilTableGUI.php.

713 {
714 return $this->styles[$a_element];
715 }

Referenced by ilDclTableListTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), and ilTable2GUI\render().

+ Here is the caller graph for this function:

◆ getTemplateObject()

& ilTableGUI::getTemplateObject ( )

Definition at line 135 of file class.ilTableGUI.php.

136 {
137 return $this->tpl;
138 }

References $tpl.

◆ render()

ilTableGUI::render ( )

render table @access public

Reimplemented in ilExerciseSubmissionTableGUI, ilMediaPoolTableGUI, arIndexTableGUI, ilBuddySystemRelationsTableGUI, and ilTable2GUI.

Definition at line 451 of file class.ilTableGUI.php.

452 {
453 if ($this->enabled['table']) {
454 $this->tpl->setVariable("CSS_TABLE", "table table-striped" /* $this->getStyle("table") */);
455 }
456
457 // table title icon
458 if ($this->enabled["icon"] && $this->enabled["title"]) {
459 $this->tpl->setCurrentBlock("tbl_header_title_icon");
460 $this->tpl->setVariable("TBL_TITLE_IMG", ilUtil::getImagePath($this->icon));
461 $this->tpl->setVariable("TBL_TITLE_IMG_ALT", $this->icon_alt);
462 $this->tpl->parseCurrentBlock();
463 }
464 // table title help
465 if ($this->enabled["help"] && $this->enabled["title"]) {
466 $this->tpl->setCurrentBlock("tbl_header_title_help");
467 $this->tpl->setVariable("TBL_HELP_IMG", ilUtil::getImagePath($this->help_icon));
468 $this->tpl->setVariable("TBL_HELP_LINK", $this->help_page);
469 $this->tpl->setVariable("TBL_HELP_IMG_ALT", $this->help_icon_alt);
470 $this->tpl->parseCurrentBlock();
471 }
472
473 // hits per page selector
474 if ($this->enabled["hits"] && $this->enabled["title"]) {
475 $this->tpl->setCurrentBlock("tbl_header_hits_page");
476 $this->tpl->setVariable("LIMIT", $_SESSION["tbl_limit"]);
477 $this->tpl->setVariable("HITS_PER_PAGE", $this->lng->txt("hits_per_page"));
478 $this->tpl->parseCurrentBlock();
479 }
480
481 // table title
482 if ($this->enabled["title"]) {
483 $this->tpl->setCurrentBlock("tbl_header_title");
484 $this->tpl->setVariable("COLUMN_COUNT", $this->column_count);
485 $this->tpl->setVariable("TBL_TITLE", $this->title);
486 $this->tpl->parseCurrentBlock();
487 }
488
489 // table header
490 if ($this->enabled["header"]) {
491 $this->renderHeader();
492 }
493
494 // table data
495 // the table content may be skipped to use an individual template blockfile
496 // To do so don't set $this->data and parse your table content by yourself
497 // The template block name for the blockfile MUST be 'TBL_CONTENT'
498
499 if ($this->enabled["content"] && is_array($this->data)) {
500 if ($this->enabled['auto_sort']) {
501 $this->setMaxCount(count($this->data));
502 $this->sortData();
503 }
504 $count = 0;
505
506 foreach ($this->data as $tbl_content_row) {
507 foreach ($tbl_content_row as $key => $tbl_content_cell) {
508 if (is_array($tbl_content_cell)) {
509 $this->tpl->setCurrentBlock("tbl_cell_subtitle");
510 $this->tpl->setVariable("TBL_CELL_SUBTITLE", $tbl_content_cell[1]);
511 $this->tpl->parseCurrentBlock();
512 $tbl_content_cell = "<b>" . $tbl_content_cell[0] . "</b>";
513 }
514
515 $this->tpl->setCurrentBlock("tbl_content_cell");
516 $this->tpl->setVariable("TBL_CONTENT_CELL", $tbl_content_cell);
517 $this->tpl->parseCurrentBlock();
518 }
519
520 $this->tpl->setCurrentBlock("tbl_content_row");
521 $rowcolor = ilUtil::switchColor($count, "tblrow1", "tblrow2");
522 $this->tpl->setVariable("ROWCOLOR", $rowcolor);
523 $this->tpl->parseCurrentBlock();
524
525 $count++;
526 }
527 }
528 // select all checkbox
529 if ($this->enabled["select_all"]) {
530 if ((strlen($this->getFormName())) && (strlen($this->getSelectAllCheckbox()))) {
531 $this->tpl->setVariable('SELECT_PREFIX', $this->prefix);
532 $this->tpl->setVariable("SELECT_ALL_TXT_SELECT_ALL", $this->lng->txt("select_all"));
533 $this->tpl->setVariable("SELECT_ALL_CHECKBOX_NAME", $this->getSelectAllCheckbox());
534 $this->tpl->setVariable("SELECT_ALL_FORM_NAME", $this->getFormName());
535 if (!($this->enabled["numinfo"] && $this->enabled["footer"])) {
536 $this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
537 }
538 }
539 }
540
541 // table header numinfo
542 if ($this->enabled["numinfo_header"]) {
543 $start = $this->offset + 1; // compute num info
544 $end = $this->offset + $this->limit;
545
546 if ($end > $this->max_count or $this->limit == 0) {
547 $end = $this->max_count;
548 }
549
550 if ($this->lang_support) {
551 $numinfo = "(" . $this->lng->txt("dataset") . " " . $start . " - " . $end . " " . strtolower($this->lng->txt("of")) . " " . $this->max_count . ")";
552 } else {
553 $numinfo = "(Dataset " . $start . " - " . $end . " of " . $this->max_count . ")";
554 }
555 if ($this->max_count > 0) {
556 //$numinfo = $this->lng->txt("no_datasets");
557 $this->tpl->setCurrentBlock("tbl_header_numinfo");
558 $this->tpl->setVariable("NUMINFO_HEADER", $numinfo);
559 $this->tpl->setVariable("COLUMN_COUNT_HEADER", $this->getColumnCount());
560 $this->tpl->parseCurrentBlock();
561 }
562 }
563 // table footer numinfo
564 if ($this->enabled["numinfo"] && $this->enabled["footer"]) {
565 $start = $this->offset + 1; // compute num info
566 $end = $this->offset + $this->limit;
567
568 if ($end > $this->max_count or $this->limit == 0) {
569 $end = $this->max_count;
570 }
571
572 if ($this->lang_support) {
573 $numinfo = "(" . $this->lng->txt("dataset") . " " . $start . " - " . $end . " " . strtolower($this->lng->txt("of")) . " " . $this->max_count . ")";
574 } else {
575 $numinfo = "(Dataset " . $start . " - " . $end . " of " . $this->max_count . ")";
576 }
577 if ($this->max_count > 0) {
578 //$numinfo = $this->lng->txt("no_datasets");
579 $this->tpl->setCurrentBlock("tbl_footer_numinfo");
580 $this->tpl->setVariable("NUMINFO", $numinfo);
581 $this->tpl->parseCurrentBlock();
582 }
583 }
584 // table footer linkbar
585 if ($this->enabled["linkbar"] && $this->enabled["footer"] && $this->limit != 0
586 && $this->max_count > 0) {
587 $params = array(
588 $this->prefix . "sort_by" => $this->header_vars[$this->order_column],
589 $this->prefix . "sort_order" => $this->order_direction
590 );
591 $params = array_merge($this->header_params, $params);
592
593 $layout = array(
594 "link" => $this->footer_style,
595 "prev" => $this->footer_previous,
596 "next" => $this->footer_next,
597 );
598
599 $base = ($this->getBase() == "")
600 ? basename($_SERVER["PHP_SELF"])
601 : $this->getBase();
602
603 $linkbar = ilUtil::Linkbar($base, $this->max_count, $this->limit, $this->offset, $params, $layout, $this->prefix);
604 $this->tpl->setCurrentBlock("tbl_footer_linkbar");
605 $this->tpl->setVariable("LINKBAR", $linkbar);
606 $this->tpl->parseCurrentBlock();
607 }
608
609 // table footer
610 if ($this->enabled["footer"] && $this->max_count > 0) {
611 $this->tpl->setCurrentBlock("tbl_footer");
612 $this->tpl->setVariable("COLUMN_COUNT", $this->column_count);
613 $this->tpl->parseCurrentBlock();
614 }
615
616 // action buttons
617 if ($this->enabled["action"] && is_array($this->action_buttons)) {
618 foreach ($this->action_buttons as $button) {
619 $this->tpl->setCurrentBlock("tbl_action_btn");
620 $this->tpl->setVariable("BTN_NAME", $button["name"]);
621 $this->tpl->setVariable("BTN_VALUE", $button["value"]);
622 $this->tpl->parseCurrentBlock();
623 }
624 $this->tpl->setCurrentBlock("tbl_action_row");
625 $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_downright.svg"));
626 $this->tpl->setVariable("ALT_ARROW", $this->lng->txt("arrow_downright.svg"));
627 $this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
628 $this->tpl->parseCurrentBlock();
629 }
630
631 if ($this->enabled["form"]) {
632 $this->tpl->touchBlock("tbl_form_footer");
633 }
634
635 if ($this->enabled['table']) {
636 $this->tpl->touchBlock("tbl_table_end");
637 }
638
639 if (!$this->global_tpl) {
640 return $this->tpl->get();
641 }
642 }
$_SESSION["AccountId"]
getBase()
Get Base script name (deprecated, only use this for workarounds).
setMaxCount($a_max_count)
set max.
getColumnCount()
Returns the column count based on the number of the header row columns @access public.
static Linkbar($AScript, $AHits, $ALimit, $AOffset, $AParams=array(), $ALayout=array(), $prefix='')
Linkbar Diese Funktion erzeugt einen typischen Navigationsbalken mit "Previous"- und "Next"-Links und...
static switchColor($a_num, $a_css1, $a_css2)
switches style sheets for each even $a_num (used for changing colors of different result rows)
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10

References $_SERVER, $_SESSION, $base, $limit, $max_count, getBase(), getColumnCount(), getFormName(), ilUtil\getImagePath(), getSelectAllCheckbox(), ilUtil\Linkbar(), renderHeader(), setMaxCount(), sortData(), and ilUtil\switchColor().

+ Here is the call graph for this function:

◆ renderHeader()

ilTableGUI::renderHeader ( )

Definition at line 644 of file class.ilTableGUI.php.

645 {
646 foreach ($this->header_names as $key => $tbl_header_cell) {
647 if (!$this->enabled["sort"]) {
648 $this->tpl->setCurrentBlock("tbl_header_no_link");
649 if ($this->column_width[$key]) {
650 $this->tpl->setVariable("TBL_COLUMN_WIDTH_NO_LINK", " width=\"" . $this->column_width[$key] . "\"");
651 }
652 $this->tpl->setVariable("TBL_HEADER_CELL_NO_LINK", $tbl_header_cell);
653 $this->tpl->parseCurrentBlock();
654 continue;
655 }
656 if (($key == $this->order_column) && ($this->order_direction != "")) {
657 if (strcmp($this->header_vars[$key], "") != 0) {
658 $this->tpl->setCurrentBlock("tbl_order_image");
659 $this->tpl->parseCurrentBlock();
660 }
661 }
662
663 $this->tpl->setCurrentBlock("tbl_header_cell");
664 $this->tpl->setVariable("TBL_HEADER_CELL", $tbl_header_cell);
665
666 // only set width if a value is given for that column
667 if ($this->column_width[$key]) {
668 $this->tpl->setVariable("TBL_COLUMN_WIDTH", " width=\"" . $this->column_width[$key] . "\"");
669 }
670
671 $lng_sort_column = ($this->lang_support) ? $this->lng->txt("sort_by_this_column") : "Sort by this column";
672 $this->tpl->setVariable("TBL_ORDER_ALT", $lng_sort_column);
673
674 $order_dir = "asc";
675
676 if ($key == $this->order_column) {
677 $order_dir = $this->sort_order;
678
679 $lng_change_sort = ($this->lang_support) ? $this->lng->txt("change_sort_direction") : "Change sort direction";
680 $this->tpl->setVariable("TBL_ORDER_ALT", $lng_change_sort);
681 }
682
683 $this->setOrderLink($key, $order_dir);
684 $this->tpl->parseCurrentBlock();
685 }
686
687 $this->tpl->setCurrentBlock("tbl_header");
688 $this->tpl->parseCurrentBlock();
689 }
setOrderLink($key, $order_dir)

References $lang_support, and setOrderLink().

Referenced by render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBase()

ilTableGUI::setBase (   $a_base)

Set Base script name (deprecated, only use this for workarounds).

Parameters
string$a_baseBase script name (deprecated, only use this for workarounds)

Definition at line 722 of file class.ilTableGUI.php.

723 {
724 $this->base = $a_base;
725 }
base()
Definition: base.php:4

References base().

+ Here is the call graph for this function:

◆ setColumnWidth()

ilTableGUI::setColumnWidth (   $a_column_width)

set table column widths @access public

Parameters
arraycolumn widths

Definition at line 247 of file class.ilTableGUI.php.

248 {
249 $this->column_width = $a_column_width;
250 }

◆ setData()

ilTableGUI::setData (   $a_data)

set table data @access public

Parameters
arraytable data

Reimplemented in ilTable2GUI.

Definition at line 145 of file class.ilTableGUI.php.

146 {
147 if (is_array($a_data)) {
148 $this->data = $a_data;
149 }
150 }

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setFooter()

ilTableGUI::setFooter (   $a_style,
  $a_previous = 0,
  $a_next = 0 
)

set order direction @access public

Parameters
stringcss format for links
stringvalue of previous link
stringvalue of next link

Definition at line 396 of file class.ilTableGUI.php.

397 {
398 $this->footer_style = $a_style;
399
400 $this->footer_previous = ($a_previous) ? $a_previous : "<<<";
401 $this->footer_next = ($a_next) ? $a_next : ">>>";
402 }

Referenced by ilTable2GUI\getHTML().

+ Here is the caller graph for this function:

◆ setFormName()

ilTableGUI::setFormName (   $a_name = "cmd")

Reimplemented in ilTable2GUI.

Definition at line 752 of file class.ilTableGUI.php.

753 {
754 $this->form_name = $a_name;
755 }

◆ setHeaderNames()

ilTableGUI::setHeaderNames (   $a_header_names)

set table header names @access public

Parameters
arraytable header names

Definition at line 205 of file class.ilTableGUI.php.

206 {
207 $this->header_names = $a_header_names;
208 $this->column_count = count($this->header_names);
209 }

◆ setHeaderVars()

ilTableGUI::setHeaderVars (   $a_header_vars,
  $a_header_params = 0 
)

set table header vars @access public

Parameters
arraytable header vars
arrayadditional link params

Definition at line 227 of file class.ilTableGUI.php.

228 {
229 $this->header_vars = $a_header_vars;
230
231 if ($a_header_params == 0 or !is_array($a_header_params)) {
232 $this->link_params = "";
233 } else {
234 $this->header_params = $a_header_params; // temp. solution for linkbar
235
236 foreach ($a_header_params as $key => $val) {
237 $this->link_params .= $key . "=" . $val . "&";
238 }
239 }
240 }

◆ setHelp()

ilTableGUI::setHelp (   $a_help_page,
  $a_help_icon,
  $a_help_icon_alt = 0 
)

set table help page @access public

Parameters
stringhelp page file name
stringfile name of help icon
stringalternative text for help icon

Definition at line 189 of file class.ilTableGUI.php.

190 {
191 $this->help_page = $a_help_page;
192 $this->help_icon = $a_help_icon;
193 $this->help_icon_alt = $a_help_icon_alt;
194
195 if (!$this->help_icon_alt) {
196 $this->help_icon_alt = $this->help_icon;
197 }
198 }

References $help_icon.

◆ setLimit()

ilTableGUI::setLimit (   $a_limit = 0,
  $a_default_limit = 0 
)

set max.

datasets displayed per page @access public

Parameters
integerlimit
integerdefault limit

Reimplemented in ilTable2GUI.

Definition at line 285 of file class.ilTableGUI.php.

286 {
287 $this->limit = ($a_limit) ? $a_limit : $a_default_limit;
288
289 if ($this->limit == 0) {
290 $this->max_limit = true;
291 }
292 }

◆ setMaxCount()

ilTableGUI::setMaxCount (   $a_max_count)

set max.

count of database query you don't need to set max count if using integrated content rendering feature if max_limit is true, no limit is given -> set limit to max_count @access public

Parameters
integermax_count

Definition at line 270 of file class.ilTableGUI.php.

271 {
272 $this->max_count = $a_max_count;
273
274 if ($this->max_limit) {
275 $this->limit = $this->max_count;
276 }
277 }

References $max_count.

Referenced by ilMilestoneResponsiblesTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilMailFolderTableGUI\fetchTableData(), ilTable2GUI\getHTML(), ilTrSummaryTableGUI\getItems(), ilRatingCategoryTableGUI\getItems(), ilBookingSchedulesTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilBookingAssignParticipantsTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserTableGUI\getItems(), ilTrMatrixTableGUI\getItems(), ilBookingParticipantsTableGUI\getItems(), ilFileVersionsTableGUI\initData(), ilCmiXapiStatementsGUI\initTableData(), ilLTIConsumerXapiStatementsGUI\initTableData(), ilRoleTableGUI\parse(), ilAdvancedMDRecordLanguageTableGUI\parse(), ilLogComponentTableGUI\parse(), ilTrashTableGUI\parse(), ilUserClipboardTableGUI\parse(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), render(), and arIndexTableGUI\setOrderAndSegmentation().

+ Here is the caller graph for this function:

◆ setOffset()

ilTableGUI::setOffset (   $a_offset)

set dataset offset @access public

Parameters
integeroffset

Definition at line 318 of file class.ilTableGUI.php.

319 {
320 $this->offset = ($a_offset) ? $a_offset : 0;
321 }

Referenced by ilTable2GUI\determineOffsetAndOrder(), and ilTable2GUI\resetOffset().

+ Here is the caller graph for this function:

◆ setOneColumnWidth()

ilTableGUI::setOneColumnWidth (   $a_column_width,
  $a_column_number 
)

set one table column width @access public

Parameters
stringcolumn width
integercolumn number

Definition at line 258 of file class.ilTableGUI.php.

259 {
260 $this->column_width[$a_column_number] = $a_column_width;
261 }

◆ setOrderColumn()

ilTableGUI::setOrderColumn (   $a_order_column = 0,
  $a_default_column = 0 
)

set order column @access public

Parameters
stringorder column
stringdefault column

Definition at line 337 of file class.ilTableGUI.php.

338 {
339 // set default sort column to first column
340 if (empty($a_order_column)) {
341 if (!empty($a_default_column)) {
342 $this->order_column = array_search($a_default_column, $this->header_vars);
343 } else {
344 $this->order_column = 0;
345 return;
346 }
347 } else {
348 $this->order_column = array_search($a_order_column, $this->header_vars);
349 }
350
351 if ($this->order_column === false) {
352 // if not found, set default sort column to first column
353 $this->order_column = 0;
354 }
355 }

Referenced by ilLTIProviderReleasedObjectsTableGUI\init(), ilObjectTableGUI\init(), and ilUserClipboardTableGUI\init().

+ Here is the caller graph for this function:

◆ setOrderDirection()

ilTableGUI::setOrderDirection (   $a_order_direction)

set order direction @access public

Parameters
stringorder direction

Definition at line 370 of file class.ilTableGUI.php.

371 {
372 if (strtolower($a_order_direction) == "desc") {
373 $this->order_direction = "desc";
374 $this->sort_order = "asc";
375 } else {
376 $this->order_direction = "asc"; // set default sort order to "ASC"
377 $this->sort_order = "desc";
378 }
379 }

Referenced by ilTable2GUI\determineOffsetAndOrder(), and ilCalendarManageTableGUI\resetToDefaults().

+ Here is the caller graph for this function:

◆ setOrderLink()

ilTableGUI::setOrderLink (   $key,
  $order_dir 
)

Reimplemented in ilTable2GUI.

Definition at line 691 of file class.ilTableGUI.php.

692 {
693 $this->tpl->setVariable("TBL_ORDER_LINK", basename($_SERVER["PHP_SELF"]) . "?" . $this->link_params . $this->prefix . "sort_by=" . $this->header_vars[$key] . "&" . $this->prefix . "sort_order=" . $order_dir . "&" . $this->prefix . "offset=" . $this->offset);
694 }

References $_SERVER.

Referenced by renderHeader().

+ Here is the caller graph for this function:

◆ setPrefix()

ilTableGUI::setPrefix (   $a_prefix)

set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort separately) @access public

Parameters
stringprefix

Reimplemented in ilTable2GUI.

Definition at line 308 of file class.ilTableGUI.php.

309 {
310 $this->prefix = ($a_prefix) ? $a_prefix : "";
311 }

◆ setSelectAllCheckbox()

ilTableGUI::setSelectAllCheckbox (   $a_select_all_checkbox)

Definition at line 772 of file class.ilTableGUI.php.

773 {
774 $this->select_all_checkbox = $a_select_all_checkbox;
775 }

◆ setStyle()

ilTableGUI::setStyle (   $a_element,
  $a_style 
)

Definition at line 702 of file class.ilTableGUI.php.

703 {
704 $this->styles[$a_element] = $a_style;
705 }

Referenced by ilSurveySavePhraseTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilParticipantsTestResultsTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), and ilDclTableViewTableGUI\__construct().

+ Here is the caller graph for this function:

◆ setTemplate()

ilTableGUI::setTemplate (   $a_tpl)

set template @access public

Parameters
objecttemplate object

Definition at line 130 of file class.ilTableGUI.php.

131 {
132 $this->tpl = $a_tpl;
133 }

◆ setTitle()

ilTableGUI::setTitle (   $a_title,
  $a_icon = 0,
  $a_icon_alt = 0 
)

set table title @access public

Parameters
stringtable title
stringfile name of title icon
stringalternative text for title icon

Reimplemented in ilTable2GUI.

Definition at line 164 of file class.ilTableGUI.php.

165 {
166 $this->title = $a_title;
167 $this->icon = $a_icon;
168 $this->icon_alt = $a_icon_alt;
169
170 if (!$this->icon) {
171 $this->enabled["icon"] = false;
172
173 return;
174 }
175
176 if (!$this->icon_alt) {
177 $this->icon_alt = $this->icon;
178 }
179 $this->enabled["icon"] = true;
180 }

References $icon.

◆ sortData()

ilTableGUI::sortData ( )

Definition at line 439 of file class.ilTableGUI.php.

440 {
441 if ($this->enabled["sort"]) {
442 $this->data = ilUtil::sortArray($this->data, $this->order_column, $this->order_direction);
443 }
444 $this->data = array_slice($this->data, $this->offset, $this->limit);
445 }
static sortArray( $array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray

References ilUtil\sortArray().

Referenced by render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $action_buttons

ilTableGUI::$action_buttons

Definition at line 62 of file class.ilTableGUI.php.

◆ $base

ilTableGUI::$base = ""

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

Referenced by ilLPTableBaseGUI\buildValueScale(), getBase(), and render().

◆ $column_count

ilTableGUI::$column_count

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

Referenced by getColumnCount().

◆ $column_width

ilTableGUI::$column_width

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

Referenced by ilObjectRolePermissionTableGUI\initColumns().

◆ $data

ilTableGUI::$data

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

Referenced by ilLMGlossaryTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilSkillAssignedObjectsTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__formatPath(), ilTestRandomQuestionSelectionTableGUI\build(), ilLTIConsumerProviderTableGUI\buildActionsListHtml(), ilParticipantsTestResultsTableGUI\buildActionsMenu(), ilTestParticipantsTableGUI\buildActionsMenu(), ilAnswerFrequencyStatisticTableGUI\buildAddAnswerAction(), ilAnswerFrequencyStatisticTableGUI\buildAddAnswerModalGui(), ilParticipantsTestResultsTableGUI\buildAnsweredQuestionsString(), ilDclRecordListTableGUI\buildData(), ilParticipantsTestResultsTableGUI\buildFinishedPassesString(), ilParticipantsTestResultsTableGUI\buildFormattedAccessDate(), ilTestParticipantsTableGUI\buildFormattedAccessDate(), ilParticipantsTestResultsTableGUI\buildPassedStatusString(), ilParticipantsTestResultsTableGUI\buildPassFinishedString(), ilCalendarCategoryTableGUI\buildPath(), ilObjectOwnershipManagementTableGUI\buildPath(), ilSurveySyncTableGUI\buildPath(), ilLPTableBaseGUI\buildPath(), ilParticipantsTestResultsTableGUI\buildPercentResultString(), ilParticipantsTestResultsTableGUI\buildReachedPointsString(), ilParticipantsTestResultsTableGUI\buildScoredPassString(), ilTestParticipantsTableGUI\buildUnfinishedPassesStatusString(), ilMDCopyrightUsageTableGUI\collectData(), ilTestParticipantsTableGUI\fetchRowKey(), ilMailFolderTableGUI\fetchTableData(), ilTestParticipantsTableGUI\fetchTriesValue(), ilCourseObjectivesTableGUI\fillRow(), ilObjectivesAlignmentTableGUI\fillRow(), ilCmiXapiLrsTypesTableGUI\fillRow(), ilCmiXapiScoringTableGUI\fillRow(), ilCmiXapiStatementsTableGUI\fillRow(), ilLTIConsumerProviderTableGUI\fillRow(), ilLTIConsumerProviderUsageTableGUI\fillRow(), ilLTIConsumerScoringTableGUI\fillRow(), ilSCORM2004ExportTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRow(), ilSumScoreTableGUI\fillRow(), ilSurveyQuestionblockbrowserTableGUI\fillRow(), ilSurveyQuestionbrowserTableGUI\fillRow(), ilSurveyAppraiseesTableGUI\fillRow(), ilSurveyCodesEditTableGUI\fillRow(), ilSurveyCodesTableGUI\fillRow(), ilSurveyMaintenanceTableGUI\fillRow(), ilSurveyResultsCumulatedTableGUI\fillRow(), ilSurveyResultsUserTableGUI\fillRow(), ilSurveyQuestionPoolExportTableGUI\fillRow(), ilSurveyMaterialsTableGUI\fillRow(), SurveyMaterialsSourceTableGUI\fillRow(), ilSurveyPhrasesTableGUI\fillRow(), ilSurveySavePhraseTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ilAssessmentFolderLogAdministrationTableGUI\fillRow(), ilAssessmentFolderLogTableGUI\fillRow(), ilEvaluationAllTableGUI\fillRow(), ilListOfQuestionsTableGUI\fillRow(), ilParticipantsTestResultsTableGUI\fillRow(), ilTestAggregatedResultsTableGUI\fillRow(), ilTestAverageReachedPointsTableGUI\fillRow(), ilTestDynamicQuestionSetStatisticTableGUI\fillRow(), ilTestHistoryTableGUI\fillRow(), ilTestInviteGroupsTableGUI\fillRow(), ilTestInviteRolesTableGUI\fillRow(), ilTestInviteUsersTableGUI\fillRow(), ilTestParticipantsTableGUI\fillRow(), ilTestQuestionBrowserTableGUI\fillRow(), ilTestQuestionsTableGUI\fillRow(), ilTestSkillLevelThresholdsTableGUI\fillRow(), ilTimingOverviewTableGUI\fillRow(), ilAssQuestionSkillUsagesTableGUI\fillRow(), ilAnswerFrequencyStatisticTableGUI\fillRow(), ilKprimChoiceAnswerFreqStatTableGUI\fillRow(), ilMatchingQuestionAnswerFreqStatTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilLanguageExtTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTestAverageReachedPointsTableGUI\formatPoints(), ilLTIConsumerProviderTableGUI\getActionItems(), ilCmiXapiLrsTypesTableGUI\getActionsList(), ilLTIConsumerProviderTableGUI\getAvailabilityLabel(), ilComponentsTableGUI\getComponents(), ilModulesTableGUI\getComponents(), getData(), ilBenchmarkTableGUI\getDataByFirstTable(), ilMDCopyrightUsageTableGUI\getDataFromDB(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLPTableBaseGUI\getExportMeta(), ilMemberExportFileTableGUI\getFiles(), ilLearningSequenceParticipantsTableGUI\getFirstAccess(), ilNewItemGroupTableGUI\getGroups(), ilTable2GUI\getHTML(), ilTestSkillLevelThresholdsTableGUI\getInputElements(), ilCourseGroupingTableGUI\getItems(), ilCourseGroupingAssignmentTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilBadgeTableGUI\getItems(), ilRatingCategoryTableGUI\getItems(), ilBadgeUserTableGUI\getItems(), ilBookingSchedulesTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilBadgePersonalTableGUI\getItems(), ilContributorTableGUI\getItems(), ilBookingAssignParticipantsTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilBookingAssignObjectsTableGUI\getItems(), ilCmiXapiVerificationTableGUI\getItems(), ilCourseVerificationTableGUI\getItems(), ilExAssignmentPeerReviewOverviewTableGUI\getItems(), ilExAssignmentPeerReviewTableGUI\getItems(), ilExAssignmentTeamLogTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilExcCriteriaTableGUI\getItems(), ilExerciseVerificationTableGUI\getItems(), ilLTIConsumerVerificationTableGUI\getItems(), ilPollAnswerTableGUI\getItems(), ilPortfolioPageTableGUI\getItems(), ilPortfolioTableGUI\getItems(), ilSCORMVerificationTableGUI\getItems(), ilTestVerificationTableGUI\getItems(), ilBadgeImageTemplateTableGUI\getItems(), ilBadgeTypesTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilLanguageTableGUI\getItems(), ilRecommendedContentRoleTableGUI\getItems(), ilLPObjectStatisticsAdminTableGUI\getItems(), ilLPObjectStatisticsDailyTableGUI\getItems(), ilLPObjectStatisticsLPTableGUI\getItems(), ilLPObjectStatisticsTableGUI\getItems(), ilLPObjectStatisticsTypesTableGUI\getItems(), ilLPProgressTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilSessionOverviewTableGUI\getItems(), ilSurveyResultsCumulatedTableGUI\getItems(), ilTrMatrixTableGUI\getItems(), ilBookingParticipantsTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), ilWikiExportOrderTableGUI\getItems(), ilSurveyParticipantsTableGUI\getItems(), ilTrSummaryTableGUI\getItemsPercentages(), ilTrSummaryTableGUI\getItemsPercentagesStatus(), ilLearningSequenceParticipantsTableGUI\getLastAccess(), ilLearningSequenceParticipantsTableGUI\getLastVisitedStep(), ilMDCopyrightUsageTableGUI\getObjTypesAvailable(), ilLTIConsumerProviderTableGUI\getOwnProviderLabel(), ilCourseStartObjectsTableGUI\getPossibleObjects(), ilContainerStartObjectsTableGUI\getPossibleObjects(), ilLTIConsumerProviderTableGUI\getProviderCreatorLabel(), ilSurveySkillAssignmentTableGUI\getQuestions(), ilCopySelfAssQuestionTableGUI\getQuestions(), ilCmiXapiStatementsTableGUI\getRawDataModal(), ilSurveySkillTableGUI\getSkills(), ilCourseStartObjectsTableGUI\getStartObjects(), ilContainerStartObjectsTableGUI\getStartObjects(), ilCmiXapiScoringTableGUI\getUsername(), ilLTIConsumerScoringTableGUI\getUsername(), ilSurveyQuestionTableGUI\importData(), ilLDAPServerTableGUI\importData(), ilWorkspaceAccessTableGUI\importData(), ilWorkspaceShareTableGUI\importData(), ilPCIIMTriggerTableGUI\initActions(), ilImageMapTableGUI\initActions(), ilSurveyQuestionblockbrowserTableGUI\initData(), ilSurveyQuestionbrowserTableGUI\initData(), ilMarkSchemaTableGUI\initData(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilObjectOwnershipManagementTableGUI\initItems(), ilTaxonomyAdministrationRepositoryTableGUI\initItems(), ilAdvancedMDFieldDefinitionGroupTableGUI\initItems(), SurveyConstraintsTableGUI\initItems(), ilLTIConsumerProviderTableGUI\isUserCreatedProviderResettableToUserScope(), ilOrgUnitRecursiveUserAssignmentTableGUI\loadData(), ilCourseParticipantsTableGUI\parse(), ilExAssignmentListTextTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilSCORMOfflineModeUsersTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilMDCopyrightUsageTableGUI\parse(), ilSCGroupTableGUI\parse(), ilSCTaskTableGUI\parse(), ilECSNodeMappingTreeTableGUI\parse(), ilDidacticTemplateSettingsTableGUI\parse(), ilDclCreateViewTableGUI\parseData(), ilDclEditViewTableGUI\parseData(), ilDclTableViewEditFieldsTableGUI\parseData(), ilBiblAdminFieldTableGUI\parseData(), ilBiblTranslationTableGUI\parseData(), ilExerciseMemberTableGUI\parseData(), ilOrgUnitUserAssignmentTableGUI\parseData(), ilOrgUnitOtherRolesTableGUI\parseData(), ilOrgUnitStaffTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), ilAdvancedMDRecordExportFilesTableGUI\parseFiles(), ilLOTestAssignmentTableGUI\parseMultipleAssignments(), ilRepositoryObjectResultTableGUI\parseObjectIds(), ilOrgUnitUserAssignmentTableGUI\parseRows(), ilOrgUnitOtherRolesTableGUI\parseRows(), ilOrgUnitStaffTableGUI\parseRows(), ilRepositoryUserResultTableGUI\parseUserIds(), ilAccessibilityTableGUI\populate(), ilBuddySystemRelationsTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilTrSummaryTableGUI\renderPercentages(), ilTable2GUI\restoreTemplate(), ilQuestionBrowserTableGUI\setQuestionData(), and ilDclRecordListTableGUI\setRecordData().

◆ $enabled

ilTableGUI::$enabled
Initial value:
= array( "table" => true,
"title" => true,
"icon" => true,
"help" => false,
"content" => true,
"action" => false,
"header" => true,
"footer" => true,
"linkbar" => true,
"numinfo" => true,
"numinfo_header" => false,
"sort" => true,
"hits" => false,
"auto_sort" => true,
"select_all" => false
)

Definition at line 68 of file class.ilTableGUI.php.

◆ $footer_next

ilTableGUI::$footer_next

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

◆ $footer_previous

ilTableGUI::$footer_previous

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

◆ $footer_style

ilTableGUI::$footer_style

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

◆ $form_name

ilTableGUI::$form_name

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

Referenced by getFormName().

◆ $global_tpl

ilTableGUI::$global_tpl

Definition at line 59 of file class.ilTableGUI.php.

◆ $header_names

ilTableGUI::$header_names

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

◆ $header_vars

ilTableGUI::$header_vars

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

◆ $help_icon

ilTableGUI::$help_icon

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

Referenced by setHelp().

◆ $help_icon_alt

ilTableGUI::$help_icon_alt

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

◆ $help_page

ilTableGUI::$help_page

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

◆ $icon

◆ $icon_alt

ilTableGUI::$icon_alt

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

Referenced by ilWorkspaceShareTableGUI\fillRow().

◆ $lang_support

ilTableGUI::$lang_support = true

Definition at line 58 of file class.ilTableGUI.php.

Referenced by renderHeader().

◆ $limit

◆ $linkbar_vars

ilTableGUI::$linkbar_vars

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

◆ $lng

ilTableGUI::$lng
protected

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

Referenced by ilFileSystemTableGUI\__construct(), ilLinksTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilPCIIMTriggerTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), __construct(), ilRepDependenciesTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilRendererTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilTaxonomyListTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilStyleTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilUserTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilSpecialUsersTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilTable2GUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilLearningSequenceParticipantsTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilTable2GUI\addFilterItemByMetaType(), ilUserTableGUI\addFilterItemByUdfType(), ilObjectOwnershipManagementTableGUI\buildActions(), ilDclRecordListTableGUI\buildData(), ilLPTableBaseGUI\executeCommand(), ilTable2GUI\fillActionRow(), ilTable2GUI\fillFooter(), ilTable2GUI\fillHeader(), ilBookingObjectsTableGUI\fillRow(), ilBookingParticipantsTableGUI\fillRow(), ilBookingReservationsTableGUI\fillRow(), ilBookingSchedulesTableGUI\fillRow(), ilCourseParticipantsGroupsTableGUI\fillRow(), ilDclEditViewTableGUI\fillRow(), ilDclFieldListTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilFeedbackConfirmationTable2GUI\fillRow(), ilTermUsagesTableGUI\fillRow(), ilItemGroupItemsTableGUI\fillRow(), ilExportIDTableGUI\fillRow(), ilHelpMappingTableGUI\fillRow(), ilHelpTooltipTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilLMBlockedUsersTableGUI\fillRow(), ilLMGlossaryTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilLMQuestionListTableGUI\fillRow(), ilMediaCastTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilUploadDirFilesTableGUI\fillRow(), ilPortfolioPageTableGUI\fillRow(), ilPortfolioTableGUI\fillRow(), ilObjectivesAlignmentTableGUI\fillRow(), ilSCORM2004TrackingTableGUI\fillRow(), ilScormSpecialPagesTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilSurveyQuestionTableGUI\fillRow(), ilSurveySkillAssignmentTableGUI\fillRow(), ilSurveySkillChangesTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilSurveySkillThresholdsTableGUI\fillRow(), ilSurveySyncTableGUI\fillRow(), ilBenchmarkTableGUI\fillRow(), ilWebResourceEditableLinkTableGUI\fillRow(), ilWebResourceLinkTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilWikiContributorsTableGUI\fillRow(), ilWikiPagesTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilWikiSearchResultsTableGUI\fillRow(), ilAccessPermissionsStatusTableGUI\fillRow(), ilAvailableRolesStatusTableGUI\fillRow(), ilRoleAdoptPermissionTableGUI\fillRow(), ilAccessKeyTableGUI\fillRow(), ilSettingsTemplateTableGUI\fillRow(), ilAdvancedMDFieldDefinitionGroupTableGUI\fillRow(), ilBadgeImageTemplateTableGUI\fillRow(), ilBadgePersonalTableGUI\fillRow(), ilBadgeTableGUI\fillRow(), ilBadgeTypesTableGUI\fillRow(), ilBadgeUserTableGUI\fillRow(), ilObjectBadgeTableGUI\fillRow(), ilCalendarChangedAppointmentsTableGUI\fillRow(), ilMilestoneResponsiblesTableGUI\fillRow(), ilClipboardTableGUI\fillRow(), ilComponentsTableGUI\fillRow(), ilCopySelfAssQuestionTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilPageMultiLangTableGUI\fillRow(), ilPCFileListTableGUI\fillRow(), ilPCIIMOverlaysTableGUI\fillRow(), ilPCIIMPopupTableGUI\fillRow(), ilPCIIMTriggerTableGUI\fillRow(), ilPCImageMapTableGUI\fillRow(), ilPCTabsTableGUI\fillRow(), ilPageLayoutTableGUI\fillRow(), ilSubItemSelectionTableGUI\fillRow(), ilHelpModuleTableGUI\fillRow(), ilObjectConsumerTableGUI\fillRow(), ilImageMapTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilMobMultiSrtConfirmationTable2GUI\fillRow(), ilMobSubtitleTableGUI\fillRow(), ilMultiSrtConfirmationTable2GUI\fillRow(), ilMultilingualismTableGUI\fillRow(), ilNewsForContextTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilObjClipboardTableGUI\fillRow(), ilObjectTranslation2TableGUI\fillRow(), ilObjectTranslationTableGUI\fillRow(), ilRatingCategoryTableGUI\fillRow(), ilAdminSubItemsTableGUI\fillRow(), ilNewItemGroupTableGUI\fillRow(), ilRepDependenciesTableGUI\fillRow(), ilSearchResultTableGUI\fillRow(), ilPersonalSkillTableGUI\fillRow(), ilSelfEvaluationTableGUI\fillRow(), ilSkillAssignMaterialsTableGUI\fillRow(), ilSkillCatTableGUI\fillRow(), ilSkillLevelProfileAssignmentTableGUI\fillRow(), ilSkillLevelResourcesTableGUI\fillRow(), ilSkillLevelTableGUI\fillRow(), ilSkillProfileTableGUI\fillRow(), ilSkillProfileUserTableGUI\fillRow(), ilSkillSelfEvalSkillTableGUI\fillRow(), ilSkillUsageTableGUI\fillRow(), ilContentStylesTableGUI\fillRow(), ilPasteStyleCharacteristicTableGUI\fillRow(), ilStyleColorTableGUI\fillRow(), ilStyleImageTableGUI\fillRow(), ilStyleMediaQueryTableGUI\fillRow(), ilStyleTableGUI\fillRow(), ilTableTemplatesTableGUI\fillRow(), ilUserForTagTableGUI\fillRow(), ilTaxAssignedItemsTableGUI\fillRow(), ilTaxonomyListTableGUI\fillRow(), ilTaxonomyTableGUI\fillRow(), ilLPObjectStatisticsAdminTableGUI\fillRow(), ilTrMatrixTableGUI\fillRow(), ilTrSummaryTableGUI\fillRow(), ilCustomUserFieldSettingsTableGUI\fillRow(), ilUserFieldSettingsTableGUI\fillRow(), ilUserRoleStartingPointTableGUI\fillRow(), ilAssignmentsTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilSCORM2004ExportTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRow(), ilSurveyAppraiseesTableGUI\fillRow(), ilSurveyCodesTableGUI\fillRow(), SurveyMaterialsSourceTableGUI\fillRow(), ilLanguageExtTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilLMMenuItemsTableGUI\fillRow(), ilConfirmationTableGUI\fillRow(), ilPublicSubmissionsTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilRendererTableGUI\fillRow(), ilTestManScoringParticipantsTableGUI\fillRow(), ilTestPassManualScoringOverviewTableGUI\fillRow(), ilObjectOwnershipManagementTableGUI\fillRow(), ilAssQuestionHintsTableGUI\fillRow(), ilOrgUnitRecursiveUserAssignmentTableGUI\fillRow(), ilOrgUnitUserAssignmentTableGUI\fillRow(), ilOrgUnitOtherRolesTableGUI\fillRow(), ilOrgUnitStaffTableGUI\fillRow(), ilObjectCopyProgressTableGUI\fillRow(), ilTermQuickListTableGUI\fillRow(), ilAssignedUsersTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRowCSV(), ilSCORMTrackingItemsTableGUI\fillRowCSV(), ilSCORM2004TrackingItemsTableGUI\fillRowExcel(), ilSCORMTrackingItemsTableGUI\fillRowExcel(), ilModulesTableGUI\getComponents(), ilLPTableBaseGUI\getExportMeta(), ilLPObjectStatisticsDailyTableGUI\getGraph(), ilLPObjectStatisticsLPTableGUI\getGraph(), ilLPObjectStatisticsTableGUI\getGraph(), ilLPObjectStatisticsTypesTableGUI\getGraph(), ilNewItemGroupTableGUI\getGroups(), ilTable2GUI\getHTML(), ilExGradesTableGUI\getIconForStatus(), ilTrSummaryTableGUI\getItems(), ilBadgePersonalTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilUserRoleStartingPointTableGUI\getItems(), ilUserTableGUI\getItems(), ilSurveyParticipantsTableGUI\getItems(), ilTrSummaryTableGUI\getItemsPercentages(), ilTrSummaryTableGUI\getItemsPercentagesStatus(), ilSelfEvaluationSimpleTableGUI\getLevels(), ilTable2GUI\getLinkbar(), ilLPTableBaseGUI\getMonthsFilter(), ilLPTableBaseGUI\getMonthsYear(), ilModulesTableGUI\getPluginComponents(), ilLPTableBaseGUI\getPossibleTypes(), ilSurveySkillAssignmentTableGUI\getQuestions(), ilTrSummaryTableGUI\getSelCountryCodes(), ilSurveyResultsCumulatedTableGUI\getSelectableColumns(), ilSurveyQuestionsTableGUI\getSelectableColumns(), ilEvaluationAllTableGUI\getSelectableColumns(), ilQuestionBrowserTableGUI\getSelectableColumns(), ilQuestionPoolPrintViewTableGUI\getSelectableColumns(), ilTrSummaryTableGUI\getSelectableColumns(), ilTrUserObjectsPropsTableGUI\getSelectableColumns(), ilUserTableGUI\getSelectableColumns(), ilLPTableBaseGUI\getSelectableUserColumns(), ilSurveyQuestionTableGUI\importData(), ilSurveySyncTableGUI\importData(), ilWorkspaceShareTableGUI\importData(), ilDidacticTemplateSettingsTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilSCGroupTableGUI\init(), ilSCTaskTableGUI\init(), arIndexTableGUI\initActions(), ilPCIIMTriggerTableGUI\initActions(), ilImageMapTableGUI\initActions(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), ilLPTableBaseGUI\initBaseFilter(), ilTestManScoringParticipantsTableGUI\initColumns(), ilTestPassManualScoringOverviewTableGUI\initColumns(), ilKprimChoiceAnswerFreqStatTableGUI\initColumns(), ilRepositoryObjectSearchResultTableGUI\initColumns(), ilBookingObjectsTableGUI\initFilter(), ilCourseParticipantsGroupsTableGUI\initFilter(), ilMediaPoolTableGUI\initFilter(), ilSurveyQuestionblockbrowserTableGUI\initFilter(), ilSurveyQuestionbrowserTableGUI\initFilter(), ilSurveyQuestionsTableGUI\initFilter(), ilEvaluationAllTableGUI\initFilter(), ilTestManScoringParticipantsTableGUI\initFilter(), ilTestParticipantsTableGUI\initFilter(), ilQuestionBrowserTableGUI\initFilter(), ilBadgeTableGUI\initFilter(), ilBadgeUserTableGUI\initFilter(), ilObjectBadgeTableGUI\initFilter(), ilLanguageExtTableGUI\initFilter(), ilPDNewsTableGUI\initFilter(), ilWorkspaceShareTableGUI\initFilter(), ilRegistrationCodesTableGUI\initFilter(), ilLPObjectStatisticsDailyTableGUI\initFilter(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilLPObjectStatisticsTableGUI\initFilter(), ilLPObjectStatisticsTypesTableGUI\initFilter(), ilTrMatrixTableGUI\initFilter(), ilTrObjectUsersPropsTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), ilTrUserObjectsPropsTableGUI\initFilter(), ilAccountCodesTableGUI\initFilter(), ilRoleAssignmentTableGUI\initFilter(), ilUserTableGUI\initFilter(), ilBadgePersonalTableGUI\initFilters(), SurveyConstraintsTableGUI\initItems(), ilExerciseMemberTableGUI\initMode(), ilExParticipantTableGUI\initMode(), ilAssQuestionHintsTableGUI\initTestoutputColumns(), ilAssQuestionHintsTableGUI\initTestoutputCommands(), ilLPTableBaseGUI\parseTitle(), ilSCORM2004TrackingItemsTableGUI\parseValue(), ilSCORMTrackingItemsTableGUI\parseValue(), ilLPTableBaseGUI\parseValue(), ilTrSummaryTableGUI\parseValue(), ilLinkCheckerTableGUI\prepareHTML(), ilMediaPoolTableGUI\prepareOutput(), ilMultilingualismTableGUI\prepareOutput(), ilObjectTranslation2TableGUI\prepareOutput(), ilObjectTranslationTableGUI\prepareOutput(), ilMediaPoolTableGUI\render(), ilTable2GUI\render(), ilTable2GUI\renderFilter(), ilTable2GUI\resetFilter(), and ilUserLPTableGUI\secondsToShortString().

◆ $max_count

ilTableGUI::$max_count

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

Referenced by ilTable2GUI\fillFooter(), render(), and setMaxCount().

◆ $max_limit

ilTableGUI::$max_limit = false

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

◆ $offset

ilTableGUI::$offset

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

Referenced by getOffset(), and ilBiblFieldFilterTableGUI\parseData().

◆ $order_column

ilTableGUI::$order_column

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

Referenced by getOrderColumn().

◆ $order_direction

ilTableGUI::$order_direction

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

Referenced by getOrderDirection().

◆ $prefix

◆ $select_all_checkbox

ilTableGUI::$select_all_checkbox

Definition at line 61 of file class.ilTableGUI.php.

Referenced by ilTable2GUI\getSelectAllCheckbox(), and getSelectAllCheckbox().

◆ $styles

ilTableGUI::$styles
Initial value:
= array(
"table" => "fullwidth"
)

Definition at line 86 of file class.ilTableGUI.php.

◆ $title

ilTableGUI::$title

Definition at line 30 of file class.ilTableGUI.php.

Referenced by ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilNotificationSettingsTable\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilDclRecordListTableGUI\buildData(), ilLTIConsumerProviderUsageTableGUI\buildLinkToUsedBy(), ilTable2GUI\fillHeaderCSV(), ilTable2GUI\fillHeaderExcel(), ilCourseObjectivesTableGUI\fillRow(), ilCourseParticipantsGroupsTableGUI\fillRow(), ilStudyProgrammeIndividualPlanTableGUI\fillRow(), ilWikiContributorsTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilWikiSearchResultsTableGUI\fillRow(), ilAdvancedMDRecordExportFilesTableGUI\fillRow(), ilLDAPRoleMappingTableGUI\fillRow(), ilAdminSubItemsTableGUI\fillRow(), ilSearchResultTableGUI\fillRow(), ilAssessmentFolderLogTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilLOTestAssignmentTableGUI\fillRow(), ilObjLearningSequenceContentTableGUI\fillRow(), ilStudyProgrammeAutoCategoriesTableGUI\fillRow(), ilStudyProgrammeAutoMembershipsTableGUI\fillRow(), ilSessionMaterialsTableGUI\filterData(), ilContributorTableGUI\getItems(), ilUserRoleStartingPointTableGUI\getItems(), ilTrMatrixTableGUI\getSelectableColumns(), ilLTIConsumerProviderTableGUI\getTitle(), ilRoleAssignmentTableGUI\getTitleForReference(), ilSurveySyncTableGUI\importData(), ilWorkspaceAccessTableGUI\importData(), ilBookingObjectsTableGUI\initFilter(), ilBookingParticipantsTableGUI\initFilter(), ilLTIConsumerProviderTableGUI\initFilter(), ilSurveyQuestionbrowserTableGUI\initFilter(), ilRoleTableGUI\initFilter(), ilBadgeTableGUI\initFilter(), ilObjectBadgeTableGUI\initFilter(), ilMDCopyrightUsageTableGUI\initFilter(), ilTrashTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), ilBadgePersonalTableGUI\initFilters(), SurveyConstraintsTableGUI\initItems(), ilRoleTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilRoleAssignmentTableGUI\parse(), ilLinkCheckerTableGUI\prepareHTML(), ilMediaPoolTableGUI\render(), and ilCalendarAppointmentsTableGUI\setAppointments().

◆ $tpl

ilTableGUI::$tpl
protected

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

Referenced by __construct(), and getTemplateObject().


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