ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilTableGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

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

Public Member Functions

 __construct (array $a_data=[], bool $a_global_tpl=true)
 
 setTemplate (ilTemplate $a_tpl)
 
 getTemplateObject ()
 
 setData (array $a_data)
 Set table data. More...
 
 getData ()
 
 setTitle (string $a_title, string $a_icon="", string $a_icon_alt="")
 
 setHelp (string $a_help_page, string $a_help_icon, string $a_help_icon_alt="")
 
 setHeaderNames (array $a_header_names)
 
 getColumnCount ()
 
 setHeaderVars (array $a_header_vars, array $a_header_params=[])
 
 setColumnWidth (array $a_column_width)
 set table column widths More...
 
 setOneColumnWidth (string $a_column_width, int $a_column_number)
 
 setMaxCount (int $a_max_count)
 set max. More...
 
 setLimit (int $a_limit=0, int $a_default_limit=0)
 set max. More...
 
 getLimit ()
 
 setPrefix (string $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) More...
 
 setOffset (int $a_offset)
 set dataset offset More...
 
 getOffset ()
 
 setOrderColumn (string $a_order_column="", string $a_default_column="")
 
 getOrderColumn ()
 
 setOrderDirection (string $a_order_direction)
 
 getOrderDirection ()
 
 setFooter (string $a_style, string $a_previous="", string $a_next="")
 
 enable (string $a_module_name)
 
 disable (string $a_module_name)
 
 sortData ()
 
 render ()
 
 renderHeader ()
 
 setOrderLink (string $key, string $order_dir)
 
 setStyle (string $a_element, string $a_style)
 
 getStyle (string $a_element)
 
 setBase (string $a_base)
 
 getBase ()
 
 getFormName ()
 get the name of the parent form More...
 
 setFormName (string $a_name="cmd")
 
 getSelectAllCheckbox ()
 get the name of the checkbox that should be toggled with a select all button More...
 
 setSelectAllCheckbox (string $a_select_all_checkbox)
 
 clearActionButtons ()
 
 addActionButton (string $btn_name, string $btn_value)
 

Static Public Member Functions

static linkbar (string $AScript, int $AHits, int $ALimit, int $AOffset, array $AParams=array(), array $ALayout=array(), string $prefix='')
 

Data Fields

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

Protected Attributes

string $sort_order
 
string $link_params
 
array $header_params
 
 $tpl
 
ilLanguage $lng
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning HTML table component

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

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

Constructor & Destructor Documentation

◆ __construct()

ilTableGUI::__construct ( array  $a_data = [],
bool  $a_global_tpl = true 
)
Parameters
array | null$a_datacontent data (optional)
bool$a_global_tplcontent data (optional)

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

References $DIC, $lng, $tpl, ILIAS\Repository\lng(), and setData().

94  {
95  global $DIC;
96 
97  $tpl = $DIC->ui()->mainTemplate();
98  $lng = $DIC->language();
99 
100  $this->global_tpl = $a_global_tpl;
101  $this->header_vars = array();
102  $this->header_params = array();
103  $this->enabled["form"] = true;
104  $this->action_buttons = array();
105  if ($this->global_tpl) {
106  $this->tpl = $tpl;
107  } else {
108  $this->tpl = new ilTemplate("tpl.table.html", true, true, "Services/Table");
109  }
110 
111  $this->lng = $lng;
112 
113  if (!$this->lng) {
114  $this->lang_support = false;
115  }
116 
117  $this->setData($a_data);
118  }
ilLanguage $lng
global $DIC
Definition: feed.php:28
setData(array $a_data)
Set table data.
+ Here is the call graph for this function:

Member Function Documentation

◆ addActionButton()

ilTableGUI::addActionButton ( string  $btn_name,
string  $btn_value 
)

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

738  : void
739  {
740  $this->action_buttons[] = array(
741  "name" => $btn_name,
742  "value" => $btn_value
743  );
744  }

◆ clearActionButtons()

ilTableGUI::clearActionButtons ( )

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

733  : void
734  {
735  $this->action_buttons = array();
736  }

◆ disable()

ilTableGUI::disable ( string  $a_module_name)
Deprecated:
Use setEnable<Section>() of Table2GUI instead

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

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

329  : void
330  {
331  if (!in_array($a_module_name, array_keys($this->enabled))) {
332  return;
333  }
334 
335  $this->enabled[$a_module_name] = false;
336  }
+ Here is the caller graph for this function:

◆ enable()

ilTableGUI::enable ( string  $a_module_name)
Deprecated:
Use setEnable...<Section>() of Table2GUI instead

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

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

317  : void
318  {
319  if (!in_array($a_module_name, array_keys($this->enabled))) {
320  return;
321  }
322 
323  $this->enabled[$a_module_name] = true;
324  }
+ Here is the caller graph for this function:

◆ getBase()

ilTableGUI::getBase ( )

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

References $base.

Referenced by render().

702  : string
703  {
704  return $this->base;
705  }
+ Here is the caller graph for this function:

◆ getColumnCount()

ilTableGUI::getColumnCount ( )

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

References $column_count.

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

183  : int
184  {
185  return $this->column_count;
186  }
+ Here is the caller graph for this function:

◆ getData()

ilTableGUI::getData ( )

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

References $data.

138  : array
139  {
140  return $this->data;
141  }

◆ getFormName()

ilTableGUI::getFormName ( )

get the name of the parent form

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

References $form_name.

Referenced by render().

710  : string
711  {
712  return $this->form_name;
713  }
+ Here is the caller graph for this function:

◆ getLimit()

ilTableGUI::getLimit ( )

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

References $limit.

237  : int
238  {
239  return $this->limit;
240  }

◆ getOffset()

ilTableGUI::getOffset ( )

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

References $offset.

260  : int
261  {
262  return $this->offset;
263  }

◆ getOrderColumn()

ilTableGUI::getOrderColumn ( )

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

References $order_column.

283  : string
284  {
285  return $this->order_column;
286  }
string $order_column

◆ getOrderDirection()

ilTableGUI::getOrderDirection ( )

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

References $order_direction.

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

299  : string
300  {
301  return $this->order_direction;
302  }
string $order_direction
+ Here is the caller graph for this function:

◆ getSelectAllCheckbox()

ilTableGUI::getSelectAllCheckbox ( )

get the name of the checkbox that should be toggled with a select all button

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

References $select_all_checkbox.

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

723  : string
724  {
726  }
string $select_all_checkbox
+ Here is the caller graph for this function:

◆ getStyle()

ilTableGUI::getStyle ( string  $a_element)

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

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

689  : string
690  {
691  return $this->styles[$a_element];
692  }
+ Here is the caller graph for this function:

◆ getTemplateObject()

ilTableGUI::getTemplateObject ( )

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

References $tpl.

125  : ilTemplate
126  {
127  return $this->tpl;
128  }

◆ linkbar()

static ilTableGUI::linkbar ( string  $AScript,
int  $AHits,
int  $ALimit,
int  $AOffset,
array  $AParams = array(),
array  $ALayout = array(),
string  $prefix = '' 
)
static

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

References $i, ILIAS\LTI\ToolProvider\$key, and $params.

Referenced by render().

547  : string {
548  $LinkBar = "";
549  $params = "";
550 
551  $layout_link = "";
552  $layout_prev = "&lt;&lt;";
553  $layout_next = "&gt;&gt;";
554 
555  // layout options
556  if ((is_array($ALayout) && (count($ALayout) > 0))) {
557  if ($ALayout["link"]) {
558  $layout_link = " class=\"" . $ALayout["link"] . "\"";
559  }
560 
561  if ($ALayout["prev"]) {
562  $layout_prev = $ALayout["prev"];
563  }
564 
565  if ($ALayout["next"]) {
566  $layout_next = $ALayout["next"];
567  }
568  }
569 
570  // show links, if hits greater limit
571  // or offset > 0 (can be > 0 due to former setting)
572  if ($AHits > $ALimit || $AOffset > 0) {
573  if (!empty($AParams)) {
574  foreach ($AParams as $key => $value) {
575  $params .= $key . "=" . $value . "&";
576  }
577  }
578  // if ($params) $params = substr($params,0,-1);
579  if (strpos($AScript, '&')) {
580  $link = $AScript . "&" . $params . $prefix . "offset=";
581  } else {
582  $link = $AScript . "?" . $params . $prefix . "offset=";
583  }
584 
585  // ?bergehe "zurck"-link, wenn offset 0 ist.
586  if ($AOffset >= 1) {
587  $prevoffset = $AOffset - $ALimit;
588  if ($prevoffset < 0) {
589  $prevoffset = 0;
590  }
591  $LinkBar .= "<a" . $layout_link . " href=\"" . $link . $prevoffset . "\">" . $layout_prev . "&nbsp;</a>";
592  }
593 
594  // Ben?tigte Seitenzahl kalkulieren
595  $pages = intval($AHits / $ALimit);
596 
597  // Wenn ein Rest bleibt, addiere eine Seite
598  if (($AHits % $ALimit)) {
599  $pages++;
600  }
601 
602  // Bei Offset = 0 keine Seitenzahlen anzeigen : DEAKTIVIERT
603  // if ($AOffset != 0) {
604 
605  // ansonsten zeige Links zu den anderen Seiten an
606  for ($i = 1 ;$i <= $pages ; $i++) {
607  $newoffset = $ALimit * ($i - 1);
608 
609  if ($newoffset == $AOffset) {
610  $LinkBar .= "[" . $i . "] ";
611  } else {
612  $LinkBar .= '<a ' . $layout_link . ' href="' .
613  $link . $newoffset . '">[' . $i . ']</a> ';
614  }
615  }
616  // }
617 
618  // Checken, ob letze Seite erreicht ist
619  // Wenn nicht, gebe einen "Weiter"-Link aus
620  if (!(($AOffset / $ALimit) == ($pages - 1)) && ($pages != 1)) {
621  $newoffset = $AOffset + $ALimit;
622  $LinkBar .= "<a" . $layout_link . " href=\"" . $link . $newoffset . "\">&nbsp;" . $layout_next . "</a>";
623  }
624 
625  return $LinkBar;
626  }
627  return "";
628  }
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
Definition: ltiregstart.php:33
string $key
Consumer key/client ID value.
Definition: System.php:193
$i
Definition: metadata.php:41
+ Here is the caller graph for this function:

◆ render()

ilTableGUI::render ( )

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

References $_SERVER, ILIAS\LTI\ToolProvider\$key, $limit, $max_count, $params, getBase(), getColumnCount(), getFormName(), ilUtil\getImagePath(), getSelectAllCheckbox(), linkbar(), ILIAS\Repository\lng(), renderHeader(), setMaxCount(), and sortData().

347  : string
348  {
349  if ($this->enabled['table']) {
350  $this->tpl->setVariable("CSS_TABLE", "table table-striped" /* $this->getStyle("table") */);
351  }
352 
353  // table title icon
354  if ($this->enabled["icon"] && $this->enabled["title"]) {
355  $this->tpl->setCurrentBlock("tbl_header_title_icon");
356  $this->tpl->setVariable("TBL_TITLE_IMG", ilUtil::getImagePath($this->icon));
357  $this->tpl->setVariable("TBL_TITLE_IMG_ALT", $this->icon_alt);
358  $this->tpl->parseCurrentBlock();
359  }
360  // table title help
361  if ($this->enabled["help"] && $this->enabled["title"]) {
362  $this->tpl->setCurrentBlock("tbl_header_title_help");
363  $this->tpl->setVariable("TBL_HELP_IMG", ilUtil::getImagePath($this->help_icon));
364  $this->tpl->setVariable("TBL_HELP_LINK", $this->help_page);
365  $this->tpl->setVariable("TBL_HELP_IMG_ALT", $this->help_icon_alt);
366  $this->tpl->parseCurrentBlock();
367  }
368 
369  // hits per page selector
370  if ($this->enabled["hits"] && $this->enabled["title"]) {
371  $this->tpl->setCurrentBlock("tbl_header_hits_page");
372  $this->tpl->setVariable("HITS_PER_PAGE", $this->lng->txt("hits_per_page"));
373  $this->tpl->parseCurrentBlock();
374  }
375 
376  // table title
377  if ($this->enabled["title"]) {
378  $this->tpl->setCurrentBlock("tbl_header_title");
379  $this->tpl->setVariable("COLUMN_COUNT", $this->column_count);
380  $this->tpl->setVariable("TBL_TITLE", $this->title);
381  $this->tpl->parseCurrentBlock();
382  }
383 
384  // table header
385  if ($this->enabled["header"]) {
386  $this->renderHeader();
387  }
388 
389  // table data
390  // the table content may be skipped to use an individual template blockfile
391  // To do so don't set $this->data and parse your table content by yourself
392  // The template block name for the blockfile MUST be 'TBL_CONTENT'
393 
394  if ($this->enabled["content"]) {
395  if ($this->enabled['auto_sort']) {
396  $this->setMaxCount(count($this->data));
397  $this->sortData();
398  }
399  $count = 0;
400 
401  foreach ($this->data as $tbl_content_row) {
402  foreach ($tbl_content_row as $key => $tbl_content_cell) {
403  if (is_array($tbl_content_cell)) {
404  $this->tpl->setCurrentBlock("tbl_cell_subtitle");
405  $this->tpl->setVariable("TBL_CELL_SUBTITLE", $tbl_content_cell[1]);
406  $this->tpl->parseCurrentBlock();
407  $tbl_content_cell = "<b>" . $tbl_content_cell[0] . "</b>";
408  }
409 
410  $this->tpl->setCurrentBlock("tbl_content_cell");
411  $this->tpl->setVariable("TBL_CONTENT_CELL", $tbl_content_cell);
412  $this->tpl->parseCurrentBlock();
413  }
414 
415  $this->tpl->setCurrentBlock("tbl_content_row");
416  $this->tpl->setVariable("ROWCOLOR", " ");
417  $this->tpl->parseCurrentBlock();
418 
419  $count++;
420  }
421  }
422  // select all checkbox
423  if ($this->enabled["select_all"]) {
424  if ((strlen($this->getFormName())) && (strlen($this->getSelectAllCheckbox()))) {
425  $this->tpl->setVariable('SELECT_PREFIX', $this->prefix);
426  $this->tpl->setVariable("SELECT_ALL_TXT_SELECT_ALL", $this->lng->txt("select_all"));
427  $this->tpl->setVariable("SELECT_ALL_CHECKBOX_NAME", $this->getSelectAllCheckbox());
428  $this->tpl->setVariable("SELECT_ALL_FORM_NAME", $this->getFormName());
429  if (!($this->enabled["numinfo"] && $this->enabled["footer"])) {
430  $this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
431  }
432  }
433  }
434 
435  // table header numinfo
436  if ($this->enabled["numinfo_header"]) {
437  $start = $this->offset + 1; // compute num info
438  $end = $this->offset + $this->limit;
439 
440  if ($end > $this->max_count or $this->limit == 0) {
441  $end = $this->max_count;
442  }
443 
444  if ($this->lang_support) {
445  $numinfo = "(" . $this->lng->txt("dataset") . " " . $start . " - " . $end . " " . strtolower($this->lng->txt("of")) . " " . $this->max_count . ")";
446  } else {
447  $numinfo = "(Dataset " . $start . " - " . $end . " of " . $this->max_count . ")";
448  }
449  if ($this->max_count > 0) {
450  //$numinfo = $this->lng->txt("no_datasets");
451  $this->tpl->setCurrentBlock("tbl_header_numinfo");
452  $this->tpl->setVariable("NUMINFO_HEADER", $numinfo);
453  $this->tpl->setVariable("COLUMN_COUNT_HEADER", $this->getColumnCount());
454  $this->tpl->parseCurrentBlock();
455  }
456  }
457  // table footer numinfo
458  if ($this->enabled["numinfo"] && $this->enabled["footer"]) {
459  $start = $this->offset + 1; // compute num info
460  $end = $this->offset + $this->limit;
461 
462  if ($end > $this->max_count or $this->limit == 0) {
463  $end = $this->max_count;
464  }
465 
466  if ($this->lang_support) {
467  $numinfo = "(" . $this->lng->txt("dataset") . " " . $start . " - " . $end . " " . strtolower($this->lng->txt("of")) . " " . $this->max_count . ")";
468  } else {
469  $numinfo = "(Dataset " . $start . " - " . $end . " of " . $this->max_count . ")";
470  }
471  if ($this->max_count > 0) {
472  //$numinfo = $this->lng->txt("no_datasets");
473  $this->tpl->setCurrentBlock("tbl_footer_numinfo");
474  $this->tpl->setVariable("NUMINFO", $numinfo);
475  $this->tpl->parseCurrentBlock();
476  }
477  }
478  // table footer linkbar
479  if ($this->enabled["linkbar"] && $this->enabled["footer"] && $this->limit != 0
480  && $this->max_count > 0) {
481  $params = array(
482  $this->prefix . "sort_by" => $this->header_vars[$this->order_column],
483  $this->prefix . "sort_order" => $this->order_direction
484  );
485  $params = array_merge($this->header_params, $params);
486 
487  $layout = array(
488  "link" => $this->footer_style,
489  "prev" => $this->footer_previous,
490  "next" => $this->footer_next,
491  );
492 
493  $base = ($this->getBase() == "")
494  ? basename($_SERVER["PHP_SELF"])
495  : $this->getBase();
496 
497  $linkbar = $this->linkbar($base, $this->max_count, $this->limit, $this->offset, $params, $layout, $this->prefix);
498  $this->tpl->setCurrentBlock("tbl_footer_linkbar");
499  $this->tpl->setVariable("LINKBAR", $linkbar);
500  $this->tpl->parseCurrentBlock();
501  }
502 
503  // table footer
504  if ($this->enabled["footer"] && $this->max_count > 0) {
505  $this->tpl->setCurrentBlock("tbl_footer");
506  $this->tpl->setVariable("COLUMN_COUNT", $this->column_count);
507  $this->tpl->parseCurrentBlock();
508  }
509 
510  // action buttons
511  if ($this->enabled["action"]) {
512  foreach ($this->action_buttons as $button) {
513  $this->tpl->setCurrentBlock("tbl_action_btn");
514  $this->tpl->setVariable("BTN_NAME", $button["name"]);
515  $this->tpl->setVariable("BTN_VALUE", $button["value"]);
516  $this->tpl->parseCurrentBlock();
517  }
518  $this->tpl->setCurrentBlock("tbl_action_row");
519  $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_downright.svg"));
520  $this->tpl->setVariable("ALT_ARROW", $this->lng->txt("arrow_downright.svg"));
521  $this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
522  $this->tpl->parseCurrentBlock();
523  }
524 
525  if ($this->enabled["form"]) {
526  $this->tpl->touchBlock("tbl_form_footer");
527  }
528 
529  if ($this->enabled['table']) {
530  $this->tpl->touchBlock("tbl_table_end");
531  }
532 
533  if (!$this->global_tpl) {
534  return $this->tpl->get();
535  }
536  return "";
537  }
static linkbar(string $AScript, int $AHits, int $ALimit, int $AOffset, array $AParams=array(), array $ALayout=array(), string $prefix='')
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
Definition: ltiregstart.php:33
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10
string $key
Consumer key/client ID value.
Definition: System.php:193
getFormName()
get the name of the parent form
getSelectAllCheckbox()
get the name of the checkbox that should be toggled with a select all button
setMaxCount(int $a_max_count)
set max.
+ Here is the call graph for this function:

◆ renderHeader()

ilTableGUI::renderHeader ( )

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

References ILIAS\LTI\ToolProvider\$key, $lang_support, $sort_order, ILIAS\Repository\lng(), and setOrderLink().

Referenced by render().

630  : void
631  {
632  foreach ($this->header_names as $key => $tbl_header_cell) {
633  if (!$this->enabled["sort"]) {
634  $this->tpl->setCurrentBlock("tbl_header_no_link");
635  if ($this->column_width[$key]) {
636  $this->tpl->setVariable("TBL_COLUMN_WIDTH_NO_LINK", " width=\"" . $this->column_width[$key] . "\"");
637  }
638  $this->tpl->setVariable("TBL_HEADER_CELL_NO_LINK", $tbl_header_cell);
639  $this->tpl->parseCurrentBlock();
640  continue;
641  }
642  if (($key == $this->order_column) && ($this->order_direction != "")) {
643  if (strcmp($this->header_vars[$key], "") != 0) {
644  $this->tpl->setCurrentBlock("tbl_order_image");
645  $this->tpl->parseCurrentBlock();
646  }
647  }
648 
649  $this->tpl->setCurrentBlock("tbl_header_cell");
650  $this->tpl->setVariable("TBL_HEADER_CELL", $tbl_header_cell);
651 
652  // only set width if a value is given for that column
653  if ($this->column_width[$key]) {
654  $this->tpl->setVariable("TBL_COLUMN_WIDTH", " width=\"" . $this->column_width[$key] . "\"");
655  }
656 
657  $lng_sort_column = ($this->lang_support) ? $this->lng->txt("sort_by_this_column") : "Sort by this column";
658  $this->tpl->setVariable("TBL_ORDER_ALT", $lng_sort_column);
659 
660  $order_dir = "asc";
661 
662  if ($key == $this->order_column) {
663  $order_dir = $this->sort_order;
664 
665  $lng_change_sort = ($this->lang_support) ? $this->lng->txt("change_sort_direction") : "Change sort direction";
666  $this->tpl->setVariable("TBL_ORDER_ALT", $lng_change_sort);
667  }
668 
669  $this->setOrderLink($key, $order_dir);
670  $this->tpl->parseCurrentBlock();
671  }
672 
673  $this->tpl->setCurrentBlock("tbl_header");
674  $this->tpl->parseCurrentBlock();
675  }
string $sort_order
string $key
Consumer key/client ID value.
Definition: System.php:193
setOrderLink(string $key, string $order_dir)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBase()

ilTableGUI::setBase ( string  $a_base)
Parameters
string$a_baseBase script name (deprecated, only use this for workarounds)

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

References ILIAS\UI\examples\Button\Bulky\base().

697  : void
698  {
699  $this->base = $a_base;
700  }
+ Here is the call graph for this function:

◆ setColumnWidth()

ilTableGUI::setColumnWidth ( array  $a_column_width)

set table column widths

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

201  : void
202  {
203  $this->column_width = $a_column_width;
204  }

◆ setData()

ilTableGUI::setData ( array  $a_data)

Set table data.

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

Referenced by __construct().

133  : void
134  {
135  $this->data = $a_data;
136  }
+ Here is the caller graph for this function:

◆ setFooter()

ilTableGUI::setFooter ( string  $a_style,
string  $a_previous = "",
string  $a_next = "" 
)

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

Referenced by ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclTableListTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), ilDclTableViewTableGUI\getHTML(), and ilTable2GUI\getHTML().

308  : void {
309  $this->footer_style = $a_style;
310  $this->footer_previous = $a_previous ?: "<<<";
311  $this->footer_next = $a_next ?: ">>>";
312  }
+ Here is the caller graph for this function:

◆ setFormName()

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

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

715  : void
716  {
717  $this->form_name = $a_name;
718  }

◆ setHeaderNames()

ilTableGUI::setHeaderNames ( array  $a_header_names)

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

177  : void
178  {
179  $this->header_names = $a_header_names;
180  $this->column_count = count($this->header_names);
181  }

◆ setHeaderVars()

ilTableGUI::setHeaderVars ( array  $a_header_vars,
array  $a_header_params = [] 
)

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

References ILIAS\LTI\ToolProvider\$key.

188  : void
189  {
190  $this->header_vars = $a_header_vars;
191  $this->header_params = $a_header_params;
192  $this->link_params = "";
193  foreach ($a_header_params as $key => $val) {
194  $this->link_params .= $key . "=" . $val . "&";
195  }
196  }
string $key
Consumer key/client ID value.
Definition: System.php:193

◆ setHelp()

ilTableGUI::setHelp ( string  $a_help_page,
string  $a_help_icon,
string  $a_help_icon_alt = "" 
)

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

References $help_icon.

166  : void
167  {
168  $this->help_page = $a_help_page;
169  $this->help_icon = $a_help_icon;
170  $this->help_icon_alt = $a_help_icon_alt;
171 
172  if (!$this->help_icon_alt) {
173  $this->help_icon_alt = $this->help_icon;
174  }
175  }

◆ setLimit()

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

set max.

datasets displayed per page

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

228  : void
229  {
230  $this->limit = ($a_limit) ?: $a_default_limit;
231 
232  if ($this->limit == 0) {
233  $this->max_limit = true;
234  }
235  }

◆ setMaxCount()

ilTableGUI::setMaxCount ( int  $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

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

References $max_count.

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

216  : void
217  {
218  $this->max_count = $a_max_count;
219 
220  if ($this->max_limit) {
221  $this->limit = $this->max_count;
222  }
223  }
+ Here is the caller graph for this function:

◆ setOffset()

ilTableGUI::setOffset ( int  $a_offset)

set dataset offset

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

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

255  : void
256  {
257  $this->offset = ($a_offset) ?: 0;
258  }
+ Here is the caller graph for this function:

◆ setOneColumnWidth()

ilTableGUI::setOneColumnWidth ( string  $a_column_width,
int  $a_column_number 
)

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

206  : void
207  {
208  $this->column_width[$a_column_number] = $a_column_width;
209  }

◆ setOrderColumn()

ilTableGUI::setOrderColumn ( string  $a_order_column = "",
string  $a_default_column = "" 
)

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

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

268  : void {
269  // set default sort column to first column
270  if (empty($a_order_column)) {
271  if (!empty($a_default_column)) {
272  $oc = array_search($a_default_column, $this->header_vars);
273  } else {
274  $oc = "";
275  }
276  } else {
277  $oc = array_search($a_order_column, $this->header_vars);
278  }
279 
280  $this->order_column = $oc ?: "";
281  }
+ Here is the caller graph for this function:

◆ setOrderDirection()

ilTableGUI::setOrderDirection ( string  $a_order_direction)

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

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

288  : void
289  {
290  if (strtolower($a_order_direction) == "desc") {
291  $this->order_direction = "desc";
292  $this->sort_order = "asc";
293  } else {
294  $this->order_direction = "asc"; // set default sort order to "ASC"
295  $this->sort_order = "desc";
296  }
297  }
+ Here is the caller graph for this function:

◆ setOrderLink()

ilTableGUI::setOrderLink ( string  $key,
string  $order_dir 
)

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

References $_SERVER.

Referenced by renderHeader().

677  : void
678  {
679  $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);
680  }
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10
string $key
Consumer key/client ID value.
Definition: System.php:193
+ Here is the caller graph for this function:

◆ setPrefix()

ilTableGUI::setPrefix ( string  $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)

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

247  : void
248  {
249  $this->prefix = $a_prefix ?: "";
250  }

◆ setSelectAllCheckbox()

ilTableGUI::setSelectAllCheckbox ( string  $a_select_all_checkbox)

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

728  : void
729  {
730  $this->select_all_checkbox = $a_select_all_checkbox;
731  }

◆ setStyle()

ilTableGUI::setStyle ( string  $a_element,
string  $a_style 
)

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

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

685  : void {
686  $this->styles[$a_element] = $a_style;
687  }
+ Here is the caller graph for this function:

◆ setTemplate()

ilTableGUI::setTemplate ( ilTemplate  $a_tpl)

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

120  : void
121  {
122  $this->tpl = $a_tpl;
123  }

◆ setTitle()

ilTableGUI::setTitle ( string  $a_title,
string  $a_icon = "",
string  $a_icon_alt = "" 
)
Parameters
string$a_titletable title
string$a_iconfile name of title icon
string$a_icon_altalternative text for title icon

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

References $icon.

148  : void
149  {
150  $this->title = $a_title;
151  $this->icon = $a_icon;
152  $this->icon_alt = $a_icon_alt;
153 
154  if (!$this->icon) {
155  $this->enabled["icon"] = false;
156 
157  return;
158  }
159 
160  if (!$this->icon_alt) {
161  $this->icon_alt = $this->icon;
162  }
163  $this->enabled["icon"] = true;
164  }

◆ sortData()

ilTableGUI::sortData ( )

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

References ilArrayUtil\sortArray().

Referenced by render().

339  : void
340  {
341  if ($this->enabled["sort"]) {
342  $this->data = ilArrayUtil::sortArray($this->data, $this->order_column, $this->order_direction);
343  }
344  $this->data = array_slice($this->data, $this->offset, $this->limit);
345  }
static sortArray(array $array, string $a_array_sortby_key, string $a_array_sortorder="asc", bool $a_numeric=false, bool $a_keep_keys=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $action_buttons

array ilTableGUI::$action_buttons = []

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

◆ $base

string ilTableGUI::$base = ""

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

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

◆ $column_count

int ilTableGUI::$column_count = 0

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

Referenced by getColumnCount().

◆ $column_width

array ilTableGUI::$column_width = []

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

Referenced by ilObjectRolePermissionTableGUI\initColumns().

◆ $data

array ilTableGUI::$data = []

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

Referenced by ilCourseStartObjectsTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilSkillAssignedObjectsTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__formatPath(), ilTestRandomQuestionSelectionTableGUI\build(), ilAnswerFrequencyStatisticTableGUI\buildAddAnswerAction(), ilDclRecordListTableGUI\buildData(), ilSurveySyncTableGUI\buildPath(), ilObjectOwnershipManagementTableGUI\buildPath(), ilLPTableBaseGUI\buildPath(), ilMDCopyrightUsageTableGUI\collectData(), ilMailFolderTableGUI\fetchTableData(), ilCourseObjectivesTableGUI\fillRow(), ilAccessibilityDocumentTableGUI\getColumnDefinition(), ilTermsOfServiceDocumentTableGUI\getColumnDefinition(), ilModulesTableGUI\getComponents(), getData(), ilBenchmarkTableGUI\getDataByFirstTable(), ilMDCopyrightUsageTableGUI\getDataFromDB(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLPTableBaseGUI\getExportMeta(), ilMemberExportFileTableGUI\getFiles(), ilLearningSequenceParticipantsTableGUI\getFirstAccess(), ilNewItemGroupTableGUI\getGroups(), ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclTableListTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), ilDclTableViewTableGUI\getHTML(), ilTable2GUI\getHTML(), ilTestSkillLevelThresholdsTableGUI\getInputElements(), ilLPObjectStatisticsAdminTableGUI\getItems(), ilCourseGroupingTableGUI\getItems(), ilExAssignmentTeamLogTableGUI\getItems(), ilCmiXapiVerificationTableGUI\getItems(), ilRatingCategoryTableGUI\getItems(), ilLTIConsumerVerificationTableGUI\getItems(), ilTestVerificationTableGUI\getItems(), ilBookingSchedulesTableGUI\getItems(), ilSCORMVerificationTableGUI\getItems(), ilExerciseVerificationTableGUI\getItems(), ilCourseVerificationTableGUI\getItems(), ilSurveyParticipantsTableGUI\getItems(), ilWikiExportOrderTableGUI\getItems(), ilContributorTableGUI\getItems(), ilPortfolioTableGUI\getItems(), ilCourseGroupingAssignmentTableGUI\getItems(), ilBadgeTypesTableGUI\getItems(), ilBadgeImageTemplateTableGUI\getItems(), ilExcCriteriaTableGUI\getItems(), ilPollAnswerTableGUI\getItems(), ilRecommendedContentRoleTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilPortfolioPageTableGUI\getItems(), ilExAssignmentPeerReviewOverviewTableGUI\getItems(), ilLanguageTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilExAssignmentPeerReviewTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilBookingAssignParticipantsTableGUI\getItems(), ilBookingAssignObjectsTableGUI\getItems(), ilBadgePersonalTableGUI\getItems(), ilBadgeTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilSurveyResultsCumulatedTableGUI\getItems(), ilBadgeUserTableGUI\getItems(), ilSessionOverviewTableGUI\getItems(), ilBookingParticipantsTableGUI\getItems(), ILIAS\Style\Content\CharacteristicTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilLPObjectStatisticsTypesTableGUI\getItems(), ilLPProgressTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilLPObjectStatisticsTableGUI\getItems(), ilLPObjectStatisticsDailyTableGUI\getItems(), ilLPObjectStatisticsLPTableGUI\getItems(), ilTrMatrixTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilTrSummaryTableGUI\getItemsPercentages(), ilTrSummaryTableGUI\getItemsPercentagesStatus(), ilLearningSequenceParticipantsTableGUI\getLastAccess(), ilLearningSequenceParticipantsTableGUI\getLastVisitedStep(), ilMDCopyrightUsageTableGUI\getObjTypesAvailable(), ilCourseStartObjectsTableGUI\getPossibleObjects(), ilContainerStartObjectsTableGUI\getPossibleObjects(), ilSurveySkillAssignmentTableGUI\getQuestions(), ilCopySelfAssQuestionTableGUI\getQuestions(), ilSurveySkillTableGUI\getSkills(), ilCourseStartObjectsTableGUI\getStartObjects(), ilContainerStartObjectsTableGUI\getStartObjects(), ilLDAPServerTableGUI\importData(), ilWorkspaceAccessTableGUI\importData(), ilSurveyQuestionTableGUI\importData(), ilWorkspaceShareTableGUI\importData(), ilImageMapTableGUI\initActions(), ilPCIIMTriggerTableGUI\initActions(), ilOrgUnitTypeTableGUI\initColumns(), ilStudyProgrammeTypeTableGUI\initColumns(), ilMarkSchemaTableGUI\initData(), ilSurveyQuestionblockbrowserTableGUI\initData(), ilSurveyQuestionbrowserTableGUI\initData(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilAdvancedMDFieldDefinitionGroupTableGUI\initItems(), ilTaxonomyAdministrationRepositoryTableGUI\initItems(), SurveyConstraintsTableGUI\initItems(), ilForumTopicTableGUI\initMergeThreadsTable(), ilOrgUnitRecursiveUserAssignmentTableGUI\loadData(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilDidacticTemplateSettingsTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilMDCopyrightUsageTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilSCGroupTableGUI\parse(), ilExAssignmentListTextTableGUI\parse(), ilECSNodeMappingTreeTableGUI\parse(), ilSCTaskTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilDclEditViewTableGUI\parseData(), ilAssignmentsPerParticipantTableGUI\parseData(), ilOrgUnitUserAssignmentTableGUI\parseData(), ilParticipantsPerAssignmentTableGUI\parseData(), ilBiblTranslationTableGUI\parseData(), ilOrgUnitOtherRolesTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ilOrgUnitStaffTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilBiblAdminFieldTableGUI\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(), ilTable2GUI\restoreTemplate(), ilQuestionBrowserTableGUI\setQuestionData(), ilDclRecordListTableGUI\setRecordData(), and ilEmployeeTalkTableGUI\setTalkData().

◆ $enabled

array 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 65 of file class.ilTableGUI.php.

◆ $footer_next

string ilTableGUI::$footer_next = ""

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

◆ $footer_previous

string ilTableGUI::$footer_previous = ""

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

◆ $footer_style

string ilTableGUI::$footer_style = ""

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

◆ $form_name

string ilTableGUI::$form_name = ""

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

Referenced by getFormName().

◆ $global_tpl

bool ilTableGUI::$global_tpl = false

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

◆ $header_names

array ilTableGUI::$header_names = []

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

◆ $header_params

array ilTableGUI::$header_params
protected

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

◆ $header_vars

array ilTableGUI::$header_vars = []

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

◆ $help_icon

string ilTableGUI::$help_icon = ""

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

Referenced by setHelp().

◆ $help_icon_alt

string ilTableGUI::$help_icon_alt = ""

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

◆ $help_page

string ilTableGUI::$help_page = ""

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

◆ $icon

◆ $icon_alt

string ilTableGUI::$icon_alt = ""

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

Referenced by ilWorkspaceShareTableGUI\fillRow().

◆ $lang_support

bool ilTableGUI::$lang_support = true

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

Referenced by renderHeader().

◆ $limit

◆ $link_params

string ilTableGUI::$link_params
protected

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

◆ $linkbar_vars

array ilTableGUI::$linkbar_vars = []

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

◆ $lng

ilLanguage ilTableGUI::$lng
protected

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

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilLinksTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilLearningSequenceParticipantsTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilModulesTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilStudyProgrammeTypeTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilPCIIMTriggerTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), __construct(), ilTable2GUI\__construct(), ilTable2GUI\addFilterItemByMetaType(), ilUserTableGUI\addFilterItemByUdfType(), ilForumNotificationTableGUI\eventsFormBuilder(), ilTable2GUI\fillActionRow(), ilTable2GUI\fillFooter(), ilTable2GUI\fillHeader(), ilMobSubtitleTableGUI\fillRow(), SurveyMaterialsSourceTableGUI\fillRow(), ilAccessPermissionsStatusTableGUI\fillRow(), ilPageMultiLangTableGUI\fillRow(), ilPersonalSkillTableGUI\fillRow(), ilLMGlossaryTableGUI\fillRow(), ilMobMultiSrtConfirmationTable2GUI\fillRow(), ilLanguageExtTableGUI\fillRow(), ilMultiSrtConfirmationTable2GUI\fillRow(), ilPublicSubmissionsTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilSkillLevelProfileAssignmentTableGUI\fillRow(), ilCalendarChangedAppointmentsTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilTaxonomyListTableGUI\fillRow(), ilRatingCategoryTableGUI\fillRow(), ilPCIIMOverlaysTableGUI\fillRow(), ilHelpModuleTableGUI\fillRow(), ilLPObjectStatisticsAdminTableGUI\fillRow(), ilNewsForContextTableGUI\fillRow(), ilBookingSchedulesTableGUI\fillRow(), ilLMBlockedUsersTableGUI\fillRow(), ilSurveyCodesTableGUI\fillRow(), ilTestPassManualScoringOverviewTableGUI\fillRow(), ilRepDependenciesTableGUI\fillRow(), ilWikiContributorsTableGUI\fillRow(), ilContentStylesTableGUI\fillRow(), ilPortfolioTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilPasteStyleCharacteristicTableGUI\fillRow(), ilUserFieldSettingsTableGUI\fillRow(), ilSurveySkillChangesTableGUI\fillRow(), ilStyleMediaQueryTableGUI\fillRow(), ilMultilingualismTableGUI\fillRow(), ilSettingsTemplateTableGUI\fillRow(), ilHelpMappingTableGUI\fillRow(), ilSkillLevelResourcesTableGUI\fillRow(), ilCustomUserFieldSettingsTableGUI\fillRow(), ilStyleColorTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilMediaCastTableGUI\fillRow(), ilSkillProfileUserTableGUI\fillRow(), ilTableTemplatesTableGUI\fillRow(), ilSkillUsageTableGUI\fillRow(), ilPageLayoutTableGUI\fillRow(), ilBadgeImageTemplateTableGUI\fillRow(), ilItemGroupItemsTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilSkillProfileTableGUI\fillRow(), ilOrgUnitUserAssignmentTableGUI\fillRow(), ilSurveySkillAssignmentTableGUI\fillRow(), ilBadgeTypesTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilSurveySkillThresholdsTableGUI\fillRow(), ilPortfolioPageTableGUI\fillRow(), ilSurveyAppraiseesTableGUI\fillRow(), ilSkillAssignMaterialsTableGUI\fillRow(), ILIAS\Skill\Tree\SkillTreeTableGUI\fillRow(), ilExportIDTableGUI\fillRow(), ilCopySelfAssQuestionTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilPCIIMTriggerTableGUI\fillRow(), ilNewItemGroupTableGUI\fillRow(), ilContProfileTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilTestManScoringParticipantsTableGUI\fillRow(), ilSkillCatTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilSurveySyncTableGUI\fillRow(), ilAssignmentsTableGUI\fillRow(), ilBadgeTableGUI\fillRow(), ilSkillLevelTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilOrgUnitStaffTableGUI\fillRow(), ILIAS\Style\Content\CharacteristicTableGUI\fillRow(), ilUserRoleStartingPointTableGUI\fillRow(), ilAdminSubItemsTableGUI\fillRow(), ilBookingParticipantsTableGUI\fillRow(), ilBadgePersonalTableGUI\fillRow(), ilObjectBadgeTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilBenchmarkTableGUI\fillRow(), ilOrgUnitRecursiveUserAssignmentTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilSurveyQuestionTableGUI\fillRow(), ilBadgeUserTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRow(), ilAssQuestionHintsTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilBookingObjectsTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilBookingReservationsTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRowCSV(), ilSCORMTrackingItemsTableGUI\fillRowExcel(), ilDclFieldListTableGUI\fillRowFromObject(), ilModulesTableGUI\getComponents(), ilLPObjectStatisticsDailyTableGUI\getGraph(), ilNewItemGroupTableGUI\getGroups(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclTableListTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), ilDclTableViewTableGUI\getHTML(), ilTable2GUI\getHTML(), ilExGradesTableGUI\getIconForStatus(), ilSurveyParticipantsTableGUI\getItems(), ilUserRoleStartingPointTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilBadgePersonalTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilUserTableGUI\getItems(), ilSelfEvaluationSimpleTableGUI\getLevels(), ilTable2GUI\getLinkbar(), ilModulesTableGUI\getPluginComponents(), ilSurveyResultsCumulatedTableGUI\getSelectableColumns(), ilQuestionPoolPrintViewTableGUI\getSelectableColumns(), ilEvaluationAllTableGUI\getSelectableColumns(), ilSurveyQuestionsTableGUI\getSelectableColumns(), ilUserTableGUI\getSelectableColumns(), ilQuestionBrowserTableGUI\getSelectableColumns(), ilSurveySyncTableGUI\importData(), ilWorkspaceShareTableGUI\importData(), ilImageMapTableGUI\initActions(), ilPCIIMTriggerTableGUI\initActions(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), ilKprimChoiceAnswerFreqStatTableGUI\initColumns(), ilTestPassManualScoringOverviewTableGUI\initColumns(), ilTestManScoringParticipantsTableGUI\initColumns(), ilPDNewsTableGUI\initFilter(), ilRoleAssignmentTableGUI\initFilter(), ilObjectBadgeTableGUI\initFilter(), ilBadgeTableGUI\initFilter(), ilTestManScoringParticipantsTableGUI\initFilter(), ilSurveyQuestionblockbrowserTableGUI\initFilter(), ilBadgeUserTableGUI\initFilter(), ilBookingObjectsTableGUI\initFilter(), ilLanguageExtTableGUI\initFilter(), ilSurveyQuestionbrowserTableGUI\initFilter(), ilSurveyQuestionsTableGUI\initFilter(), ilAccountCodesTableGUI\initFilter(), ilWorkspaceShareTableGUI\initFilter(), ilEvaluationAllTableGUI\initFilter(), ilMediaPoolTableGUI\initFilter(), ilQuestionBrowserTableGUI\initFilter(), ilUserTableGUI\initFilter(), ilBadgePersonalTableGUI\initFilters(), SurveyConstraintsTableGUI\initItems(), ilAssignmentsPerParticipantTableGUI\initMode(), ilParticipantsPerAssignmentTableGUI\initMode(), ilAssQuestionHintsTableGUI\initTestoutputColumns(), ilAssQuestionHintsTableGUI\initTestoutputCommands(), ilSCORMTrackingItemsTableGUI\parseValue(), ilMultilingualismTableGUI\prepareOutput(), ilMediaPoolTableGUI\prepareOutput(), ilTable2GUI\render(), and ilTable2GUI\renderFilter().

◆ $max_count

int ilTableGUI::$max_count = 0

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

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

◆ $max_limit

bool ilTableGUI::$max_limit = false

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

◆ $offset

int ilTableGUI::$offset = 0

◆ $order_column

string ilTableGUI::$order_column = ""

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

Referenced by getOrderColumn().

◆ $order_direction

string ilTableGUI::$order_direction = ""

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

Referenced by getOrderDirection().

◆ $prefix

◆ $select_all_checkbox

string ilTableGUI::$select_all_checkbox = ""

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

Referenced by getSelectAllCheckbox().

◆ $sort_order

string ilTableGUI::$sort_order
protected

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

Referenced by renderHeader().

◆ $styles

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

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

◆ $title

string ilTableGUI::$title = ""

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

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

◆ $tpl


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