ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTable2GUI 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 ilTable2GUI:
+ Collaboration diagram for ilTable2GUI:

Public Member Functions

 __construct (?object $a_parent_obj, string $a_parent_cmd="", string $a_template_context="")
 
 setOpenFormTag (bool $a_val)
 
 getOpenFormTag ()
 
 setCloseFormTag (bool $a_val)
 
 getCloseFormTag ()
 
 determineLimit ()
 
 getSelectableColumns ()
 Get selectable columns. More...
 
 determineSelectedColumns ()
 
 isColumnSelected (string $col)
 
 getSelectedColumns ()
 
 resetOffset (bool $a_in_determination=false)
 
 initFilter ()
 
 getParentObject ()
 
 getParentCmd ()
 
 setTopAnchor (string $a_val)
 
 getTopAnchor ()
 
 setNoEntriesText (string $a_text)
 
 getNoEntriesText ()
 
 setIsDataTable (bool $a_val)
 
 getIsDataTable ()
 
 setEnableTitle (bool $a_enabletitle)
 
 getEnableTitle ()
 
 setEnableHeader (bool $a_enableheader)
 
 getEnableHeader ()
 
 setEnableNumInfo (bool $a_val)
 
 getEnableNumInfo ()
 
 setTitle (string $a_title, string $a_icon="", string $a_icon_alt="")
 
 setDescription (string $a_val)
 
 getDescription ()
 
 setOrderField (string $a_order_field)
 
 getOrderField ()
 
 setData (array $a_data)
 
 getData ()
 
 dataExists ()
 
 setPrefix (string $a_prefix)
 
 getPrefix ()
 
 addFilterItem (ilTableFilterItem $a_input_item, bool $a_optional=false)
 
 addFilterItemByMetaType (string $id, int $type=self::FILTER_TEXT, bool $a_optional=false, string $caption="")
 Add filter by standard type. More...
 
 getFilterItems (bool $a_optionals=false)
 
 getFilterItemByPostVar (string $a_post_var)
 
 setFilterCols (int $a_val)
 
 getFilterCols ()
 
 setDisableFilterHiding (bool $a_val=true)
 
 getDisableFilterHiding ()
 
 isFilterSelected (string $a_col)
 Is given filter selected? More...
 
 getSelectedFilters ()
 
 determineSelectedFilters ()
 
 setCustomPreviousNext (string $a_prev_link, string $a_next_link)
 
 setFormAction (string $a_form_action, bool $a_multipart=false)
 
 getFormAction ()
 
 setFormName (string $a_name="")
 
 getFormName ()
 
 setId (string $a_val)
 
 getId ()
 
 setDisplayAsBlock (bool $a_val)
 
 getDisplayAsBlock ()
 
 setSelectAllCheckbox (string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
 setExternalSorting (bool $a_val)
 
 getExternalSorting ()
 
 setFilterCommand (string $a_val, string $a_caption="")
 
 getFilterCommand ()
 
 setResetCommand (string $a_val, string $a_caption="")
 
 getResetCommand ()
 
 setExternalSegmentation (bool $a_val)
 
 getExternalSegmentation ()
 
 setRowTemplate (string $a_template, string $a_template_dir="")
 Set row template. More...
 
 setDefaultOrderField (string $a_defaultorderfield)
 
 getDefaultOrderField ()
 
 setDefaultOrderDirection (string $a_defaultorderdirection)
 
 getDefaultOrderDirection ()
 
 setDefaultFilterVisiblity (bool $a_status)
 
 getDefaultFilterVisibility ()
 
 clearCommandButtons ()
 
 addCommandButton (string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
 
 addCommandButtonInstance (ilButtonBase $a_button)
 
 addMultiItemSelectionButton (string $a_sel_var, array $a_options, string $a_cmd, string $a_text, string $a_default_selection='')
 
 setCloseCommand (string $a_link)
 
 addMultiCommand (string $a_cmd, string $a_text)
 
 addHiddenInput (string $a_name, string $a_value)
 
 addHeaderCommand (string $a_href, string $a_text, string $a_target="", string $a_img="")
 
 setTopCommands (bool $a_val)
 
 getTopCommands ()
 
 addColumn (string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
 getNavParameter ()
 
 setOrderLink (string $key, string $order_dir)
 
 fillHeader ()
 
 determineOffsetAndOrder (bool $a_omit_offset=false)
 
 storeNavParameter ()
 
 getHTML ()
 Get HTML. More...
 
 numericOrdering (string $a_field)
 Should this field be sorted numeric? More...
 
 render ()
 
 writeFilterToSession ()
 
 resetFilter ()
 
 fillFooter ()
 
 getLinkbar (string $a_num)
 
 fillHiddenRow ()
 
 fillActionRow ()
 
 setHeaderHTML (string $html)
 
 storeProperty (string $type, string $value)
 
 loadProperty (string $type)
 
 getCurrentState ()
 get current settings for order, limit, columns and filter More...
 
 setContext (string $id)
 
 getContext ()
 
 setShowRowsSelector (bool $a_value)
 Toggle rows-per-page selector. More...
 
 getShowRowsSelector ()
 
 getLimit ()
 
 getOffset ()
 
 setExportFormats (array $formats)
 Set available export formats. More...
 
 setPrintMode (bool $a_value=false)
 
 getPrintMode ()
 
 getExportMode ()
 
 exportData (int $format, bool $send=false)
 Export and optionally send current table data. More...
 
 setEnableAllCommand (bool $a_value)
 
 setRowSelectorLabel (string $row_selector_label)
 
 getRowSelectorLabel ()
 
 setPreventDoubleSubmission (bool $a_val)
 
 getPreventDoubleSubmission ()
 
 setLimit (int $a_limit=0, int $a_default_limit=0)
 
- Public Member Functions inherited from ilTableGUI
 __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 getAllCommandLimit ()
 
- Static Public Member Functions inherited from ilTableGUI
static linkbar (string $AScript, int $AHits, int $ALimit, int $AOffset, array $AParams=array(), array $ALayout=array(), string $prefix='')
 

Data Fields

const FILTER_TEXT = 1
 
const FILTER_SELECT = 2
 
const FILTER_DATE = 3
 
const FILTER_LANGUAGE = 4
 
const FILTER_NUMBER_RANGE = 5
 
const FILTER_DATE_RANGE = 6
 
const FILTER_DURATION_RANGE = 7
 
const FILTER_DATETIME_RANGE = 8
 
const FILTER_CHECKBOX = 9
 
const EXPORT_EXCEL = 1
 
const EXPORT_CSV = 2
 
const ACTION_ALL_LIMIT = 1000
 
- Data Fields inherited from ilTableGUI
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 Member Functions

 getRequestedValues ()
 
 prepareOutput ()
 Anything that must be done before HTML is generated. More...
 
 isFilterVisible ()
 Check if filter is visible: manually shown (session, db) or default value set. More...
 
 isAdvMDFilter (ilAdvancedMDRecordGUI $a_gui, ilTableFilterItem $a_element)
 Check if filter element is based on adv md. More...
 
 fillRow (array $a_set)
 Standard Version of Fill Row. More...
 
 getFilterValue (ilTableFilterItem $a_item)
 Get current filter value. More...
 
 setFilterValue (ilTableFilterItem $a_item, $a_value)
 
 fillMetaExcel (ilExcel $a_excel, int &$a_row)
 Add meta information to excel export. More...
 
 fillHeaderExcel (ilExcel $a_excel, int &$a_row)
 Excel Version of Fill Header. More...
 
 fillRowExcel (ilExcel $a_excel, int &$a_row, array $a_set)
 Excel Version of Fill Row. More...
 
 fillMetaCSV (ilCSVWriter $a_csv)
 Add meta information to csv export. More...
 
 fillHeaderCSV (ilCSVWriter $a_csv)
 CSV Version of Fill Header. More...
 
 fillRowCSV (ilCSVWriter $a_csv, array $a_set)
 CSV Version of Fill Row. More...
 

Protected Attributes

string $requested_nav_par2 = ""
 
string $requested_nav_par = ""
 
string $requested_nav_par1 = ""
 
ILIAS Table TableGUIRequest $table_request = null
 
array $selected_columns = []
 
ilCtrl $ctrl
 
object $parent_obj = null
 
string $parent_cmd = ""
 
string $close_command = ""
 
string $top_anchor = "il_table_top"
 
array $filters = array()
 
array $optional_filters = array()
 
string $filter_cmd = 'applyFilter'
 
string $reset_cmd = 'resetFilter'
 
int $filter_cols = 5
 
bool $ext_sort = false
 
bool $ext_seg = false
 
string $context = ""
 
array $mi_sel_buttons = []
 
bool $disable_filter_hiding = false
 
bool $top_commands = true
 
array $selectable_columns = array()
 
array $selected_column = array()
 
bool $show_rows_selector = true
 
bool $rows_selector_off = false
 
bool $nav_determined = false
 
bool $limit_determined = false
 
bool $filters_determined = false
 
bool $columns_determined = false
 
bool $open_form_tag = true
 
bool $close_form_tag = true
 
array $export_formats = []
 
int $export_mode = 0
 
bool $print_mode = false
 
bool $enable_command_for_all = false
 
bool $restore_filter = false
 
array $restore_filter_values = []
 
bool $default_filter_visibility = false
 
array $sortable_fields = array()
 
bool $prevent_double_submission = true
 
string $row_selector_label = ""
 
bool $select_all_on_top = false
 
array $sel_buttons = []
 
string $nav_value = ''
 
string $noentriestext = ''
 
string $css_row = ''
 
bool $display_as_block = false
 
string $description = ''
 
string $id = ""
 
bool $custom_prev_next = false
 
string $reset_cmd_txt = ""
 
string $defaultorderfield = ""
 
string $defaultorderdirection = ""
 
array $column = []
 
bool $datatable = false
 
bool $num_info = false
 
bool $form_multipart = false
 
array $row_data = []
 
string $order_field = ""
 
array $selected_filter = []
 
string $form_action = ""
 
string $formname = ""
 
string $sort_order = ""
 
array $buttons = []
 
array $multi = []
 
array $hidden_inputs = []
 
array $header_commands = []
 
string $row_template = ""
 
string $row_template_dir = ""
 
string $filter_cmd_txt = ""
 
string $custom_prev = ""
 
string $custom_next = ""
 
array $raw_post_data = null
 
ilGlobalTemplateInterface $main_tpl
 
- Protected Attributes inherited from ilTableGUI
string $sort_order
 
string $link_params
 
array $header_params
 
 $tpl
 
ilLanguage $lng
 

Private Member Functions

 renderFilter ()
 Render Filter section. More...
 

Private Attributes

ILIAS DI UIServices $ui
 
string $unique_id = ""
 
string $headerHTML = ""
 

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

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Sascha Hofmann shofm.nosp@m.ann@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Deprecated:
10

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

Constructor & Destructor Documentation

◆ __construct()

ilTable2GUI::__construct ( ?object  $a_parent_obj,
string  $a_parent_cmd = "",
string  $a_template_context = "" 
)
Parameters
object | null$a_parent_objupper GUI class, which calls ilTable2GUI

Definition at line 123 of file class.ilTable2GUI.php.

References $DIC, ilTableGUI\$lng, $unique_id, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), determineLimit(), determineSelectedColumns(), getId(), getRequestedValues(), ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), setContext(), setEnableNumInfo(), setIsDataTable(), and ILIAS\Repository\ui().

127  {
128  global $DIC;
129  $this->main_tpl = $DIC->ui()->mainTemplate();
130  $this->ui = $DIC->ui();
131 
132  $this->lng = $DIC->language();
133  $this->ctrl = $DIC->ctrl();
134  $lng = $DIC->language();
135 
136  if (isset($DIC["http"])) {
137  $this->table_request = new \ILIAS\Table\TableGUIRequest(
138  $DIC->http(),
139  $DIC->refinery()
140  );
141  }
142  $this->getRequestedValues();
143  parent::__construct([], false);
144  $this->unique_id = md5(uniqid('', true));
145  $this->parent_obj = $a_parent_obj;
146  $this->parent_cmd = $a_parent_cmd;
147  $this->buttons = array();
148  $this->header_commands = array();
149  $this->multi = array();
150  $this->hidden_inputs = array();
151  $this->formname = "table_" . $this->unique_id;
152  $this->tpl = new ilTemplate("tpl.table2.html", true, true, "components/ILIAS/Table");
153 
154  $lng->loadLanguageModule('tbl');
155 
156  if (!$a_template_context) {
157  $a_template_context = $this->getId();
158  }
159  $this->setContext($a_template_context);
160 
161  // activate export mode
162  if (isset($this->table_request)) {
163  $this->export_mode = $this->table_request->getExportMode($this->prefix);
164  }
165 
166  $this->determineLimit();
167  $this->setIsDataTable(true);
168  $this->setEnableNumInfo(true);
169  $this->determineSelectedColumns();
170 
171  $this->raw_post_data = [];
172  if (isset($DIC["http"])) {
173  $this->raw_post_data = $DIC->http()->request()->getParsedBody();
174  }
175  }
loadLanguageModule(string $a_module)
Load language module.
ilLanguage $lng
setIsDataTable(bool $a_val)
setContext(string $id)
global $DIC
Definition: shib_login.php:22
setEnableNumInfo(bool $a_val)
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ addColumn()

ilTable2GUI::addColumn ( string  $a_text,
string  $a_sort_field = "",
string  $a_width = "",
bool  $a_is_checkbox_action_column = false,
string  $a_class = "",
string  $a_tooltip = "",
bool  $a_tooltip_with_html = false 
)
final

Definition at line 956 of file class.ilTable2GUI.php.

Referenced by ilDashObjectsTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilECSExportedContentTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilContainerFilterTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilLinksTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilAccessibilityTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilUserForTagTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilContributorTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilModulesTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilForumNotificationTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilContSkillTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ILIAS\Notifications\ilNotificationSettingsTable\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilExGradesTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilContProfileTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilDclRecordListTableGUI\addActionRowIfNeeded(), ilSystemStylesTableGUI\addActions(), ilEmployeeTalkTableGUI\addColumns(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\addColumns(), ilFileSystemTableGUI\addColumns(), ilMStShowUserCoursesTableGUI\addColumns(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\addColumns(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\addColumns(), ilMStListCoursesTableGUI\addColumns(), ilExportTableGUI\addCustomColumn(), ilWikiPagesTableGUI\addLanguageColumn(), ilWikiPagesTableGUI\addTranslationsColumn(), ilSCTreeDuplicatesTableGUI\init(), ilUserClipboardTableGUI\init(), ilLTIProviderReleasedObjectsTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilSCGroupTableGUI\init(), ilUserExportFileTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilTrashTableGUI\init(), ilSCTaskTableGUI\init(), ilLogComponentTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilLOMemberTestResultTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilObjectTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilMatchingQuestionAnswerFreqStatTableGUI\initColumns(), ilKprimChoiceAnswerFreqStatTableGUI\initColumns(), ilTestPersonalDefaultSettingsTableGUI\initColumns(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantPassesOverviewTableGUI\initColumns(), ilMMTopItemTableGUI\initColumns(), ilDashboardSortationTableGUI\initColumns(), ilExportTableGUI\initColumns(), ilCmiXapiLrsTypesTableGUI\initColumns(), ilQuestionUsagesTableGUI\initColumns(), ilBiblTranslationTableGUI\initColumns(), ilLTIConsumerProviderUsageTableGUI\initColumns(), ilQuestionInternalLinkSelectionTableGUI\initColumns(), ilQuestionPoolPrintViewTableGUI\initColumns(), ilImageMapTableGUI\initColumns(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\initColumns(), ilLTIConsumerGradeSynchronizationTableGUI\initColumns(), ilMMItemTranslationTableGUI\initColumns(), ilQuestionCumulatedStatisticsTableGUI\initColumns(), ilCmiXapiStatementsTableGUI\initColumns(), ilRepositoryObjectSearchResultTableGUI\initColumns(), ilLTIConsumerScoringTableGUI\initColumns(), ilCmiXapiScoringTableGUI\initColumns(), ilAssQuestionSkillAssignmentsTableGUI\initColumns(), ilTestSkillLevelThresholdsTableGUI\initColumns(), ilMMSubItemTableGUI\initColumns(), ilTestPassDetailsOverviewTableGUI\initColumns(), ilAnswerFrequencyStatisticTableGUI\initColumns(), ilAssQuestionSkillUsagesTableGUI\initColumns(), ilTestPassOverviewTableGUI\initColumns(), ilOrgUnitPermissionTableGUI\initColumns(), ilLTIConsumerProviderTableGUI\initColumns(), ilObjectRolePermissionTableGUI\initColumns(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilECSServerTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputColumns(), ilForumTopicTableGUI\initTopicsOverviewTable(), and ilExportTableGUI\prepareOutput().

964  : void {
965  $this->column[] = array(
966  "text" => $a_text,
967  "sort_field" => $a_sort_field,
968  "width" => $a_width,
969  "is_checkbox_action_column" => $a_is_checkbox_action_column,
970  "class" => $a_class,
971  "tooltip" => $a_tooltip,
972  "tooltip_html" => $a_tooltip_with_html
973  );
974  if ($a_sort_field != "") {
975  $this->sortable_fields[] = $a_sort_field;
976  }
977  $this->column_count = count($this->column);
978  }
+ Here is the caller graph for this function:

◆ addCommandButton()

ilTable2GUI::addCommandButton ( string  $a_cmd,
string  $a_text,
string  $a_onclick = '',
string  $a_id = "",
string  $a_class = "" 
)

Definition at line 886 of file class.ilTable2GUI.php.

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilModulesTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilDashboardSortationTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilObjStudyProgrammeIndividualPlanGUI\appendIndividualPlanActions(), ilSCTreeDuplicatesTableGUI\init(), ilObjectCopyCourseGroupSelectionTableGUI\init(), ilUserClipboardTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilLogComponentTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilRoleTableGUI\init(), ilImageMapTableGUI\initActions(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), assFileUploadFileTableGUI\initCommand(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilConditionHandlerTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputCommands(), ilLPCollectionSettingsTableGUI\parse(), ilAssignmentsPerParticipantTableGUI\parseData(), ilParticipantsPerAssignmentTableGUI\parseData(), ilObjectTranslation2TableGUI\prepareOutput(), ilInstallationHeadingTableGUI\prepareOutput(), ilMultilingualismTableGUI\prepareOutput(), and ilMediaPoolTableGUI\prepareOutput().

892  : void {
893  $this->buttons[] = array("cmd" => $a_cmd, "text" => $a_text, 'onclick' => $a_onclick,
894  "id" => $a_id, "class" => $a_class);
895  }
+ Here is the caller graph for this function:

◆ addCommandButtonInstance()

ilTable2GUI::addCommandButtonInstance ( ilButtonBase  $a_button)

Definition at line 897 of file class.ilTable2GUI.php.

897  : void
898  {
899  $this->buttons[] = $a_button;
900  }

◆ addFilterItem()

ilTable2GUI::addFilterItem ( ilTableFilterItem  $a_input_item,
bool  $a_optional = false 
)
final

Definition at line 492 of file class.ilTable2GUI.php.

References null, and setFilterValue().

Referenced by ilMMSubItemTableGUI\addAndReadFilterItem(), addFilterItemByMetaType(), ilUserTableGUI\addFilterItemByUdfType(), ilLPTableBaseGUI\initBaseFilter(), ilExerciseSubmissionTableGUI\initCourseGroupFilter(), ilPDNewsTableGUI\initFilter(), ilLTIConsumerGradeSynchronizationTableGUI\initFilter(), ilRoleAssignmentTableGUI\initFilter(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\initFilter(), ilBuddySystemRelationsTableGUI\initFilter(), ilCmiXapiStatementsTableGUI\initFilter(), ilSurveyQuestionblockbrowserTableGUI\initFilter(), ilLPObjectStatisticsTypesTableGUI\initFilter(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\initFilter(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\initFilter(), ilLanguageExtTableGUI\initFilter(), ilSurveyQuestionbrowserTableGUI\initFilter(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\initFilter(), ilMStListCoursesTableGUI\initFilter(), ilMStShowUserCoursesTableGUI\initFilter(), ilSurveyQuestionsTableGUI\initFilter(), ilLPObjectStatisticsTableGUI\initFilter(), ilLPObjectStatisticsDailyTableGUI\initFilter(), ilRegistrationCodesTableGUI\initFilter(), ilRoleTableGUI\initFilter(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilSessionMaterialsTableGUI\initFilter(), ilTrUserObjectsPropsTableGUI\initFilter(), ilMediaPoolTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), ilQuestionBrowserTableGUI\initFilter(), ilUserTableGUI\initFilter(), ilLTIConsumerProviderTableGUI\initFilter(), and ilLPTableBaseGUI\initRepositoryFilter().

495  : void {
496  $a_input_item->setParentTable($this);
497  if (!$a_optional) {
498  $this->filters[] = $a_input_item;
499  } else {
500  $this->optional_filters[] = $a_input_item;
501  }
502 
503  // restore filter values (from stored view)
504  if ($this->restore_filter) {
505  if (array_key_exists($a_input_item->getFieldId(), $this->restore_filter_values ?? [])) {
506  $this->setFilterValue($a_input_item, $this->restore_filter_values[$a_input_item->getFieldId()]);
507  } else {
508  $this->setFilterValue($a_input_item, null); // #14949
509  }
510  }
511  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
setFilterValue(ilTableFilterItem $a_item, $a_value)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addFilterItemByMetaType()

ilTable2GUI::addFilterItemByMetaType ( string  $id,
int  $type = self::FILTER_TEXT,
bool  $a_optional = false,
string  $caption = "" 
)

Add filter by standard type.

Exceptions
Exception

Definition at line 517 of file class.ilTable2GUI.php.

References $DIC, ilTableGUI\$lng, addFilterItem(), ilCombinationInputGUI\COMPARISON_ASCENDING, ilLanguage\getInstalledLanguages(), ilLanguage\loadLanguageModule(), null, and ilLanguage\txt().

Referenced by ilEmployeeTalkTableGUI\__construct(), ilDclMobFieldRepresentation\addFilterInputFieldToTable(), ilDclTextFieldRepresentation\addFilterInputFieldToTable(), ilDclDatetimeFieldRepresentation\addFilterInputFieldToTable(), ilDclBooleanFieldRepresentation\addFilterInputFieldToTable(), ilDclRatingFieldRepresentation\addFilterInputFieldToTable(), ilDclIliasReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclNumberFieldRepresentation\addFilterInputFieldToTable(), ilDclCopyFieldRepresentation\addFilterInputFieldToTable(), ilDclSelectionFieldRepresentation\addFilterInputFieldToTable(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilParticipantTableGUI\initFilter(), ilBookingParticipantsTableGUI\initFilter(), ilMDCopyrightUsageTableGUI\initFilter(), ilSCORMTrackingUsersTableGUI\initFilter(), ilTrashTableGUI\initFilter(), ilBookingObjectsTableGUI\initFilter(), ilObjectRolePermissionTableGUI\initFilter(), ilCourseParticipantsGroupsTableGUI\initFilter(), ilWorkspaceShareTableGUI\initFilter(), ilSessionParticipantsTableGUI\initFilter(), ilExerciseSubmissionTableGUI\initFilter(), ilTrMatrixTableGUI\initFilter(), ilTrObjectUsersPropsTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), and ilStudyProgrammeMembersTableGUI\initFilter().

522  : ?ilTableFilterItem {
523  global $DIC;
524 
525  $lng = $DIC->language(); // constructor may not be called here, if initFilter is being called in subclasses before parent::__construct
526 
527  if (!$caption) {
528  $caption = $lng->txt($id);
529  }
530 
531  switch ($type) {
532  case self::FILTER_CHECKBOX:
533  $item = new ilCheckboxInputGUI($caption, $id);
534  break;
535 
536  case self::FILTER_SELECT:
537  $item = new ilSelectInputGUI($caption, $id);
538  break;
539 
540  case self::FILTER_DATE:
541  $item = new ilDateTimeInputGUI($caption, $id);
542  break;
543 
544  case self::FILTER_TEXT:
545  $item = new ilTextInputGUI($caption, $id);
546  $item->setMaxLength(64);
547  $item->setSize(20);
548  // $item->setSubmitFormOnEnter(true);
549  break;
550 
551  case self::FILTER_LANGUAGE:
552  $lng->loadLanguageModule("meta");
553  $item = new ilSelectInputGUI($caption, $id);
554  $options = array("" => $lng->txt("trac_all"));
555  foreach ($lng->getInstalledLanguages() as $lang_key) {
556  $options[$lang_key] = $lng->txt("meta_l_" . $lang_key);
557  }
558  $item->setOptions($options);
559  break;
560 
561  case self::FILTER_NUMBER_RANGE:
562  $item = new ilCombinationInputGUI($caption, $id);
563  $combi_item = new ilNumberInputGUI("", $id . "_from");
564  $combi_item->setSize(5);
565  $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
566  $combi_item = new ilNumberInputGUI("", $id . "_to");
567  $combi_item->setSize(5);
568  $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
569  $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
570  //$item->setMaxLength(7);
571  //$item->setSize(20);
572  break;
573 
574  case self::FILTER_DATE_RANGE:
575  $item = new ilCombinationInputGUI($caption, $id);
576  $combi_item = new ilDateTimeInputGUI("", $id . "_from");
577  $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
578  $combi_item = new ilDateTimeInputGUI("", $id . "_to");
579  $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
580  $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
581  break;
582 
583  case self::FILTER_DATETIME_RANGE:
584  $item = new ilCombinationInputGUI($caption, $id);
585  $combi_item = new ilDateTimeInputGUI("", $id . "_from");
586  $combi_item->setShowTime(true);
587  $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
588  $combi_item = new ilDateTimeInputGUI("", $id . "_to");
589  $combi_item->setShowTime(true);
590  $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
591  $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
592  break;
593 
594  case self::FILTER_DURATION_RANGE:
595  $lng->loadLanguageModule("form");
596  $item = new ilCombinationInputGUI($caption, $id);
597  $combi_item = new ilDurationInputGUI("", $id . "_from");
598  $combi_item->setShowMonths(false);
599  $combi_item->setShowDays(true);
600  $combi_item->setShowSeconds(true);
601  $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
602  $combi_item = new ilDurationInputGUI("", $id . "_to");
603  $combi_item->setShowMonths(false);
604  $combi_item->setShowDays(true);
605  $combi_item->setShowSeconds(true);
606  $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
607  $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
608  break;
609 
610  default:
611  return null;
612  }
613 
614  $this->addFilterItem($item, $a_optional);
615  $item->readFromSession();
616  return $item;
617  }
This class represents a duration (typical hh:mm:ss) property in a property form.
This class represents a selection list property in a property form.
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
addFilterItem(ilTableFilterItem $a_input_item, bool $a_optional=false)
loadLanguageModule(string $a_module)
Load language module.
ilLanguage $lng
This class represents a date/time property in a property form.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This class represents a number property in a property form.
global $DIC
Definition: shib_login.php:22
getInstalledLanguages()
Get installed languages.
This class represents a number property in a property form.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addHeaderCommand()

ilTable2GUI::addHeaderCommand ( string  $a_href,
string  $a_text,
string  $a_target = "",
string  $a_img = "" 
)

Definition at line 936 of file class.ilTable2GUI.php.

941  : void {
942  $this->header_commands[] = array("href" => $a_href, "text" => $a_text,
943  "target" => $a_target, "img" => $a_img);
944  }

◆ addHiddenInput()

ilTable2GUI::addHiddenInput ( string  $a_name,
string  $a_value 
)

◆ addMultiCommand()

ilTable2GUI::addMultiCommand ( string  $a_cmd,
string  $a_text 
)

Definition at line 926 of file class.ilTable2GUI.php.

Referenced by ilSurveyCodesTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilTestPersonalDefaultSettingsTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilContributorTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilForumNotificationTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilParticipantsPerAssignmentTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilContProfileTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilExportTableGUI\addCustomMultiCommand(), ilStudyProgrammeMembersTableGUI\addMultiCommands(), ilUserClipboardTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilUserExportFileTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilTrashTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilImageMapTableGUI\initActions(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), ilMMItemTranslationTableGUI\initCommands(), ilLTIConsumerProviderTableGUI\initCommands(), ilLearningSequenceParticipantsTableGUI\initForm(), ilExportTableGUI\initMultiCommands(), ilRepositoryUserResultTableGUI\initMultiCommands(), ilConsultationHourBookingTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilForumTopicTableGUI\initTopicsOverviewTable(), ilLPCollectionSettingsTableGUI\parse(), ilObjRoleGUI\permObject(), ilObjectTranslation2TableGUI\prepareOutput(), ilInstallationHeadingTableGUI\prepareOutput(), ilMultilingualismTableGUI\prepareOutput(), and ilMediaPoolTableGUI\prepareOutput().

926  : void
927  {
928  $this->multi[] = array("cmd" => $a_cmd, "text" => $a_text);
929  }
+ Here is the caller graph for this function:

◆ addMultiItemSelectionButton()

ilTable2GUI::addMultiItemSelectionButton ( string  $a_sel_var,
array  $a_options,
string  $a_cmd,
string  $a_text,
string  $a_default_selection = '' 
)
Parameters
string$a_sel_varselection input variable name
array$a_optionsselection options ("value" => text")
string$a_cmdcommand
string$a_textbutton text
string$a_default_selection
Returns
void

Definition at line 910 of file class.ilTable2GUI.php.

References addHiddenInput().

Referenced by ilCourseParticipantsGroupsTableGUI\__construct(), and ilRepositoryUserResultTableGUI\initMultiCommands().

916  : void {
917  $this->mi_sel_buttons[] = array("sel_var" => $a_sel_var, "options" => $a_options, "selected" => $a_default_selection, "cmd" => $a_cmd, "text" => $a_text);
918  $this->addHiddenInput("cmd_sv[" . $a_cmd . "]", $a_sel_var);
919  }
addHiddenInput(string $a_name, string $a_value)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clearCommandButtons()

ilTable2GUI::clearCommandButtons ( )

Definition at line 881 of file class.ilTable2GUI.php.

Referenced by ilObjectCustomUserFieldsTableGUI\parse().

881  : void
882  {
883  $this->buttons = array();
884  }
+ Here is the caller graph for this function:

◆ dataExists()

◆ determineLimit()

ilTable2GUI::determineLimit ( )

Definition at line 207 of file class.ilTable2GUI.php.

References $DIC, ilTableGUI\$limit, ILIAS\Repository\int(), loadProperty(), null, resetOffset(), setLimit(), and storeProperty().

Referenced by ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), __construct(), getCurrentState(), ilSCORMTrackingItemsTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), and ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData().

207  : void
208  {
209  global $DIC;
210 
211  $ilUser = null;
212  if (isset($DIC["ilUser"])) {
213  $ilUser = $DIC["ilUser"];
214  }
215 
216  if ($this->limit_determined) {
217  return;
218  }
219 
220  $limit = 0;
221  if (isset($this->table_request) && !is_null($this->table_request->getRows($this->prefix))) {
222  $this->storeProperty("rows", $this->table_request->getRows($this->prefix));
223  $limit = $this->table_request->getRows($this->prefix) ?? 0;
224  $this->resetOffset();
225  }
226 
227  if ($limit == 0) {
228  $rows = (int) $this->loadProperty("rows");
229  if ($rows > 0) {
230  $limit = $rows;
231  } else {
232  $limit = 40;
233  }
234  }
235 
236  $this->setLimit($limit);
237  $this->limit_determined = true;
238  }
loadProperty(string $type)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
resetOffset(bool $a_in_determination=false)
global $DIC
Definition: shib_login.php:22
setLimit(int $a_limit=0, int $a_default_limit=0)
storeProperty(string $type, string $value)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determineOffsetAndOrder()

ilTable2GUI::determineOffsetAndOrder ( bool  $a_omit_offset = false)

Definition at line 1163 of file class.ilTable2GUI.php.

References $DIC, $requested_nav_par, $requested_nav_par1, $requested_nav_par2, ANONYMOUS_USER_ID, getDefaultOrderDirection(), getDefaultOrderField(), getExternalSegmentation(), getId(), ILIAS\Repository\int(), loadProperty(), null, resetOffset(), ilTableGUI\setOffset(), ilTableGUI\setOrderDirection(), and setOrderField().

Referenced by ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilSessionMaterialsTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilLPTableBaseGUI\executeCommand(), exportData(), getCurrentState(), ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), getHTML(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\getInternalyOrderedDataValues(), ilUserLPTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilUserExportFileTableGUI\init(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerGradeSynchronizationGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilForumTopicTableGUI\initMergeThreadsTable(), ilSCORMTrackingUsersTableGUI\parse(), ilTrashTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilFileSystemTableGUI\prepareOutput(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), and resetOffset().

1163  : void
1164  {
1165  global $DIC;
1166 
1167  $ilUser = null;
1168  if (isset($DIC["ilUser"])) {
1169  $ilUser = $DIC["ilUser"];
1170  }
1171 
1172  if ($this->nav_determined) {
1173  return;
1174  }
1175 
1176  if ($this->requested_nav_par1 != "") {
1177  if ($this->requested_nav_par1 != ($this->requested_nav_par ?? "")) {
1178  $this->nav_value = $this->requested_nav_par1;
1179  } elseif (
1180  $this->requested_nav_par2 != "" &&
1181  $this->requested_nav_par2 != $this->requested_nav_par
1182  ) {
1183  $this->nav_value = $this->requested_nav_par2;
1184  }
1185  } elseif ($this->requested_nav_par != "") {
1186  $this->nav_value = $this->requested_nav_par;
1187  }
1188 
1189  if ($this->nav_value == "" && $this->getId() != "" && $ilUser->getId() != ANONYMOUS_USER_ID) {
1190  $order = $this->loadProperty("order");
1191  if (in_array($order, $this->sortable_fields)) {
1192  $direction = $this->loadProperty("direction");
1193  } else {
1194  $direction = $this->getDefaultOrderDirection();
1195  }
1196  // get order and direction from db
1197  $this->nav_value =
1198  $order . ":" .
1199  $direction . ":" .
1200  $this->loadProperty("offset");
1201  }
1202  $nav = explode(":", $this->nav_value);
1203 
1204  // $nav[0] is order by
1205  $req_order_field = $nav[0] ?? "";
1206  $req_order_dir = $nav[1] ?? "";
1207  $req_offset = (int) ($nav[2] ?? 0);
1208  $this->setOrderField(($req_order_field != "") ? $req_order_field : $this->getDefaultOrderField());
1209  $this->setOrderDirection(($req_order_dir != "") ? $req_order_dir : $this->getDefaultOrderDirection());
1210 
1211  if (!$a_omit_offset) {
1212  // #8904: offset must be discarded when no limit is given
1213  if (!$this->getExternalSegmentation() && $this->limit_determined && $this->limit == 9999) {
1214  $this->resetOffset(true);
1215  } elseif (!$this->getExternalSegmentation() && $req_offset >= $this->max_count) {
1216  $this->resetOffset(true);
1217  } else {
1218  $this->setOffset($req_offset);
1219  }
1220  }
1221 
1222  if (!$a_omit_offset) {
1223  $this->nav_determined = true;
1224  }
1225  }
setOffset(int $a_offset)
set dataset offset
const ANONYMOUS_USER_ID
Definition: constants.php:27
string $requested_nav_par2
loadProperty(string $type)
string $requested_nav_par1
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
resetOffset(bool $a_in_determination=false)
setOrderDirection(string $a_order_direction)
global $DIC
Definition: shib_login.php:22
setOrderField(string $a_order_field)
string $requested_nav_par
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determineSelectedColumns()

ilTable2GUI::determineSelectedColumns ( )

Definition at line 249 of file class.ilTable2GUI.php.

References $c, getId(), getSelectableColumns(), loadProperty(), and storeProperty().

Referenced by __construct(), and getCurrentState().

249  : void
250  {
251  if ($this->columns_determined) {
252  return;
253  }
254 
255  $old_sel = $this->loadProperty("selfields");
256  $sel_fields = [];
257  $stored = false;
258  if ($old_sel != "") {
259  $sel_fields = unserialize((string) $old_sel);
260  $stored = true;
261  }
262  if (!is_array($sel_fields)) {
263  $stored = false;
264  $sel_fields = array();
265  }
266 
267  $this->selected_columns = array();
268  $set = false;
269 
270  $fsh = false;
271  $fs = [];
272  if (isset($this->table_request)) {
273  $fs = $this->table_request->getFS($this->getId());
274  $fsh = $this->table_request->getFSH($this->getId());
275  }
276 
277  foreach ($this->getSelectableColumns() as $k => $c) {
278  $this->selected_column[$k] = false;
279 
280  $new_column = (!isset($sel_fields[$k]));
281 
282  if ($fsh) {
283  $set = true;
284  if (in_array($k, $fs)) {
285  $this->selected_column[$k] = true;
286  }
287  } elseif ($stored && !$new_column) { // take stored values
288  $this->selected_column[$k] = $sel_fields[$k];
289  } else { // take default values
290  if ($new_column) {
291  $set = true;
292  }
293  if (isset($c["default"]) && $c["default"]) {
294  $this->selected_column[$k] = true;
295  }
296  }
297 
298  // Optional filters
299  $ff = [];
300  if (isset($this->table_request)) {
301  $ff = $this->table_request->getFF($this->getId());
302  }
303  if (count($ff) > 0) {
304  $set = true;
305  if (in_array($k, $ff)) {
306  $this->selected_column[$k] = true;
307  }
308  }
309  }
310 
311  if ($old_sel != serialize($this->selected_column) && $set) {
312  $this->storeProperty("selfields", serialize($this->selected_column));
313  }
314 
315  $this->columns_determined = true;
316  }
getSelectableColumns()
Get selectable columns.
loadProperty(string $type)
$c
Definition: deliver.php:25
storeProperty(string $type, string $value)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determineSelectedFilters()

ilTable2GUI::determineSelectedFilters ( )

Definition at line 681 of file class.ilTable2GUI.php.

References getFilterItems(), loadProperty(), null, and storeProperty().

Referenced by ilLPTableBaseGUI\executeCommand(), getCurrentState(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), renderFilter(), and ILIAS\LegalDocuments\Legacy\Table\setupFilter().

681  : void
682  {
683  if ($this->filters_determined) {
684  return;
685  }
686 
687  $old_sel = $this->loadProperty("selfilters");
688  $stored = false;
689  $sel_filters = null;
690  if ($old_sel != "") {
691  $sel_filters =
692  unserialize((string) $old_sel);
693  $stored = true;
694  }
695  if (!is_array($sel_filters)) {
696  $stored = false;
697  $sel_filters = array();
698  }
699 
700  $this->selected_filter = array();
701  $set = false;
702  foreach ($this->getFilterItems(true) as $item) {
703  $k = $item->getPostVar();
704 
705  $this->selected_filter[$k] = false;
706 
707  if ($this->table_request->getFSF($this->getId())) {
708  $set = true;
709  if (in_array($k, $this->table_request->getFF($this->getId()))) {
710  $this->selected_filter[$k] = true;
711  } else {
712  $item->setValue(null);
713  $item->writeToSession();
714  }
715  } elseif ($stored) { // take stored values
716  $this->selected_filter[$k] = $sel_filters[$k] ?? "";
717  }
718  }
719 
720  if ($old_sel != serialize($this->selected_filter) && $set) {
721  $this->storeProperty("selfilters", serialize($this->selected_filter));
722  }
723 
724  $this->filters_determined = true;
725  }
loadProperty(string $type)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getFilterItems(bool $a_optionals=false)
storeProperty(string $type, string $value)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ exportData()

ilTable2GUI::exportData ( int  $format,
bool  $send = false 
)

Export and optionally send current table data.

Definition at line 2445 of file class.ilTable2GUI.php.

References $filename, dataExists(), determineOffsetAndOrder(), exit, fillHeaderCSV(), fillHeaderExcel(), fillMetaCSV(), fillMetaExcel(), fillRowCSV(), fillRowExcel(), getExternalSorting(), ilTableGUI\getOrderDirection(), getOrderField(), ILIAS\UI\examples\Symbol\Glyph\Header\header(), ILIAS\Repository\lng(), numericOrdering(), and ilArrayUtil\sortArray().

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

2445  : void
2446  {
2447  if ($this->dataExists()) {
2448  // #9640: sort
2449  if (!$this->getExternalSorting() && $this->enabled["sort"]) {
2450  $this->determineOffsetAndOrder(true);
2451 
2452  $this->row_data = ilArrayUtil::sortArray(
2453  $this->row_data,
2454  $this->getOrderField(),
2455  $this->getOrderDirection(),
2456  $this->numericOrdering($this->getOrderField())
2457  );
2458  }
2459 
2460  $filename = "export";
2461  switch ($format) {
2462  case self::EXPORT_EXCEL:
2463  $excel = new ilExcel();
2464  $excel->addSheet($this->title
2465  ?: $this->lng->txt("export"));
2466  $row = 1;
2467 
2468  ob_start();
2469  $this->fillMetaExcel($excel, $row); // row must be increment in fillMetaExcel()! (optional method)
2470 
2471  // #14813
2472  $pre = $row;
2473  $this->fillHeaderExcel($excel, $row); // row should NOT be incremented in fillHeaderExcel()! (required method)
2474  if ($pre == $row) {
2475  $row++;
2476  }
2477 
2478  foreach ($this->row_data as $set) {
2479  $this->fillRowExcel($excel, $row, $set);
2480  $row++; // #14760
2481  }
2482  ob_end_clean();
2483 
2484  if ($send) {
2485  $excel->sendToClient($filename);
2486  } else {
2487  $excel->writeToFile($filename);
2488  }
2489  break;
2490 
2491  case self::EXPORT_CSV:
2492  $csv = new ilCSVWriter();
2493  $csv->setSeparator(";");
2494 
2495  ob_start();
2496  $this->fillMetaCSV($csv);
2497  $this->fillHeaderCSV($csv);
2498  foreach ($this->row_data as $set) {
2499  $this->fillRowCSV($csv, $set);
2500  }
2501  ob_end_clean();
2502 
2503  if ($send) {
2504  $filename .= ".csv";
2505  header("Content-type: text/comma-separated-values");
2506  header("Content-Disposition: attachment; filename=\"" . $filename . "\"");
2507  header("Expires: 0");
2508  header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
2509  header("Pragma: public");
2510  echo $csv->getCSVString();
2511  } else {
2512  file_put_contents($filename, $csv->getCSVString());
2513  }
2514  break;
2515  }
2516 
2517  if ($send) {
2518  exit();
2519  }
2520  }
2521  }
numericOrdering(string $a_field)
Should this field be sorted numeric?
fillMetaCSV(ilCSVWriter $a_csv)
Add meta information to csv export.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
fillRowCSV(ilCSVWriter $a_csv, array $a_set)
CSV Version of Fill Row.
fillMetaExcel(ilExcel $a_excel, int &$a_row)
Add meta information to excel export.
fillRowExcel(ilExcel $a_excel, int &$a_row, array $a_set)
Excel Version of Fill Row.
fillHeaderCSV(ilCSVWriter $a_csv)
CSV Version of Fill Header.
$filename
Definition: buildRTE.php:78
fillHeaderExcel(ilExcel $a_excel, int &$a_row)
Excel Version of Fill Header.
header()
expected output: > ILIAS shows the rendered Component.
Definition: header.php:29
exit
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
determineOffsetAndOrder(bool $a_omit_offset=false)
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:

◆ fillActionRow()

ilTable2GUI::fillActionRow ( )

Definition at line 2029 of file class.ilTable2GUI.php.

References ilTableGUI\$lng, $txt, dataExists(), ilLegacyFormElementsUtil\formSelect(), ilUtil\getImagePath(), getTopCommands(), and ilLanguage\txt().

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

2029  : void
2030  {
2031  $lng = $this->lng;
2032 
2033  // action row
2034  $action_row = false;
2035  $arrow = false;
2036  $txt = "";
2037  $cmd = "";
2038 
2039  // add selection buttons
2040  if (count($this->sel_buttons) > 0) {
2041  foreach ($this->sel_buttons as $button) {
2042  $this->tpl->setCurrentBlock("sel_button");
2043  $this->tpl->setVariable(
2044  "SBUTTON_SELECT",
2046  $button["selected"],
2047  $button["sel_var"],
2048  $button["options"],
2049  false,
2050  true
2051  )
2052  );
2053  $this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
2054  $this->tpl->setVariable("SBTN_VALUE", $button["text"]);
2055  $this->tpl->parseCurrentBlock();
2056 
2057  if ($this->getTopCommands()) {
2058  $this->tpl->setCurrentBlock("sel_top_button");
2059  $this->tpl->setVariable(
2060  "SBUTTON_SELECT",
2062  $button["selected"],
2063  $button["sel_var"],
2064  $button["options"],
2065  false,
2066  true
2067  )
2068  );
2069  $this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
2070  $this->tpl->setVariable("SBTN_VALUE", $button["text"]);
2071  $this->tpl->parseCurrentBlock();
2072  }
2073  }
2074  $buttons = true;
2075  $action_row = true;
2076  }
2077  $this->sel_buttons[] = array("options" => [], "cmd" => '', "text" => '');
2078 
2079  // add buttons
2080  if (count($this->buttons) > 0) {
2081  foreach ($this->buttons as $button) {
2082  if (!is_array($button)) {
2083  if ($button instanceof ilButtonBase) {
2084  $this->tpl->setVariable('BUTTON_OBJ', $button->render());
2085 
2086  // this will remove id - should be unique
2087  $button = clone $button;
2088 
2089  $this->tpl->setVariable('BUTTON_TOP_OBJ', $button->render());
2090  }
2091  continue;
2092  }
2093 
2094  if (strlen($button['onclick'])) {
2095  $this->tpl->setCurrentBlock('cmdonclick');
2096  $this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
2097  $this->tpl->parseCurrentBlock();
2098  }
2099  $this->tpl->setCurrentBlock("plain_button");
2100  if ($button["id"] != "") {
2101  $this->tpl->setVariable("PBID", ' id="' . $button["id"] . '" ');
2102  }
2103  if ($button["class"] != "") {
2104  $this->tpl->setVariable("PBBT_CLASS", ' ' . $button["class"]);
2105  }
2106  $this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
2107  $this->tpl->setVariable("PBTN_VALUE", $button["text"]);
2108  $this->tpl->parseCurrentBlock();
2109 
2110  if ($this->getTopCommands()) {
2111  if (strlen($button['onclick'])) {
2112  $this->tpl->setCurrentBlock('top_cmdonclick');
2113  $this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
2114  $this->tpl->parseCurrentBlock();
2115  }
2116  $this->tpl->setCurrentBlock("plain_top_button");
2117  $this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
2118  $this->tpl->setVariable("PBTN_VALUE", $button["text"]);
2119  if ($button["class"] != "") {
2120  $this->tpl->setVariable("PBBT_CLASS", ' ' . $button["class"]);
2121  }
2122  $this->tpl->parseCurrentBlock();
2123  }
2124  }
2125 
2126  $buttons = true;
2127  $action_row = true;
2128  }
2129 
2130  // multi selection
2131  if (count($this->mi_sel_buttons)) {
2132  foreach ($this->mi_sel_buttons as $button) {
2133  $this->tpl->setCurrentBlock("mi_sel_button");
2134  $this->tpl->setVariable(
2135  "MI_BUTTON_SELECT",
2137  $button["selected"],
2138  $button["sel_var"],
2139  $button["options"],
2140  false,
2141  true
2142  )
2143  );
2144  $this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
2145  $this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
2146  $this->tpl->parseCurrentBlock();
2147 
2148  if ($this->getTopCommands()) {
2149  $this->tpl->setCurrentBlock("mi_top_sel_button");
2150  $this->tpl->setVariable(
2151  "MI_BUTTON_SELECT",
2153  $button["selected"],
2154  $button["sel_var"] . "_2",
2155  $button["options"],
2156  false,
2157  true
2158  )
2159  );
2160  $this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
2161  $this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
2162  $this->tpl->parseCurrentBlock();
2163  }
2164  }
2165  $arrow = true;
2166  $action_row = true;
2167  }
2168 
2169 
2170  if (count($this->multi) > 1 && $this->dataExists()) {
2171  if ($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit()) {
2172  $this->tpl->setCurrentBlock("tbl_cmd_select_all");
2173  $this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
2174  $this->tpl->parseCurrentBlock();
2175  }
2176 
2177  $this->tpl->setCurrentBlock("tbl_cmd_select");
2178  $sel = array();
2179  foreach ($this->multi as $mc) {
2180  $sel[$mc["cmd"]] = $mc["text"];
2181  }
2182  $this->tpl->setVariable(
2183  "SELECT_CMDS",
2184  ilLegacyFormElementsUtil::formSelect("", "selected_cmd", $sel, false, true)
2185  );
2186  $this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
2187  $this->tpl->parseCurrentBlock();
2188  $arrow = true;
2189  $action_row = true;
2190 
2191  if ($this->getTopCommands()) {
2192  if ($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit()) {
2193  $this->tpl->setCurrentBlock("tbl_top_cmd_select_all");
2194  $this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
2195  $this->tpl->parseCurrentBlock();
2196  }
2197 
2198  $this->tpl->setCurrentBlock("tbl_top_cmd_select");
2199  $sel = array();
2200  foreach ($this->multi as $mc) {
2201  $sel[$mc["cmd"]] = $mc["text"];
2202  }
2203  $this->tpl->setVariable(
2204  "SELECT_CMDS",
2205  ilLegacyFormElementsUtil::formSelect("", "selected_cmd2", $sel, false, true)
2206  );
2207  $this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
2208  $this->tpl->parseCurrentBlock();
2209  }
2210  } elseif (count($this->multi) == 1 && $this->dataExists()) {
2211  $this->tpl->setCurrentBlock("tbl_single_cmd");
2212  foreach ($this->multi as $mc) {
2213  $cmd = $mc['cmd'];
2214  $txt = $mc['text'];
2215  }
2216  $this->tpl->setVariable("TXT_SINGLE_CMD", $txt);
2217  $this->tpl->setVariable("SINGLE_CMD", $cmd);
2218  $this->tpl->parseCurrentBlock();
2219  $arrow = true;
2220  $action_row = true;
2221 
2222  if ($this->getTopCommands()) {
2223  $this->tpl->setCurrentBlock("tbl_top_single_cmd");
2224  foreach ($this->multi as $mc) {
2225  $cmd = $mc['cmd'];
2226  $txt = $mc['text'];
2227  }
2228  $this->tpl->setVariable("TXT_SINGLE_CMD", $txt);
2229  $this->tpl->setVariable("SINGLE_CMD", $cmd);
2230  $this->tpl->parseCurrentBlock();
2231  }
2232  }
2233 
2234  if ($arrow) {
2235  $this->tpl->setCurrentBlock("tbl_action_img_arrow");
2236  $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("nav/arrow_downright.svg"));
2237  $this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
2238  $this->tpl->parseCurrentBlock();
2239 
2240  if ($this->getTopCommands()) {
2241  $this->tpl->setCurrentBlock("tbl_top_action_img_arrow");
2242  $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("nav/arrow_upright.svg"));
2243  $this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
2244  $this->tpl->parseCurrentBlock();
2245  }
2246  }
2247 
2248  if ($action_row) {
2249  $this->tpl->setCurrentBlock("tbl_action_row");
2250  $this->tpl->parseCurrentBlock();
2251  if ($this->getTopCommands()) {
2252  $this->tpl->setCurrentBlock("tbl_top_action_row");
2253  $this->tpl->parseCurrentBlock();
2254  }
2255  }
2256  }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static formSelect( $selected, string $varname, array $options, bool $multiple=false, bool $direct_text=false, int $size=0, string $style_class="", array $attribs=[], bool $disabled=false)
Builds a select form field with options and shows the selected option first.
ilLanguage $lng
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
$txt
Definition: error.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillFooter()

ilTable2GUI::fillFooter ( )

Definition at line 1726 of file class.ilTable2GUI.php.

References $c, $ctrl, $DIC, ilTableGUI\$limit, ilTableGUI\$lng, ilTableGUI\$max_count, $url, dataExists(), ilTableGUI\getColumnCount(), getDisableFilterHiding(), getDisplayAsBlock(), getEnableNumInfo(), getFormName(), getId(), getLinkbar(), getParentCmd(), getRowSelectorLabel(), getSelectableColumns(), ilTableGUI\getSelectAllCheckbox(), getShowRowsSelector(), isColumnSelected(), ILIAS\Repository\lng(), null, ilLanguage\txt(), and ILIAS\Repository\ui().

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

1726  : void
1727  {
1728  global $DIC;
1729 
1730  $ilUser = null;
1731  if (isset($DIC["ilUser"])) {
1732  $ilUser = $DIC["ilUser"];
1733  }
1734 
1735  $ui_factory = $this->ui->factory();
1736  $ui_renderer = $this->ui->renderer();
1737 
1738  $lng = $this->lng;
1739  $ilCtrl = $this->ctrl;
1740 
1741  $footer = false;
1742  $numinfo = '';
1743  $linkbar = '';
1744  $column_selector = '';
1745 
1746  // select all checkbox
1747  if ((strlen($this->getFormName())) && (strlen($this->getSelectAllCheckbox())) && $this->dataExists()) {
1748  $this->tpl->setCurrentBlock("select_all_checkbox");
1749  $this->tpl->setVariable("SELECT_ALL_TXT_SELECT_ALL", $lng->txt("select_all"));
1750  $this->tpl->setVariable("SELECT_ALL_CHECKBOX_NAME", $this->getSelectAllCheckbox());
1751  $this->tpl->setVariable("SELECT_ALL_FORM_NAME", $this->getFormName());
1752  $this->tpl->setVariable("CHECKBOXNAME", "chb_select_all_" . $this->unique_id);
1753  $this->tpl->parseCurrentBlock();
1754  }
1755 
1756  // table footer numinfo
1757  if ($this->enabled["numinfo"] && $this->enabled["footer"]) {
1758  $start = $this->offset + 1; // compute num info
1759  if (!$this->dataExists()) {
1760  $start = 0;
1761  }
1762  $end = $this->offset + $this->limit;
1763 
1764  if ($end > $this->max_count or $this->limit == 0) {
1765  $end = $this->max_count;
1766  }
1767 
1768  if ($this->max_count > 0) {
1769  if ($this->lang_support) {
1770  $numinfo = "(" . $start . " - " . $end . " " . strtolower($this->lng->txt("of")) . " " . $this->max_count . ")";
1771  } else {
1772  $numinfo = "(" . $start . " - " . $end . " of " . $this->max_count . ")";
1773  }
1774  }
1775  if ($this->max_count > 0) {
1776  if ($this->getEnableNumInfo()) {
1777  $this->tpl->setCurrentBlock("tbl_footer_numinfo");
1778  $this->tpl->setVariable("NUMINFO", $numinfo);
1779  $this->tpl->parseCurrentBlock();
1780  }
1781  }
1782  $footer = true;
1783  }
1784 
1785  // table footer linkbar
1786  if ($this->enabled["linkbar"] && $this->enabled["footer"] && $this->limit != 0
1787  && $this->max_count > 0) {
1788  $linkbar = $this->getLinkbar("1");
1789  $this->tpl->setCurrentBlock("tbl_footer_linkbar");
1790  $this->tpl->setVariable("LINKBAR", $linkbar);
1791  $this->tpl->parseCurrentBlock();
1792  $linkbar = true;
1793  $footer = true;
1794  }
1795 
1796  // column selector
1797  if (is_array($this->getSelectableColumns()) && count($this->getSelectableColumns()) > 0) {
1798  $items = array();
1799  foreach ($this->getSelectableColumns() as $k => $c) {
1800  $items[$k] = array("txt" => $c["txt"],
1801  "selected" => $this->isColumnSelected($k));
1802  }
1803  $cb_over = new ilCheckboxListOverlayGUI("tbl_" . $this->getId());
1804  $cb_over->setLinkTitle($lng->txt("columns"));
1805  $cb_over->setItems($items);
1806  //$cb_over->setUrl("./ilias.php?baseClass=ilTablePropertiesStorage&table_id=".
1807  // $this->getId()."&cmd=saveSelectedFields&user_id=".$ilUser->getId());
1808  $cb_over->setFormCmd($this->getParentCmd());
1809  $cb_over->setFieldVar("tblfs" . $this->getId());
1810  $cb_over->setHiddenVar("tblfsh" . $this->getId());
1811  $cb_over->setSelectionHeaderClass("ilTableMenuItem");
1812  $column_selector = $cb_over->getHTML();
1813  $footer = true;
1814  }
1815 
1816  if ($footer) {
1817  $this->tpl->setCurrentBlock("tbl_footer");
1818  $this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
1819  if ($this->getDisplayAsBlock()) {
1820  $this->tpl->setVariable("BLK_CLASS", "Block");
1821  }
1822  $this->tpl->parseCurrentBlock();
1823 
1824  // top navigation, if number info or linkbar given
1825  if ($numinfo != "" || $linkbar != "" || $column_selector != "" ||
1826  count($this->filters) > 0 || count($this->optional_filters) > 0) {
1827  if (is_object($ilUser) && (count($this->filters) || count($this->optional_filters))) {
1828  $this->tpl->setCurrentBlock("filter_activation");
1829  $this->tpl->setVariable("TXT_ACTIVATE_FILTER", $lng->txt("show_filter"));
1830  $this->tpl->setVariable("FILA_ID", $this->getId());
1831  if ($this->getId() != "") {
1832  $this->tpl->setVariable("SAVE_URLA", "./ilias.php?baseClass=ilTablePropertiesStorageGUI&table_id=" .
1833  $this->getId() . "&cmd=showFilter&user_id=" . $ilUser->getId());
1834  }
1835  $this->tpl->parseCurrentBlock();
1836 
1837 
1838  if (!$this->getDisableFilterHiding()) {
1839  $this->tpl->setCurrentBlock("filter_deactivation");
1840  $this->tpl->setVariable("TXT_HIDE", $lng->txt("hide_filter"));
1841  if ($this->getId() != "") {
1842  $this->tpl->setVariable("SAVE_URL", "./ilias.php?baseClass=ilTablePropertiesStorageGUI&table_id=" .
1843  $this->getId() . "&cmd=hideFilter&user_id=" . $ilUser->getId());
1844  $this->tpl->setVariable("FILD_ID", $this->getId());
1845  }
1846  $this->tpl->parseCurrentBlock();
1847  }
1848  }
1849 
1850  if ($numinfo != "" && $this->getEnableNumInfo()) {
1851  $this->tpl->setCurrentBlock("top_numinfo");
1852  $this->tpl->setVariable("NUMINFO", $numinfo);
1853  $this->tpl->parseCurrentBlock();
1854  }
1855  if ($linkbar != "" && !$this->getDisplayAsBlock()) {
1856  $linkbar = $this->getLinkbar("2");
1857  $this->tpl->setCurrentBlock("top_linkbar");
1858  $this->tpl->setVariable("LINKBAR", $linkbar);
1859  $this->tpl->parseCurrentBlock();
1860  }
1861 
1862  // column selector
1863  $this->tpl->setVariable("COLUMN_SELECTOR", $column_selector);
1864 
1865  // row selector
1866  if ($this->getShowRowsSelector() &&
1867  is_object($ilUser) &&
1868  $this->getId() &&
1869  !$this->rows_selector_off) { // JF, 2014-10-27
1870  $actions = [];
1871 
1872  $options = array(5 => 5, 10 => 10, 15 => 15, 20 => 20,
1873  30 => 30, 40 => 40, 50 => 50,
1874  100 => 100, 200 => 200, 400 => 400, 800 => 800);
1875  foreach ($options as $k => $v) {
1876  $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_trows", $k);
1877  $actions[] = $ui_factory->link()->standard(
1878  $v,
1879  $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd)
1880  );
1881  $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_trows", "");
1882  }
1883  $dd = $ui_factory->dropdown()->standard($actions)->withLabel(
1884  $this->getRowSelectorLabel() ?: $lng->txt("rows")
1885  );
1886  $this->tpl->setVariable("ROW_SELECTOR", $ui_renderer->render($dd));
1887  }
1888 
1889  // export
1890  if (count($this->export_formats) > 0 && $this->dataExists()) {
1891  $actions = [];
1892  foreach ($this->export_formats as $format => $caption_lng_id) {
1893  $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_xpt", $format);
1894  $url = $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd);
1895  $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_xpt", "");
1896  $actions[] = $ui_factory->link()->standard(
1897  $lng->txt($caption_lng_id),
1898  $url
1899  );
1900  }
1901  $dd = $ui_factory->dropdown()->standard($actions)->withLabel($lng->txt("export"));
1902  $this->tpl->setVariable("EXPORT_SELECTOR", "&nbsp;" . $ui_renderer->render($dd));
1903  }
1904 
1905  $this->tpl->setCurrentBlock("top_navigation");
1906  $this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
1907  if ($this->getDisplayAsBlock()) {
1908  $this->tpl->setVariable("BLK_CLASS", "Block");
1909  }
1910  $this->tpl->parseCurrentBlock();
1911  }
1912  }
1913  }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
getSelectableColumns()
Get selectable columns.
$url
Definition: shib_logout.php:66
$c
Definition: deliver.php:25
ilLanguage $lng
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
isColumnSelected(string $col)
global $DIC
Definition: shib_login.php:22
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getLinkbar(string $a_num)
getSelectAllCheckbox()
get the name of the checkbox that should be toggled with a select all button
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillHeader()

ilTable2GUI::fillHeader ( )

Definition at line 1017 of file class.ilTable2GUI.php.

References ilTableGUI\$lng, $sort_order, getFormName(), getId(), ilUtil\getImagePath(), ilTableGUI\getSelectAllCheckbox(), ilUtil\img(), ILIAS\Repository\lng(), setOrderLink(), and ilLanguage\txt().

Referenced by render().

1017  : void
1018  {
1019  $lng = $this->lng;
1020 
1021  $allcolumnswithwidth = true;
1022  foreach ($this->column as $idx => $column) {
1023  if (!strlen($column["width"])) {
1024  $allcolumnswithwidth = false;
1025  } elseif ($column["width"] == "1") {
1026  // IE does not like 1 but seems to work with 1%
1027  $this->column[$idx]["width"] = "1%";
1028  }
1029  }
1030  if ($allcolumnswithwidth) {
1031  foreach ($this->column as $column) {
1032  $this->tpl->setCurrentBlock("tbl_colgroup_column");
1033  $width = (is_numeric($column["width"]))
1034  ? $column["width"] . "px"
1035  : $column["width"];
1036  $this->tpl->setVariable("COLGROUP_COLUMN_WIDTH", " style=\"width:" . $width . "\"");
1037  $this->tpl->parseCurrentBlock();
1038  }
1039  }
1040  $ccnt = 0;
1041  foreach ($this->column as $column) {
1042  $ccnt++;
1043 
1044  if ($column['is_checkbox_action_column'] && $this->select_all_on_top) {
1045  $this->tpl->setCurrentBlock('tbl_header_top_select_all');
1046  $this->tpl->setVariable("HEAD_SELECT_ALL_TXT_SELECT_ALL", $lng->txt("select_all"));
1047  $this->tpl->setVariable("HEAD_SELECT_ALL_CHECKBOX_NAME", $this->getSelectAllCheckbox());
1048  $this->tpl->setVariable("HEAD_SELECT_ALL_FORM_NAME", $this->getFormName());
1049  $this->tpl->setVariable("HEAD_CHECKBOXNAME", "chb_select_all_" . $this->unique_id . '_top');
1050  $this->tpl->parseCurrentBlock();
1051  continue;
1052  }
1053 
1054  if ($column['is_checkbox_action_column'] && !$this->select_all_on_top) {
1055  $this->tpl->setCurrentBlock('tbl_header_top_select_column');
1056  if ($column["width"] != "") {
1057  $width = (is_numeric($column["width"]))
1058  ? $column["width"] . "px"
1059  : $column["width"];
1060  $this->tpl->setVariable("TBL_COLUMN_WIDTH", " style=\"width:" . $width . "\"");
1061  }
1062  $this->tpl->parseCurrentBlock();
1063  continue;
1064  }
1065 
1066  if (
1067  !$this->enabled["sort"] ||
1068  (($column["sort_field"] == "") &&
1069  !($column["is_checkbox_action_column"] && $this->select_all_on_top))
1070  ) {
1071  $this->tpl->setCurrentBlock("tbl_header_no_link");
1072  if ($column["width"] != "") {
1073  $width = (is_numeric($column["width"]))
1074  ? $column["width"] . "px"
1075  : $column["width"];
1076  $this->tpl->setVariable("TBL_COLUMN_WIDTH_NO_LINK", " style=\"width:" . $width . "\"");
1077  }
1078  if ($column["class"] != "") {
1079  $this->tpl->setVariable("TBL_COLUMN_CLASS_NO_LINK", " class=\"" . $column["class"] . "\"");
1080  }
1081  if (!$column["is_checkbox_action_column"]) {
1082  $this->tpl->setVariable(
1083  "TBL_HEADER_CELL_NO_LINK",
1084  $column["text"]
1085  );
1086  } else {
1087  $this->tpl->setVariable(
1088  "TBL_HEADER_CELL_NO_LINK",
1089  ilUtil::img(ilUtil::getImagePath("media/spacer.png"), $lng->txt("action"))
1090  );
1091  }
1092  $this->tpl->setVariable("HEAD_CELL_NL_ID", "thc_" . $this->getId() . "_" . $ccnt);
1093  if ($column["class"] != "") {
1094  $this->tpl->setVariable("TBL_HEADER_CLASS", " " . $column["class"]);
1095  }
1096  $this->tpl->parseCurrentBlock();
1097  $this->tpl->touchBlock("tbl_header_th");
1098  continue;
1099  }
1100  if (($column["sort_field"] == $this->order_field) && ($this->order_direction != "")) {
1101  $this->tpl->setCurrentBlock("tbl_order_image");
1102  if ($this->order_direction === "asc") {
1103  $this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-up");
1104  $this->tpl->setVariable("ORDER_TXT", $this->lng->txt("sorting_asc"));
1105  } else {
1106  $this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-down");
1107  $this->tpl->setVariable("ORDER_TXT", $this->lng->txt("sorting_desc"));
1108  }
1109  $this->tpl->setVariable("IMG_ORDER_ALT", $this->lng->txt("change_sort_direction"));
1110  $this->tpl->parseCurrentBlock();
1111  }
1112 
1113  $this->tpl->setCurrentBlock("tbl_header_cell");
1114  $this->tpl->setVariable("TBL_HEADER_CELL", $column["text"]);
1115  $this->tpl->setVariable("HEAD_CELL_ID", "thc_" . $this->getId() . "_" . $ccnt);
1116 
1117  // only set width if a value is given for that column
1118  if ($column["width"] != "") {
1119  $width = (is_numeric($column["width"]))
1120  ? $column["width"] . "px"
1121  : $column["width"];
1122  $this->tpl->setVariable("TBL_COLUMN_WIDTH", " style=\"width:" . $width . "\"");
1123  }
1124  if ($column["class"] != "") {
1125  $this->tpl->setVariable("TBL_COLUMN_CLASS", " class=\"" . $column["class"] . "\"");
1126  }
1127 
1128  $lng_sort_column = $this->lng->txt("sort_by_this_column");
1129  $this->tpl->setVariable("TBL_ORDER_ALT", $lng_sort_column);
1130 
1131  $order_dir = "asc";
1132 
1133  if ($column["sort_field"] == $this->order_field) {
1134  $order_dir = $this->sort_order;
1135 
1136  if ($order_dir === "asc") {
1137  $lng_change_sort = $this->lng->txt("sort_ascending_long");
1138  } else {
1139  $lng_change_sort = $this->lng->txt("sort_descending_long");
1140  }
1141  $this->tpl->setVariable("TBL_ORDER_ALT", $lng_change_sort);
1142  }
1143 
1144  if ($column["class"] != "") {
1145  $this->tpl->setVariable("TBL_HEADER_CLASS", " " . $column["class"]);
1146  }
1147  $this->setOrderLink($column["sort_field"], $order_dir);
1148  $this->tpl->parseCurrentBlock();
1149  $this->tpl->touchBlock("tbl_header_th");
1150  }
1151 
1152  $this->tpl->setCurrentBlock("tbl_header");
1153  $this->tpl->parseCurrentBlock();
1154  }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
setOrderLink(string $key, string $order_dir)
static img(string $a_src, ?string $a_alt=null, $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.
ilLanguage $lng
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
getSelectAllCheckbox()
get the name of the checkbox that should be toggled with a select all button
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillHeaderCSV()

ilTable2GUI::fillHeaderCSV ( ilCSVWriter  $a_csv)
protected

CSV Version of Fill Header.

Likely to be overwritten by derived class.

Parameters
ilCSVWriter$a_csvcurrent file

Definition at line 2583 of file class.ilTable2GUI.php.

References ilTableGUI\$title, ilCSVWriter\addColumn(), and ilCSVWriter\addRow().

Referenced by exportData().

2583  : void
2584  {
2585  foreach ($this->column as $column) {
2586  $title = strip_tags($column["text"]);
2587  if ($title) {
2588  $a_csv->addColumn($title);
2589  }
2590  }
2591  $a_csv->addRow();
2592  }
addColumn(string $a_col)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillHeaderExcel()

ilTable2GUI::fillHeaderExcel ( ilExcel  $a_excel,
int &  $a_row 
)
protected

Excel Version of Fill Header.

Likely to be overwritten by derived class.

Parameters
ilExcel$a_excelexcel wrapper
int$a_rowrow counter

Definition at line 2539 of file class.ilTable2GUI.php.

References ilTableGUI\$title, ilExcel\getColumnCoord(), ilExcel\setBold(), and ilExcel\setCell().

Referenced by exportData().

2539  : void
2540  {
2541  $col = 0;
2542  foreach ($this->column as $column) {
2543  $title = strip_tags($column["text"]);
2544  if ($title) {
2545  $a_excel->setCell($a_row, $col++, $title);
2546  }
2547  }
2548  $a_excel->setBold("A" . $a_row . ":" . $a_excel->getColumnCoord($col - 1) . $a_row);
2549  }
getColumnCoord(int $a_col)
Get column "name" from number.
setCell(int $a_row, int $col, $value, ?string $datatype=null, bool $disable_strip_tags_for_strings=false)
Set cell value.
setBold(string $a_coords)
Set cell(s) to bold.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillHiddenRow()

ilTable2GUI::fillHiddenRow ( )

Definition at line 2013 of file class.ilTable2GUI.php.

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

2013  : void
2014  {
2015  $hidden_row = false;
2016  if (count($this->hidden_inputs)) {
2017  foreach ($this->hidden_inputs as $hidden_input) {
2018  $this->tpl->setCurrentBlock("tbl_hidden_field");
2019  $this->tpl->setVariable("FIELD_NAME", $hidden_input["name"]);
2020  $this->tpl->setVariable("FIELD_VALUE", $hidden_input["value"]);
2021  $this->tpl->parseCurrentBlock();
2022  }
2023 
2024  $this->tpl->setCurrentBlock("tbl_hidden_row");
2025  $this->tpl->parseCurrentBlock();
2026  }
2027  }
+ Here is the caller graph for this function:

◆ fillMetaCSV()

ilTable2GUI::fillMetaCSV ( ilCSVWriter  $a_csv)
protected

Add meta information to csv export.

Likely to be overwritten by derived class.

Parameters
ilCSVWriter$a_csvcurrent file

Definition at line 2574 of file class.ilTable2GUI.php.

Referenced by exportData().

2574  : void
2575  {
2576  }
+ Here is the caller graph for this function:

◆ fillMetaExcel()

ilTable2GUI::fillMetaExcel ( ilExcel  $a_excel,
int &  $a_row 
)
protected

Add meta information to excel export.

Likely to be overwritten by derived class.

Parameters
ilExcel$a_excelexcel wrapper
int$a_rowrow counter

Definition at line 2529 of file class.ilTable2GUI.php.

Referenced by exportData().

2529  : void
2530  {
2531  }
+ Here is the caller graph for this function:

◆ fillRow()

ilTable2GUI::fillRow ( array  $a_set)
protected

Standard Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
array<string,mixed>$a_set data array

Definition at line 1719 of file class.ilTable2GUI.php.

Referenced by ilObjLearningSequenceContentTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilDclRecordListTableGUI\buildData(), getHTML(), ilQuestionUsagesTableGUI\initColumns(), ilMMSubItemTableGUI\initColumns(), ilForumTopicTableGUI\initMergeThreadsTable(), and ilMMItemTranslationTableGUI\parseData().

1719  : void
1720  {
1721  foreach ($a_set as $key => $value) {
1722  $this->tpl->setVariable("VAL_" . strtoupper($key), $value);
1723  }
1724  }
+ Here is the caller graph for this function:

◆ fillRowCSV()

ilTable2GUI::fillRowCSV ( ilCSVWriter  $a_csv,
array  $a_set 
)
protected

CSV Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
ilCSVWriter$a_csvcurrent file
array$a_setdata array

Definition at line 2600 of file class.ilTable2GUI.php.

References ilCSVWriter\addColumn(), and ilCSVWriter\addRow().

Referenced by exportData().

2600  : void
2601  {
2602  foreach ($a_set as $key => $value) {
2603  if (is_array($value)) {
2604  $value = implode(', ', $value);
2605  }
2606  $a_csv->addColumn(strip_tags($value));
2607  }
2608  $a_csv->addRow();
2609  }
addColumn(string $a_col)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillRowExcel()

ilTable2GUI::fillRowExcel ( ilExcel  $a_excel,
int &  $a_row,
array  $a_set 
)
protected

Excel Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
ilExcel$a_excelexcel wrapper
int$a_rowrow counter
array$a_setdata array

Definition at line 2558 of file class.ilTable2GUI.php.

References ilExcel\setCell().

Referenced by exportData().

2558  : void
2559  {
2560  $col = 0;
2561  foreach ($a_set as $value) {
2562  if (is_array($value)) {
2563  $value = implode(', ', $value);
2564  }
2565  $a_excel->setCell($a_row, $col++, $value);
2566  }
2567  }
setCell(int $a_row, int $col, $value, ?string $datatype=null, bool $disable_strip_tags_for_strings=false)
Set cell value.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAllCommandLimit()

static ilTable2GUI::getAllCommandLimit ( )
static

Definition at line 2616 of file class.ilTable2GUI.php.

References $DIC, and ilTableGUI\$limit.

2616  : int
2617  {
2618  global $DIC;
2619 
2620  $ilClientIniFile = $DIC["ilClientIniFile"];
2621 
2622  $limit = $ilClientIniFile->readVariable("system", "TABLE_ACTION_ALL_LIMIT");
2623  if (!$limit) {
2624  $limit = self::ACTION_ALL_LIMIT;
2625  }
2626 
2627  return $limit;
2628  }
global $DIC
Definition: shib_login.php:22

◆ getCloseFormTag()

ilTable2GUI::getCloseFormTag ( )

Definition at line 202 of file class.ilTable2GUI.php.

References $close_form_tag.

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

202  : bool
203  {
204  return $this->close_form_tag;
205  }
+ Here is the caller graph for this function:

◆ getContext()

ilTable2GUI::getContext ( )

Definition at line 2375 of file class.ilTable2GUI.php.

References $context.

2375  : string
2376  {
2377  return $this->context;
2378  }

◆ getCurrentState()

ilTable2GUI::getCurrentState ( )

get current settings for order, limit, columns and filter

Definition at line 2299 of file class.ilTable2GUI.php.

References $selected_column, determineLimit(), determineOffsetAndOrder(), determineSelectedColumns(), determineSelectedFilters(), getFilterValue(), getLimit(), getOffset(), ilTableGUI\getOrderDirection(), getOrderField(), and getSelectedFilters().

Referenced by ilStudyProgrammeMembersTableGUI\getFilterValues(), and ilEmployeeTalkTableGUI\setTalkData().

2299  : array
2300  {
2301  $this->determineOffsetAndOrder();
2302  $this->determineLimit();
2303  $this->determineSelectedColumns();
2304  $this->determineSelectedFilters();
2305 
2306  // "filter" show/hide is not saved
2307 
2308  $result = array();
2309  $result["order"] = $this->getOrderField();
2310  $result["direction"] = $this->getOrderDirection();
2311  $result["offset"] = $this->getOffset();
2312  $result["rows"] = $this->getLimit();
2313  $result["selfilters"] = $this->getSelectedFilters();
2314 
2315  // #9514 - $this->getSelectedColumns() will omit deselected, leading to
2316  // confusion on restoring template
2317  $result["selfields"] = $this->selected_column;
2318 
2319  // gather filter values
2320  if ($this->filters) {
2321  foreach ($this->filters as $item) {
2322  $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2323  }
2324  }
2325  if ($this->optional_filters && $result["selfilters"]) {
2326  foreach ($this->optional_filters as $item) {
2327  if (in_array($item->getFieldId(), $result["selfilters"])) {
2328  $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2329  }
2330  }
2331  }
2332 
2333  return $result;
2334  }
getFilterValue(ilTableFilterItem $a_item)
Get current filter value.
determineOffsetAndOrder(bool $a_omit_offset=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getData()

◆ getDefaultFilterVisibility()

ilTable2GUI::getDefaultFilterVisibility ( )

Definition at line 876 of file class.ilTable2GUI.php.

References $default_filter_visibility.

Referenced by isFilterVisible().

876  : bool
877  {
879  }
bool $default_filter_visibility
+ Here is the caller graph for this function:

◆ getDefaultOrderDirection()

ilTable2GUI::getDefaultOrderDirection ( )

Definition at line 866 of file class.ilTable2GUI.php.

References $defaultorderdirection.

Referenced by determineOffsetAndOrder(), and ilStudyProgrammeMembersTableGUI\getOrdering().

866  : string
867  {
869  }
string $defaultorderdirection
+ Here is the caller graph for this function:

◆ getDefaultOrderField()

ilTable2GUI::getDefaultOrderField ( )

Definition at line 855 of file class.ilTable2GUI.php.

References $defaultorderfield.

Referenced by determineOffsetAndOrder(), ilRegistrationCodesTableGUI\getItems(), and ilStudyProgrammeMembersTableGUI\getOrdering().

855  : string
856  {
858  }
string $defaultorderfield
+ Here is the caller graph for this function:

◆ getDescription()

ilTable2GUI::getDescription ( )

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

References $description.

Referenced by render().

451  : string
452  {
453  return $this->description;
454  }
+ Here is the caller graph for this function:

◆ getDisableFilterHiding()

ilTable2GUI::getDisableFilterHiding ( )

Definition at line 657 of file class.ilTable2GUI.php.

References $disable_filter_hiding.

Referenced by fillFooter(), and renderFilter().

657  : bool
658  {
660  }
bool $disable_filter_hiding
+ Here is the caller graph for this function:

◆ getDisplayAsBlock()

ilTable2GUI::getDisplayAsBlock ( )

Definition at line 780 of file class.ilTable2GUI.php.

References $display_as_block.

Referenced by fillFooter(), getLinkbar(), and render().

780  : bool
781  {
783  }
+ Here is the caller graph for this function:

◆ getEnableHeader()

ilTable2GUI::getEnableHeader ( )

Definition at line 423 of file class.ilTable2GUI.php.

423  : bool
424  {
425  return $this->enabled["header"];
426  }

◆ getEnableNumInfo()

ilTable2GUI::getEnableNumInfo ( )

Definition at line 433 of file class.ilTable2GUI.php.

References $num_info.

Referenced by fillFooter().

433  : bool
434  {
435  return $this->num_info;
436  }
+ Here is the caller graph for this function:

◆ getEnableTitle()

ilTable2GUI::getEnableTitle ( )

Definition at line 413 of file class.ilTable2GUI.php.

413  : bool
414  {
415  return $this->enabled["title"];
416  }

◆ getExportMode()

◆ getExternalSegmentation()

◆ getExternalSorting()

ilTable2GUI::getExternalSorting ( )

◆ getFilterCols()

ilTable2GUI::getFilterCols ( )

Definition at line 647 of file class.ilTable2GUI.php.

References $filter_cols.

Referenced by renderFilter().

647  : int
648  {
649  return $this->filter_cols;
650  }
+ Here is the caller graph for this function:

◆ getFilterCommand()

ilTable2GUI::getFilterCommand ( )

Definition at line 811 of file class.ilTable2GUI.php.

References $filter_cmd.

811  : string
812  {
813  return $this->filter_cmd;
814  }

◆ getFilterItemByPostVar()

ilTable2GUI::getFilterItemByPostVar ( string  $a_post_var)
final

Definition at line 627 of file class.ilTable2GUI.php.

References getFilterItems(), and null.

Referenced by ilLanguageExtTableGUI\__construct(), ilLPTableBaseGUI\executeCommand(), ilLPTableBaseGUI\getCurrentFilter(), ilMediaPoolTableGUI\getInsertCommand(), getSelectedColumns(), ilLTIConsumerGradeSynchronizationGUI\initActivityProgressFilter(), ilCmiXapiStatementsGUI\initActorFilter(), ilLTIConsumerGradeSynchronizationGUI\initActorFilter(), ilLTIConsumerXapiStatementsGUI\initActorFilter(), ilObjectRolePermissionTableGUI\initColumns(), ilLTIConsumerGradeSynchronizationGUI\initGradingProgressFilter(), ilCmiXapiStatementsGUI\initPeriodFilter(), ilLTIConsumerXapiStatementsGUI\initPeriodFilter(), ilLTIConsumerGradeSynchronizationGUI\initPeriodFilter(), ilCmiXapiStatementsGUI\initVerbFilter(), and ilLTIConsumerXapiStatementsGUI\initVerbFilter().

628  {
629  foreach ($this->getFilterItems() as $item) {
630  if ($item->getPostVar() == $a_post_var) {
631  return $item;
632  }
633  }
634  foreach ($this->getFilterItems(true) as $item) {
635  if ($item->getPostVar() == $a_post_var) {
636  return $item;
637  }
638  }
639  return null;
640  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getFilterItems(bool $a_optionals=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFilterItems()

ilTable2GUI::getFilterItems ( bool  $a_optionals = false)
final

◆ getFilterValue()

ilTable2GUI::getFilterValue ( ilTableFilterItem  $a_item)
protected

Get current filter value.

Returns
mixed

Definition at line 2340 of file class.ilTable2GUI.php.

References IL_CAL_DATE.

Referenced by getCurrentState(), and ilStudyProgrammeMembersTableGUI\getFilterValues().

2341  {
2342  if (method_exists($a_item, "getChecked")) {
2343  return (string) $a_item->getChecked();
2344  } elseif (method_exists($a_item, "getValue")) {
2345  return $a_item->getValue() ?: "";
2346  } elseif (method_exists($a_item, "getDate")) {
2347  return $a_item->getDate()?->get(IL_CAL_DATE) ?? "";
2348  }
2349  return "";
2350  }
const IL_CAL_DATE
+ Here is the caller graph for this function:

◆ getFormAction()

ilTable2GUI::getFormAction ( )
final

◆ getFormName()

◆ getHTML()

ilTable2GUI::getHTML ( )

Get HTML.

Definition at line 1244 of file class.ilTable2GUI.php.

References $ctrl, ilTableGUI\$data, $DIC, ilTableGUI\$lng, dataExists(), determineOffsetAndOrder(), exportData(), fillActionRow(), fillFooter(), fillHiddenRow(), fillRow(), getCloseFormTag(), getData(), getExportMode(), getExternalSegmentation(), getExternalSorting(), getFormAction(), getFormName(), getId(), getLimit(), getNavParameter(), getNoEntriesText(), getOffset(), getOpenFormTag(), ilTableGUI\getOrderDirection(), getOrderField(), getParentObject(), getPreventDoubleSubmission(), getPrintMode(), ILIAS\Repository\lng(), null, numericOrdering(), prepareOutput(), render(), ilTableGUI\setFooter(), ilTableGUI\setMaxCount(), ilDatePresentation\setUseRelativeDates(), ilArrayUtil\sortArray(), storeNavParameter(), and ilLanguage\txt().

1244  : string
1245  {
1246  global $DIC;
1247 
1248  $ilUser = null;
1249  if (isset($DIC["ilUser"])) {
1250  $ilUser = $DIC["ilUser"];
1251  }
1252 
1253  $lng = $this->lng;
1254  $ilCtrl = $this->ctrl;
1255 
1256 
1257  if ($this->getExportMode() > 0) {
1258  $this->exportData($this->getExportMode(), true);
1259  }
1260 
1261  $this->prepareOutput();
1262 
1263  if (is_object($ilCtrl) && is_object($this->getParentObject()) && $this->getId() == "") {
1264  $ilCtrl->saveParameter($this->getParentObject(), $this->getNavParameter());
1265  }
1266 
1267  if (!$this->getPrintMode()) {
1268  // set form action
1269  if ($this->form_action != "" && $this->getOpenFormTag()) {
1270  $hash = "";
1271 
1272  if ($this->form_multipart) {
1273  $this->tpl->touchBlock("form_multipart_bl");
1274  }
1275 
1276  if ($this->getPreventDoubleSubmission()) {
1277  $this->tpl->touchBlock("pdfs");
1278  }
1279 
1280  $this->tpl->setCurrentBlock("tbl_form_header");
1281  $this->tpl->setVariable("FORMACTION", $this->getFormAction() . $hash);
1282  $this->tpl->setVariable("FORMNAME", $this->getFormName());
1283  $this->tpl->parseCurrentBlock();
1284  }
1285 
1286  if ($this->form_action != "" && $this->getCloseFormTag()) {
1287  $this->tpl->touchBlock("tbl_form_footer");
1288  }
1289  }
1290 
1291  if (!$this->enabled['content']) {
1292  return $this->render();
1293  }
1294 
1295  if (!$this->getExternalSegmentation()) {
1296  $this->setMaxCount(count($this->row_data));
1297  }
1298 
1299  $this->determineOffsetAndOrder();
1300 
1301  $this->setFooter("tblfooter", $this->lng->txt("previous"), $this->lng->txt("next"));
1302 
1303  $data = $this->getData();
1304  if ($this->dataExists()) {
1305  // sort
1306  if (!$this->getExternalSorting() && $this->enabled["sort"]) {
1307  $data = ilArrayUtil::sortArray(
1308  $data,
1309  $this->getOrderField(),
1310  $this->getOrderDirection(),
1311  $this->numericOrdering($this->getOrderField())
1312  );
1313  }
1314 
1315  // slice
1316  if (!$this->getExternalSegmentation()) {
1317  $data = array_slice($data, $this->getOffset(), $this->getLimit());
1318  }
1319  }
1320 
1321  // fill rows
1322  if ($this->dataExists()) {
1323  if ($this->getPrintMode()) {
1325  }
1326 
1327  $this->tpl->addBlockFile(
1328  "TBL_CONTENT",
1329  "tbl_content",
1330  $this->row_template,
1331  $this->row_template_dir
1332  );
1333 
1334  foreach ($data as $set) {
1335  $this->tpl->setCurrentBlock("tbl_content");
1336  $this->css_row = ($this->css_row !== "tblrow1")
1337  ? "tblrow1"
1338  : "tblrow2";
1339  $this->tpl->setVariable("CSS_ROW", $this->css_row);
1340 
1341  $this->fillRow($set);
1342  $this->tpl->setCurrentBlock("tbl_content");
1343  $this->tpl->parseCurrentBlock();
1344  }
1345  } else {
1346  // add standard no items text (please tell me, if it messes something up, alex, 29.8.2008)
1347  $no_items_text = (trim($this->getNoEntriesText()) != '')
1348  ? $this->getNoEntriesText()
1349  : $lng->txt("no_items");
1350 
1351  $this->css_row = ($this->css_row !== "tblrow1")
1352  ? "tblrow1"
1353  : "tblrow2";
1354 
1355  $this->tpl->setCurrentBlock("tbl_no_entries");
1356  $this->tpl->setVariable('TBL_NO_ENTRY_CSS_ROW', $this->css_row);
1357  $this->tpl->setVariable('TBL_NO_ENTRY_COLUMN_COUNT', $this->column_count);
1358  $this->tpl->setVariable('TBL_NO_ENTRY_TEXT', trim($no_items_text));
1359  $this->tpl->parseCurrentBlock();
1360  }
1361 
1362 
1363  if (!$this->getPrintMode()) {
1364  $this->fillFooter();
1365 
1366  $this->fillHiddenRow();
1367 
1368  $this->fillActionRow();
1369 
1370  $this->storeNavParameter();
1371  }
1372 
1373  return $this->render();
1374  }
numericOrdering(string $a_field)
Should this field be sorted numeric?
static array static setUseRelativeDates(bool $a_status)
set use relative dates
prepareOutput()
Anything that must be done before HTML is generated.
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
ilLanguage $lng
exportData(int $format, bool $send=false)
Export and optionally send current table data.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
fillRow(array $a_set)
Standard Version of Fill Row.
global $DIC
Definition: shib_login.php:22
setFooter(string $a_style, string $a_previous="", string $a_next="")
determineOffsetAndOrder(bool $a_omit_offset=false)
setMaxCount(int $a_max_count)
set max.
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:

◆ getId()

ilTable2GUI::getId ( )

Definition at line 770 of file class.ilTable2GUI.php.

References $id.

Referenced by ilLearningSequenceParticipantsTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), __construct(), ilTestSkillLevelThresholdsTableGUI\completeCompetenceTitles(), ilLOMemberTestResultTableGUI\createTestResultLink(), determineOffsetAndOrder(), determineSelectedColumns(), fillFooter(), fillHeader(), ilCourseParticipantsTableGUI\fillRow(), ilAssignmentsPerParticipantTableGUI\fillRow(), ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), getHTML(), ilMediaPoolTableGUI\getInsertCommand(), ilParticipantTableGUI\getSelectableColumns(), ilSubscriberTableGUI\getSelectableColumns(), ilWaitingListTableGUI\getSelectableColumns(), ilLearningSequenceParticipantsTableGUI\getSelectableColumns(), ilWorkspaceShareTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), ilParticipantTableGUI\initSettings(), ilDclRecordListTableGUI\loadProperty(), loadProperty(), ilLOMemberTestResultTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilExerciseSubmissionTableGUI\parseColumns(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilBuddySystemRelationsTableGUI\render(), render(), renderFilter(), and storeProperty().

770  : string
771  {
772  return $this->id;
773  }
+ Here is the caller graph for this function:

◆ getIsDataTable()

ilTable2GUI::getIsDataTable ( )

Definition at line 403 of file class.ilTable2GUI.php.

References $datatable.

403  : bool
404  {
405  return $this->datatable;
406  }

◆ getLimit()

ilTable2GUI::getLimit ( )

Definition at line 2393 of file class.ilTable2GUI.php.

References getExportMode(), and getPrintMode().

Referenced by ilStudyProgrammeMembersTableGUI\__construct(), ilUserTableGUI\buildUserQuery(), getCurrentState(), ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), getHTML(), ilUserLPTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), getLinkbar(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerGradeSynchronizationGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilForumTopicTableGUI\initMergeThreadsTable(), ilTrashTableGUI\parse(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilCalendarChangedAppointmentsTableGUI\setAppointments(), and ilEmployeeTalkTableGUI\setTalkData().

2393  : int
2394  {
2395  if ($this->getExportMode() || $this->getPrintMode()) {
2396  return 9999;
2397  }
2398  return parent::getLimit();
2399  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLinkbar()

ilTable2GUI::getLinkbar ( string  $a_num)

Definition at line 1915 of file class.ilTable2GUI.php.

References $ctrl, $DIC, ilTableGUI\$lng, $nav_value, ilLegacyFormElementsUtil\formSelect(), getDisplayAsBlock(), getLimit(), getNavParameter(), getOffset(), ilTableGUI\getOrderDirection(), getOrderField(), null, and ilLanguage\txt().

Referenced by fillFooter().

1915  : ?string
1916  {
1917  global $DIC;
1918 
1919  $ilUser = $DIC->user();
1920 
1921  $ilCtrl = $this->ctrl;
1922  $lng = $this->lng;
1923 
1924  $hash = "";
1925 
1926  $link = $ilCtrl->getLinkTargetByClass(get_class($this->parent_obj), $this->parent_cmd) .
1927  "&" . $this->getNavParameter() . "=" .
1928  $this->getOrderField() . ":" . $this->getOrderDirection() . ":";
1929 
1930  $LinkBar = "";
1931  $layout_prev = $lng->txt("previous");
1932  $layout_next = $lng->txt("next");
1933 
1934  // if more entries then entries per page -> show link bar
1935  if ($this->max_count > $this->getLimit() || $this->custom_prev_next) {
1936  $sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
1937 
1938  // calculate number of pages
1939  $pages = intval($this->max_count / $this->getLimit());
1940 
1941  // add a page if a rest remains
1942  if (($this->max_count % $this->getLimit())) {
1943  $pages++;
1944  }
1945 
1946  // links to other pages
1947  $offset_arr = array();
1948  for ($i = 1 ;$i <= $pages ; $i++) {
1949  $newoffset = $this->getLimit() * ($i - 1);
1950 
1951  $nav_value = $this->getOrderField() . ":" . $this->getOrderDirection() . ":" . $newoffset;
1952  $offset_arr[$nav_value] = $i;
1953  }
1954 
1955  $sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
1956 
1957  // previous link
1958  if ($this->custom_prev_next && $this->custom_prev != "") {
1959  $LinkBar .= "<a href=\"" . $this->custom_prev . $hash . "\">" . $layout_prev . "</a>";
1960  } elseif ($this->getOffset() >= 1 && !$this->custom_prev_next) {
1961  $prevoffset = $this->getOffset() - $this->getLimit();
1962  $LinkBar .= "<a href=\"" . $link . $prevoffset . $hash . "\">" . $layout_prev . "</a>";
1963  } else {
1964  $LinkBar .= '<span class="ilTableFootLight">' . $layout_prev . "</span>";
1965  }
1966 
1967  // current value
1968  if ($a_num == "1") {
1969  $LinkBar .= '<input type="hidden" name="' . $this->getNavParameter() .
1970  '" value="' . $this->getOrderField() . ":" . $this->getOrderDirection() . ":" . $this->getOffset() . '" />';
1971  }
1972 
1973  $sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
1974 
1975  // show next link (if not last page)
1976  $LinkBar .= $sep;
1977  if ($this->custom_prev_next && $this->custom_next != "") {
1978  $LinkBar .= "<a href=\"" . $this->custom_next . $hash . "\">" . $layout_next . "</a>";
1979  } elseif (!(($this->getOffset() / $this->getLimit()) == ($pages - 1)) && ($pages != 1) &&
1980  !$this->custom_prev_next) {
1981  $newoffset = $this->getOffset() + $this->getLimit();
1982  $LinkBar .= "<a href=\"" . $link . $newoffset . $hash . "\">" . $layout_next . "</a>";
1983  } else {
1984  $LinkBar .= '<span class="ilTableFootLight">' . $layout_next . "</span>";
1985  }
1986 
1987  $sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
1988 
1989  if (count($offset_arr) && !$this->getDisplayAsBlock() && !$this->custom_prev_next) {
1990  $LinkBar .= $sep;
1991 
1992  $LinkBar .=
1993  '<label for="tab_page_sel_' . $a_num . '">' . $lng->txt("page") . '</label> ' .
1995  $this->nav_value,
1996  $this->getNavParameter() . $a_num,
1997  $offset_arr,
1998  false,
1999  true,
2000  0,
2001  "small",
2002  array("id" => "tab_page_sel_" . $a_num,
2003  "onchange" => "ilTablePageSelection(this, 'cmd[" . $this->parent_cmd . "]')")
2004  );
2005  }
2006 
2007  return $LinkBar;
2008  } else {
2009  return null;
2010  }
2011  }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static formSelect( $selected, string $varname, array $options, bool $multiple=false, bool $direct_text=false, int $size=0, string $style_class="", array $attribs=[], bool $disabled=false)
Builds a select form field with options and shows the selected option first.
ilLanguage $lng
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getNavParameter()

ilTable2GUI::getNavParameter ( )
final

◆ getNoEntriesText()

ilTable2GUI::getNoEntriesText ( )

Definition at line 393 of file class.ilTable2GUI.php.

References $noentriestext.

Referenced by ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), getHTML(), and ilBuddySystemRelationsTableGUI\render().

393  : string
394  {
395  return $this->noentriestext;
396  }
+ Here is the caller graph for this function:

◆ getOffset()

ilTable2GUI::getOffset ( )

Definition at line 2401 of file class.ilTable2GUI.php.

References getExportMode(), and getPrintMode().

Referenced by ilStudyProgrammeMembersTableGUI\__construct(), ilUserTableGUI\buildUserQuery(), ilLPTableBaseGUI\executeCommand(), getCurrentState(), ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), getHTML(), ilUserLPTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), getLinkbar(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerGradeSynchronizationGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilForumTopicTableGUI\initMergeThreadsTable(), ilTrashTableGUI\parse(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilEmployeeTalkTableGUI\setTalkData(), and storeNavParameter().

2401  : int
2402  {
2403  if ($this->getExportMode() || $this->getPrintMode()) {
2404  return 0;
2405  }
2406  return parent::getOffset();
2407  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getOpenFormTag()

ilTable2GUI::getOpenFormTag ( )

Definition at line 192 of file class.ilTable2GUI.php.

References $open_form_tag.

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

192  : bool
193  {
194  return $this->open_form_tag;
195  }
+ Here is the caller graph for this function:

◆ getOrderField()

ilTable2GUI::getOrderField ( )

Definition at line 461 of file class.ilTable2GUI.php.

References $order_field.

Referenced by exportData(), getCurrentState(), ilSessionMaterialsTableGUI\getDataFromDb(), ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), getHTML(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\getInternalyOrderedDataValues(), ilUserLPTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), getLinkbar(), ilStudyProgrammeMembersTableGUI\getOrdering(), ilUserTableGUI\getUserIdsForFilter(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerGradeSynchronizationGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilForumTopicTableGUI\initMergeThreadsTable(), ilLTIConsumerGradeSynchronizationGUI\initTableData(), ilSCORMTrackingUsersTableGUI\parse(), ilTrashTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), resetOffset(), and storeNavParameter().

461  : string
462  {
463  return $this->order_field;
464  }
+ Here is the caller graph for this function:

◆ getParentCmd()

◆ getParentObject()

ilTable2GUI::getParentObject ( )

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

References $parent_obj.

Referenced by ilPCFileListTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\applyParamters(), ilConditionHandlerTableGUI\fillRow(), ilECSCategoryMappingTableGUI\fillRow(), ilLDAPRoleAssignmentTableGUI\fillRow(), ilShibbolethRoleAssignmentTableGUI\fillRow(), ilSCGroupTableGUI\fillRow(), ilLDAPRoleMappingTableGUI\fillRow(), ilECSServerTableGUI\fillRow(), ilObjectCopyProgressTableGUI\fillRow(), ilAdvancedMDFieldDefinitionGroupTableGUI\fillRow(), ilObjectCustomUserFieldsTableGUI\fillRow(), ilRoleTableGUI\fillRow(), ilSCORMTrackingItemsPerScoTableGUI\fillRow(), ilMemberExportFileTableGUI\fillRow(), ilPCFileListTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilContSkillTableGUI\fillRow(), ilDclExportTableGUI\fillRow(), ilSCORMTrackingItemsPerUserTableGUI\fillRow(), ilECSCommunityTableGUI\fillRow(), ilConsultationHoursTableGUI\fillRow(), ilECSNodeMappingTreeTableGUI\fillRow(), ilConsultationHourBookingTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilSCORMTrackingItemsScoTableGUI\fillRow(), ilTestPassOverviewTableGUI\fillRow(), ilUnitCategoryTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilSurveyAppraiseesTableGUI\fillRow(), ilObjectConsumerTableGUI\fillRow(), ilExportTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilWebResourceLinkTableGUI\fillRow(), ilUserRoleStartingPointTableGUI\fillRow(), ilEmployeeTalkTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilWebResourceEditableLinkTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilWebDAVMountInstructionsDocumentTableGUI\formatActions(), ilMailTemplateTableGUI\formatActionsDropDown(), ilAccessibilityDocumentTableGUI\formatActionsDropDown(), ilUserRoleStartingPointTableGUI\getActions(), ilAssignedUsersTableGUI\getContactLink(), ilStudyProgrammeIndividualPlanTableGUI\getDeadlineInput(), ilUserRoleStartingPointTableGUI\getEditLink(), ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), getHTML(), ilContainerStartObjectsContentTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilAssignedUsersTableGUI\getLeaveLink(), ilStudyProgrammeMembersTableGUI\getLinkTargetForAction(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilStudyProgrammeIndividualPlanTableGUI\getRequiredPointsInput(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilTestPassOverviewTableGUI\initColumns(), ilObjectRolePermissionTableGUI\initColumns(), ilParticipantTableGUI\initFilter(), ilForumTopicTableGUI\initMergeThreadsTable(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilExerciseSubmissionTableGUI\parseColumns(), ilAssignmentsPerParticipantTableGUI\parseData(), ilLocalUnitCategoryTableGUI\populateTitle(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilSubscriberTableGUI\showActionLinks(), and ilWaitingListTableGUI\showActionLinks().

368  : ?object
369  {
370  return $this->parent_obj;
371  }
+ Here is the caller graph for this function:

◆ getPrefix()

ilTable2GUI::getPrefix ( )
final

Definition at line 487 of file class.ilTable2GUI.php.

References ilTableGUI\$prefix.

Referenced by setId().

487  : string
488  {
489  return $this->prefix;
490  }
+ Here is the caller graph for this function:

◆ getPreventDoubleSubmission()

ilTable2GUI::getPreventDoubleSubmission ( )

Definition at line 2645 of file class.ilTable2GUI.php.

References $prevent_double_submission.

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

2645  : bool
2646  {
2648  }
bool $prevent_double_submission
+ Here is the caller graph for this function:

◆ getPrintMode()

◆ getRequestedValues()

ilTable2GUI::getRequestedValues ( )
protected

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

References getNavParameter().

Referenced by __construct(), and setPrefix().

177  : void
178  {
179  if (is_null($this->table_request)) {
180  return;
181  }
182  $this->requested_nav_par = $this->table_request->getNavPar($this->getNavParameter());
183  $this->requested_nav_par1 = $this->table_request->getNavPar($this->getNavParameter(), 1);
184  $this->requested_nav_par2 = $this->table_request->getNavPar($this->getNavParameter(), 2);
185  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getResetCommand()

ilTable2GUI::getResetCommand ( )

Definition at line 824 of file class.ilTable2GUI.php.

References $reset_cmd.

824  : string
825  {
826  return $this->reset_cmd;
827  }

◆ getRowSelectorLabel()

ilTable2GUI::getRowSelectorLabel ( )

Definition at line 2635 of file class.ilTable2GUI.php.

References $row_selector_label.

Referenced by fillFooter().

2635  : string
2636  {
2638  }
string $row_selector_label
+ Here is the caller graph for this function:

◆ getSelectableColumns()

ilTable2GUI::getSelectableColumns ( )

Get selectable columns.

Returns
array key: column id, val: true/false -> default on/off

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

Referenced by determineSelectedColumns(), and fillFooter().

244  : array
245  {
246  return [];
247  }
+ Here is the caller graph for this function:

◆ getSelectedColumns()

ilTable2GUI::getSelectedColumns ( )

Definition at line 323 of file class.ilTable2GUI.php.

References $ctrl, getFilterItemByPostVar(), ilCtrl\getNextClass(), and initFilter().

Referenced by ilSurveyResultsCumulatedTableGUI\__construct(), ilAccessibilityTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\fillHeaderCSV(), ilSCORM2004TrackingItemsTableGUI\fillHeaderCSV(), ilTrObjectUsersPropsTableGUI\fillHeaderCSV(), ilTrUserObjectsPropsTableGUI\fillHeaderCSV(), ilTrMatrixTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderCSV(), ilSCORMTrackingItemsTableGUI\fillHeaderExcel(), ilSCORM2004TrackingItemsTableGUI\fillHeaderExcel(), ilTrObjectUsersPropsTableGUI\fillHeaderExcel(), ilTrUserObjectsPropsTableGUI\fillHeaderExcel(), ilTrMatrixTableGUI\fillHeaderExcel(), ilTrSummaryTableGUI\fillHeaderExcel(), ilStudyProgrammeIndividualPlanTableGUI\fillRow(), ilSearchResultTableGUI\fillRow(), ilGroupParticipantsTableGUI\fillRow(), ilLearningSequenceParticipantsTableGUI\fillRow(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilCourseParticipantsTableGUI\fillRow(), ilSubscriberTableGUI\fillRow(), ilStudyProgrammeMembersTableGUI\fillRow(), ilRepositoryUserResultTableGUI\fillRow(), ilWaitingListTableGUI\fillRow(), ilSurveyResultsCumulatedTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRow(), ilMStShowUserCoursesTableGUI\fillRow(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\fillRow(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilBookingObjectsTableGUI\fillRow(), ilSessionParticipantsTableGUI\fillRow(), ilMStListCoursesTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrMatrixTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilBookingReservationsTableGUI\fillRow(), ilTrSummaryTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRowCSV(), ilSCORM2004TrackingItemsTableGUI\fillRowCSV(), ilTrObjectUsersPropsTableGUI\fillRowCSV(), ilTrUserObjectsPropsTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowCSV(), ilTrSummaryTableGUI\fillRowCSV(), ilSCORMTrackingItemsTableGUI\fillRowExcel(), ilSCORM2004TrackingItemsTableGUI\fillRowExcel(), ilTrObjectUsersPropsTableGUI\fillRowExcel(), ilTrUserObjectsPropsTableGUI\fillRowExcel(), ilTrMatrixTableGUI\fillRowExcel(), ilTrSummaryTableGUI\fillRowExcel(), ilBookingReservationsTableGUI\getAdditionalExportCols(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\getFieldValuesForExport(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\getFieldValuesForExport(), ilMStShowUserCoursesTableGUI\getFieldValuesForExport(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\getFieldValuesForExport(), ilMStListCoursesTableGUI\getFieldValuesForExport(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilParticipantsPerAssignmentTableGUI\getModeColumns(), ilSearchResultTableGUI\getPossibleSortations(), ilRepositoryUserResultTableGUI\getPossibleSortations(), ilBookingReservationsTableGUI\getSelectedUserColumns(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilQuestionPoolPrintViewTableGUI\initColumns(), ilLearningSequenceParticipantsTableGUI\initForm(), ilQuestionBrowserTableGUI\isCommentsColumnSelected(), ilTrSummaryTableGUI\isStatusShown(), ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilExerciseSubmissionTableGUI\parseColumns(), ilRepositoryUserResultTableGUI\parseUserIds(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilSearchResultTableGUI\setDataAndApplySortation(), and ILIAS\LegalDocuments\Legacy\Table\visibleColumns().

323  : array
324  {
325  $scol = array();
326  foreach ($this->selected_column as $k => $v) {
327  if ($v) {
328  $scol[$k] = $k;
329  }
330  }
331  return $scol;
332  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSelectedFilters()

ilTable2GUI::getSelectedFilters ( )

Definition at line 670 of file class.ilTable2GUI.php.

Referenced by getCurrentState().

670  : array
671  {
672  $sfil = array();
673  foreach ($this->selected_filter as $k => $v) {
674  if ($v) {
675  $sfil[$k] = $k;
676  }
677  }
678  return $sfil;
679  }
+ Here is the caller graph for this function:

◆ getShowRowsSelector()

ilTable2GUI::getShowRowsSelector ( )

Definition at line 2388 of file class.ilTable2GUI.php.

References $show_rows_selector.

Referenced by fillFooter().

2388  : bool
2389  {
2391  }
+ Here is the caller graph for this function:

◆ getTopAnchor()

ilTable2GUI::getTopAnchor ( )

Definition at line 383 of file class.ilTable2GUI.php.

References $top_anchor.

383  : string
384  {
385  return $this->top_anchor;
386  }

◆ getTopCommands()

ilTable2GUI::getTopCommands ( )

Definition at line 951 of file class.ilTable2GUI.php.

References $top_commands.

Referenced by fillActionRow().

951  : bool
952  {
953  return $this->top_commands;
954  }
+ Here is the caller graph for this function:

◆ initFilter()

ilTable2GUI::initFilter ( )

◆ isAdvMDFilter()

ilTable2GUI::isAdvMDFilter ( ilAdvancedMDRecordGUI  $a_gui,
ilTableFilterItem  $a_element 
)
protected

Check if filter element is based on adv md.

Definition at line 1646 of file class.ilTable2GUI.php.

References ilAdvancedMDRecordGUI\getFilterElements().

Referenced by writeFilterToSession().

1649  : bool {
1650  foreach ($a_gui->getFilterElements(false) as $item) {
1651  if ($item === $a_element) {
1652  return true;
1653  }
1654  }
1655  return false;
1656  }
getFilterElements(bool $a_only_non_empty=true)
Get SQL conditions for current filter value(s)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isColumnSelected()

◆ isFilterSelected()

ilTable2GUI::isFilterSelected ( string  $a_col)

Is given filter selected?

Definition at line 665 of file class.ilTable2GUI.php.

Referenced by ilAccessibilityTableGUI\populate(), renderFilter(), and ILIAS\LegalDocuments\Legacy\Table\setupFilter().

665  : bool
666  {
667  return (bool) $this->selected_filter[$a_col];
668  }
+ Here is the caller graph for this function:

◆ isFilterVisible()

ilTable2GUI::isFilterVisible ( )
protected

Check if filter is visible: manually shown (session, db) or default value set.

Definition at line 1634 of file class.ilTable2GUI.php.

References getDefaultFilterVisibility(), and loadProperty().

Referenced by renderFilter().

1634  : bool
1635  {
1636  $prop = $this->loadProperty('filter');
1637  if ($prop === '0' || $prop === '1') {
1638  return (bool) $prop;
1639  }
1640  return $this->getDefaultFilterVisibility();
1641  }
loadProperty(string $type)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadProperty()

ilTable2GUI::loadProperty ( string  $type)

Definition at line 2279 of file class.ilTable2GUI.php.

References $DIC, getId(), and null.

Referenced by determineLimit(), determineOffsetAndOrder(), determineSelectedColumns(), determineSelectedFilters(), and isFilterVisible().

2279  : ?string
2280  {
2281  global $DIC;
2282 
2283  $ilUser = null;
2284  if (isset($DIC["ilUser"])) {
2285  $ilUser = $DIC["ilUser"];
2286  }
2287 
2288  if (is_object($ilUser) && $this->getId() != "") {
2289  $tab_prop = new ilTablePropertiesStorageGUI();
2290 
2291  return $tab_prop->getProperty($this->getId(), $ilUser->getId(), $type);
2292  }
2293  return null;
2294  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ numericOrdering()

ilTable2GUI::numericOrdering ( string  $a_field)

Should this field be sorted numeric?

Definition at line 1379 of file class.ilTable2GUI.php.

Referenced by exportData(), ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), getHTML(), and ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\getInternalyOrderedDataValues().

1379  : bool
1380  {
1381  return false;
1382  }
+ Here is the caller graph for this function:

◆ prepareOutput()

ilTable2GUI::prepareOutput ( )
protected

Anything that must be done before HTML is generated.

Definition at line 1159 of file class.ilTable2GUI.php.

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

1159  : void
1160  {
1161  }
+ Here is the caller graph for this function:

◆ render()

ilTable2GUI::render ( )

Definition at line 1384 of file class.ilTable2GUI.php.

References ilTableGUI\$lng, fillHeader(), getDescription(), getDisplayAsBlock(), getId(), ilUtil\getImagePath(), getPrintMode(), ilTableGUI\getStyle(), renderFilter(), and ilLanguage\txt().

Referenced by ilTestSkillLevelThresholdsTableGUI\fillRow(), ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), getHTML(), and ilMMSubItemTableGUI\initColumns().

1384  : string
1385  {
1386  $lng = $this->lng;
1387 
1388  $this->tpl->setVariable("CSS_TABLE", $this->getStyle("table"));
1389  if ($this->getId() != "") {
1390  $this->tpl->setVariable("ID", 'id="' . $this->getId() . '"');
1391  }
1392 
1393  // description
1394  if ($this->getDescription() != "") {
1395  $this->tpl->setCurrentBlock("tbl_header_description");
1396  $this->tpl->setVariable("TBL_DESCRIPTION", $this->getDescription());
1397  $this->tpl->parseCurrentBlock();
1398  }
1399 
1400  if (!$this->getPrintMode()) {
1401  $this->renderFilter();
1402  }
1403 
1404  if ($this->getDisplayAsBlock()) {
1405  $this->tpl->touchBlock("outer_start_1");
1406  $this->tpl->touchBlock("outer_end_1");
1407  } else {
1408  $this->tpl->touchBlock("outer_start_2");
1409  $this->tpl->touchBlock("outer_end_2");
1410  }
1411 
1412  // table title and icon
1413  if ($this->enabled["title"] && ($this->title != ""
1414  || $this->icon != "" || count($this->header_commands) > 0 ||
1415  $this->headerHTML != "" || $this->close_command != "")) {
1416  if ($this->enabled["icon"]) {
1417  $this->tpl->setCurrentBlock("tbl_header_title_icon");
1418  $this->tpl->setVariable("TBL_TITLE_IMG", ilUtil::getImagePath($this->icon));
1419  $this->tpl->setVariable("TBL_TITLE_IMG_ALT", $this->icon_alt);
1420  $this->tpl->parseCurrentBlock();
1421  }
1422 
1423  if (!$this->getPrintMode()) {
1424  foreach ($this->header_commands as $command) {
1425  if ($command["img"] != "") {
1426  $this->tpl->setCurrentBlock("tbl_header_img_link");
1427  if ($command["target"] != "") {
1428  $this->tpl->setVariable(
1429  "TARGET_IMG_LINK",
1430  'target="' . $command["target"] . '"'
1431  );
1432  }
1433  $this->tpl->setVariable("ALT_IMG_LINK", $command["text"]);
1434  $this->tpl->setVariable("HREF_IMG_LINK", $command["href"]);
1435  $this->tpl->setVariable(
1436  "SRC_IMG_LINK",
1437  $command["img"]
1438  );
1439  } else {
1440  $this->tpl->setCurrentBlock("head_cmd");
1441  $this->tpl->setVariable("TXT_HEAD_CMD", $command["text"]);
1442  $this->tpl->setVariable("HREF_HEAD_CMD", $command["href"]);
1443  }
1444  $this->tpl->parseCurrentBlock();
1445  }
1446  }
1447 
1448  if (isset($this->headerHTML)) {
1449  $this->tpl->setCurrentBlock("tbl_header_html");
1450  $this->tpl->setVariable("HEADER_HTML", $this->headerHTML);
1451  $this->tpl->parseCurrentBlock();
1452  }
1453 
1454  // close command
1455  if ($this->close_command != "") {
1456  $this->tpl->setCurrentBlock("tbl_header_img_link");
1457  $this->tpl->setVariable("ALT_IMG_LINK", $lng->txt("close"));
1458  $this->tpl->setVariable("HREF_IMG_LINK", $this->close_command);
1459  $this->tpl->parseCurrentBlock();
1460  }
1461 
1462  $this->tpl->setCurrentBlock("tbl_header_title");
1463  $this->tpl->setVariable("TBL_TITLE", $this->title);
1464  if ($this->getDisplayAsBlock()) {
1465  $this->tpl->setVariable("BLK_CLASS", "Block");
1466  }
1467  $this->tpl->parseCurrentBlock();
1468  }
1469 
1470  // table header
1471  if ($this->enabled["header"]) {
1472  $this->fillHeader();
1473  }
1474 
1475  $this->tpl->touchBlock("tbl_table_end");
1476 
1477  return $this->tpl->get();
1478  }
getStyle(string $a_element)
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
renderFilter()
Render Filter section.
ilLanguage $lng
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderFilter()

ilTable2GUI::renderFilter ( )
private

Render Filter section.

Definition at line 1483 of file class.ilTable2GUI.php.

References $DIC, ilTableGUI\$lng, determineSelectedFilters(), getDisableFilterHiding(), getFilterCols(), getFilterItems(), getId(), getParentCmd(), ilYuiUtil\initConnection(), isFilterSelected(), isFilterVisible(), and ilLanguage\txt().

Referenced by render().

1483  : void
1484  {
1485  global $DIC;
1486 
1487  $lng = $this->lng;
1488  $main_tpl = $DIC["tpl"];
1489 
1490  $filter = $this->getFilterItems();
1491  $opt_filter = $this->getFilterItems(true);
1492 
1493  $main_tpl->addJavascript("assets/js/ServiceTable.js");
1494 
1495  if (count($filter) == 0 && count($opt_filter) == 0) {
1496  return;
1497  }
1498 
1500 
1501  $ccnt = 0;
1502 
1503  // render standard filter
1504  if (count($filter) > 0) {
1505  foreach ($filter as $item) {
1506  if ($ccnt >= $this->getFilterCols()) {
1507  $this->tpl->setCurrentBlock("filter_row");
1508  $this->tpl->parseCurrentBlock();
1509  $ccnt = 0;
1510  }
1511  $this->tpl->setCurrentBlock("filter_item");
1512  $this->tpl->setVariable(
1513  "OPTION_NAME",
1514  $item->getTitle()
1515  );
1516  $this->tpl->setVariable(
1517  "F_INPUT_ID",
1518  $item->getTableFilterLabelFor()
1519  );
1520  $this->tpl->setVariable(
1521  "INPUT_HTML",
1522  $item->getTableFilterHTML()
1523  );
1524  $this->tpl->parseCurrentBlock();
1525  $ccnt++;
1526  }
1527  }
1528 
1529  // render optional filter
1530  if (count($opt_filter) > 0) {
1531  $this->determineSelectedFilters();
1532 
1533  foreach ($opt_filter as $item) {
1534  if ($this->isFilterSelected($item->getPostVar())) {
1535  if ($ccnt >= $this->getFilterCols()) {
1536  $this->tpl->setCurrentBlock("filter_row");
1537  $this->tpl->parseCurrentBlock();
1538  $ccnt = 0;
1539  }
1540  $this->tpl->setCurrentBlock("filter_item");
1541  $this->tpl->setVariable(
1542  "OPTION_NAME",
1543  $item->getTitle()
1544  );
1545  $this->tpl->setVariable(
1546  "F_INPUT_ID",
1547  $item->getFieldId()
1548  );
1549  $this->tpl->setVariable(
1550  "INPUT_HTML",
1551  $item->getTableFilterHTML()
1552  );
1553  $this->tpl->parseCurrentBlock();
1554  $ccnt++;
1555  }
1556  }
1557 
1558  // filter selection
1559  $items = array();
1560  foreach ($opt_filter as $item) {
1561  $k = $item->getPostVar();
1562  $items[$k] = array("txt" => $item->getTitle(),
1563  "selected" => $this->isFilterSelected($k));
1564  }
1565 
1566  $cb_over = new ilCheckboxListOverlayGUI("tbl_filters_" . $this->getId());
1567  $cb_over->setLinkTitle($lng->txt("optional_filters"));
1568  $cb_over->setItems($items);
1569 
1570  $cb_over->setFormCmd($this->getParentCmd());
1571  $cb_over->setFieldVar("tblff" . $this->getId());
1572  $cb_over->setHiddenVar("tblfsf" . $this->getId());
1573 
1574  $cb_over->setSelectionHeaderClass("ilTableMenuItem");
1575  $this->tpl->setCurrentBlock("filter_select");
1576 
1577  // apply should be the first submit because of enter/return, inserting hidden submit
1578  $this->tpl->setVariable("HIDDEN_CMD_APPLY", $this->filter_cmd);
1579 
1580  $this->tpl->setVariable("FILTER_SELECTOR", $cb_over->getHTML(false));
1581  $this->tpl->parseCurrentBlock();
1582  }
1583 
1584  // if any filter
1585  if ($ccnt > 0 || count($opt_filter) > 0) {
1586  $this->tpl->setVariable("TXT_FILTER", $lng->txt("filter"));
1587 
1588  if ($ccnt > 0) {
1589  if ($ccnt < $this->getFilterCols()) {
1590  for ($i = $ccnt; $i <= $this->getFilterCols(); $i++) {
1591  $this->tpl->touchBlock("filter_empty_cell");
1592  }
1593  }
1594  $this->tpl->setCurrentBlock("filter_row");
1595  $this->tpl->parseCurrentBlock();
1596 
1597  $this->tpl->setCurrentBlock("filter_buttons");
1598  $this->tpl->setVariable("CMD_APPLY", $this->filter_cmd);
1599  $this->tpl->setVariable("TXT_APPLY", $this->filter_cmd_txt
1600  ?: $lng->txt("apply_filter"));
1601  $this->tpl->setVariable("CMD_RESET", $this->reset_cmd);
1602  $this->tpl->setVariable("TXT_RESET", $this->reset_cmd_txt
1603  ?: $lng->txt("reset_filter"));
1604  } elseif (count($opt_filter) > 0) {
1605  $this->tpl->setCurrentBlock("optional_filter_hint");
1606  $this->tpl->setVariable('TXT_OPT_HINT', $lng->txt('optional_filter_hint'));
1607  $this->tpl->parseCurrentBlock();
1608  }
1609 
1610  $this->tpl->setCurrentBlock("filter_section");
1611  $this->tpl->setVariable("FIL_ID", $this->getId());
1612  $this->tpl->parseCurrentBlock();
1613 
1614  // (keep) filter hidden?
1615  if (!$this->isFilterVisible() && !$this->getDisableFilterHiding()) {
1616  $id = $this->getId();
1617  $this->main_tpl->addOnLoadCode("
1618  ilTableHideFilter['atfil_$id'] = true;
1619  ilTableHideFilter['tfil_$id'] = true;
1620  ilTableHideFilter['dtfil_$id'] = true;
1621  ");
1622  }
1623  /*
1624  * BT 35757: filter has to be initialized after it has a chance to get hidden,
1625  * moving this here from ServiceTable.js to avoid timing weirdness with onLoadCode.
1626  */
1627  $this->main_tpl->addOnLoadCode("ilInitTableFilters()");
1628  }
1629  }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
ilLanguage $lng
ilGlobalTemplateInterface $main_tpl
isFilterSelected(string $a_col)
Is given filter selected?
isFilterVisible()
Check if filter is visible: manually shown (session, db) or default value set.
global $DIC
Definition: shib_login.php:22
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getFilterItems(bool $a_optionals=false)
static initConnection(?ilGlobalTemplateInterface $a_main_tpl=null)
Init YUI Connection module.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetFilter()

ilTable2GUI::resetFilter ( )

Definition at line 1693 of file class.ilTable2GUI.php.

References getFilterItems().

Referenced by ilLPTableBaseGUI\executeCommand(), ilMediaPoolTableGUI\getInsertCommand(), ilObjSCORMLearningModuleGUI\resetUserTableFilter(), and ILIAS\LegalDocuments\Legacy\Table\setupFilter().

1693  : void
1694  {
1695  $filter = $this->getFilterItems();
1696  $opt_filter = $this->getFilterItems(true);
1697 
1698  foreach ($filter as $item) {
1699  if ($item->checkInput()) {
1700  // see #26490
1701  $item->setValueByArray([]);
1702  $item->clearFromSession();
1703  }
1704  }
1705  foreach ($opt_filter as $item) {
1706  if ($item->checkInput()) {
1707  // see #26490
1708  $item->setValueByArray([]);
1709  $item->clearFromSession();
1710  }
1711  }
1712  }
getFilterItems(bool $a_optionals=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetOffset()

ilTable2GUI::resetOffset ( bool  $a_in_determination = false)

Definition at line 354 of file class.ilTable2GUI.php.

References $nav_value, determineOffsetAndOrder(), ilTableGUI\getOrderDirection(), getOrderField(), and ilTableGUI\setOffset().

Referenced by ilCmiXapiScoringTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), determineLimit(), determineOffsetAndOrder(), ilLPTableBaseGUI\executeCommand(), ilMediaPoolTableGUI\getInsertCommand(), ilUserLPTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilForumTopicTableGUI\initMergeThreadsTable(), ilCmiXapiStatementsGUI\initTableData(), ilExerciseManagementGUI\membersApplyObject(), ilExerciseManagementGUI\membersResetObject(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilWaitingListTableGUI\readUserData(), and ilCalendarManageTableGUI\resetToDefaults().

354  : void
355  {
356  if (!$this->nav_determined && !$a_in_determination) {
357  $this->determineOffsetAndOrder();
358  }
359  $this->nav_value = $this->getOrderField() . ":" . $this->getOrderDirection() . ":0";
360  $this->requested_nav_par = $this->requested_nav_par1 = $this->nav_value;
361  $this->setOffset(0);
362  }
setOffset(int $a_offset)
set dataset offset
determineOffsetAndOrder(bool $a_omit_offset=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCloseCommand()

ilTable2GUI::setCloseCommand ( string  $a_link)

Definition at line 921 of file class.ilTable2GUI.php.

921  : void
922  {
923  $this->close_command = $a_link;
924  }

◆ setCloseFormTag()

ilTable2GUI::setCloseFormTag ( bool  $a_val)

Definition at line 197 of file class.ilTable2GUI.php.

197  : void
198  {
199  $this->close_form_tag = $a_val;
200  }

◆ setContext()

ilTable2GUI::setContext ( string  $id)

Definition at line 2368 of file class.ilTable2GUI.php.

References $id.

Referenced by __construct().

2368  : void
2369  {
2370  if (trim($id)) {
2371  $this->context = $id;
2372  }
2373  }
+ Here is the caller graph for this function:

◆ setCustomPreviousNext()

ilTable2GUI::setCustomPreviousNext ( string  $a_prev_link,
string  $a_next_link 
)

Definition at line 727 of file class.ilTable2GUI.php.

730  : void {
731  $this->custom_prev_next = true;
732  $this->custom_prev = $a_prev_link;
733  $this->custom_next = $a_next_link;
734  }

◆ setData()

ilTable2GUI::setData ( array  $a_data)
final

Definition at line 466 of file class.ilTable2GUI.php.

Referenced by ilBookingBulkCreationTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilContainerFilterTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilExportTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilExGradesTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilContProfileTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilDclRecordListTableGUI\buildData(), ilOrgUnitPermissionTableGUI\collectData(), ilSurveyParticipantsGUI\editRatersObject(), ilHelpMappingTableGUI\getChapters(), ilModulesTableGUI\getComponents(), ilWikiContributorsTableGUI\getContributors(), ilHistoryTableGUI\getDataFromDb(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLMDownloadTableGUI\getDownloadFiles(), ilMemberExportFileTableGUI\getFiles(), ilNewItemGroupTableGUI\getGroups(), ilPCImageMapTableGUI\getItems(), ilCourseGroupingTableGUI\getItems(), ilExAssignmentTeamLogTableGUI\getItems(), ilMediaPoolPageUsagesTableGUI\getItems(), ilCmiXapiVerificationTableGUI\getItems(), ilRatingCategoryTableGUI\getItems(), ilTestVerificationTableGUI\getItems(), ilLTIConsumerVerificationTableGUI\getItems(), ilWikiExportOrderTableGUI\getItems(), ilMediaObjectUsagesTableGUI\getItems(), ilSCORMVerificationTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserRoleStartingPointTableGUI\getItems(), ilCourseVerificationTableGUI\getItems(), ilPollAnswerTableGUI\getItems(), ilExerciseVerificationTableGUI\getItems(), ilContributorTableGUI\getItems(), ilSurveyParticipantsTableGUI\getItems(), ilLPObjectStatisticsAdminTableGUI\getItems(), ilObjWorkspaceFolderTableGUI\getItems(), ilCourseGroupingAssignmentTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilExcCriteriaTableGUI\getItems(), ilRecommendedContentRoleTableGUI\getItems(), ilBookingSchedulesTableGUI\getItems(), ilClipboardTableGUI\getItems(), ilStyleMediaQueryTableGUI\getItems(), ilContainerStartObjectsContentTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilPortfolioPageTableGUI\getItems(), ilStyleColorTableGUI\getItems(), ilTableTemplatesTableGUI\getItems(), ilExAssignmentPeerReviewOverviewTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilObjectConsumerTableGUI\getItems(), ilLDAPRoleMappingTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilImageMapTableGUI\getItems(), ilBookingAssignParticipantsTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilBookingAssignObjectsTableGUI\getItems(), ilAdminSubItemsTableGUI\getItems(), ilSurveyResultsCumulatedTableGUI\getItems(), ilSessionOverviewTableGUI\getItems(), ilBookingParticipantsTableGUI\getItems(), ILIAS\Style\Content\CharacteristicTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilLPObjectStatisticsTypesTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilLPProgressTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilLPObjectStatisticsTableGUI\getItems(), ilLPObjectStatisticsDailyTableGUI\getItems(), ilUserTableGUI\getItems(), ilLPObjectStatisticsLPTableGUI\getItems(), ilMediaPoolTableGUI\getItems(), ilTrMatrixTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), ilLinksTableGUI\getLinks(), ilItemGroupItemsTableGUI\getMaterials(), ilPageLayoutTableGUI\getPageLayouts(), ilWikiPagesTableGUI\getPages(), ilSurveySkillAssignmentTableGUI\getQuestions(), ilCopySelfAssQuestionTableGUI\getQuestions(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilSurveySkillChangesTableGUI\getSkillLevelsForAppraisee(), ilSurveySkillTableGUI\getSkills(), ilSysStyleCatAssignmentTableGUI\getStyleCatAssignments(), ilSystemStylesTableGUI\getStyles(), ilSurveySyncTableGUI\importData(), ilWorkspaceAccessTableGUI\importData(), ilSurveyQuestionTableGUI\importData(), ilWorkspaceShareTableGUI\importData(), ilQuestionUsagesTableGUI\initColumns(), ilDashboardSortationTableGUI\initData(), ilQuestionCumulatedStatisticsTableGUI\initData(), ilSurveyQuestionblockbrowserTableGUI\initData(), ilSurveyQuestionbrowserTableGUI\initData(), ilFileVersionsTableGUI\initData(), ilBuddySystemRelationsTableGUI\initFilter(), ilAdvancedMDFieldDefinitionGroupTableGUI\initItems(), ilTaxonomyAdministrationRepositoryTableGUI\initItems(), ilObjectOwnershipManagementTableGUI\initItems(), SurveyConstraintsTableGUI\initItems(), ilForumTopicTableGUI\initMergeThreadsTable(), ilCmiXapiStatementsGUI\initTableData(), ilLTIConsumerXapiStatementsGUI\initTableData(), ilLTIConsumerGradeSynchronizationGUI\initTableData(), ilObjectTranslationGUI\listTranslations(), ilObjForumSearchResultTableGUI\parse(), ilObjWikiSearchResultTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilSCTreeDuplicatesTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilCalendarSharedUserListTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilRoleSelectionTableGUI\parse(), ilLuceneAdvancedSearchActivationTableGUI\parse(), ilLPCollectionSettingsTableGUI\parse(), ilCalendarSharedRoleListTableGUI\parse(), ilLTIProviderReleasedObjectsTableGUI\parse(), ilCalendarRecurrenceTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilECSCategoryMappingTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilMDCopyrightUsageTableGUI\parse(), ilUserClipboardTableGUI\parse(), ilObjectCustomUserFieldsTableGUI\parse(), ilShibbolethRoleAssignmentTableGUI\parse(), ilLDAPRoleAssignmentTableGUI\parse(), ilLogComponentTableGUI\parse(), ilCourseReferenceDeleteConfirmationTableGUI\parse(), ilCalendarInboxSharedTableGUI\parse(), ilAdvancedMDRecordLanguageTableGUI\parse(), ilExAssignmentListTextTableGUI\parse(), ilUserExportFileTableGUI\parse(), ilCourseObjectiveMaterialAssignmentTableGUI\parse(), ilSCGroupTableGUI\parse(), ilObjectCopyProgressTableGUI\parse(), ilLOMemberTestResultTableGUI\parse(), ilWebResourceLinkTableGUI\parse(), ilConsultationHourBookingTableGUI\parse(), ilSCTaskTableGUI\parse(), ilECSExportedContentTableGUI\parse(), ilECSNodeMappingTreeTableGUI\parse(), ilObjectRoleTemplateOptionsTableGUI\parse(), ilObjectTableGUI\parse(), ilCourseObjectiveQuestionsTableGUI\parse(), ilTrashTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilCourseObjectiveQuestionAssignmentTableGUI\parse(), ilECSServerTableGUI\parse(), ilWebResourceEditableLinkTableGUI\parse(), ilECSImportedContentTableGUI\parse(), ilRoleAssignmentTableGUI\parse(), ilECSCommunityTableGUI\parse(), ilTimingsPersonalTableGUI\parse(), ilLOTestAssignmentTableGUI\parse(), ilCalendarManageTableGUI\parse(), ilSessionParticipantsTableGUI\parse(), ilObjectRoleTemplatePermissionTableGUI\parse(), ilTimingsManageTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilRoleTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilCourseObjectivesTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilObjectRolePermissionTableGUI\parse(), ilExportSelectionTableGUI\parseContainer(), ilDclEditViewTableGUI\parseData(), ilDclTableViewEditFieldsTableGUI\parseData(), ilDclCreateViewTableGUI\parseData(), ilBiblTranslationTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilMMItemTranslationTableGUI\parseData(), ilAdvancedMDFieldTableGUI\parseDefinitions(), ilAdvancedMDRecordExportFilesTableGUI\parseFiles(), ilLOTestAssignmentTableGUI\parseMultipleAssignments(), ilRepositoryObjectResultTableGUI\parseObjectIds(), ilObjectCopySearchResultTableGUI\parseSearchResults(), ilWebResourceEditableLinkTableGUI\parseSelectedLinks(), ilMDCopyrightTableGUI\parseSelections(), ilObjectCopySelectionTableGUI\parseSource(), ilRepositoryUserResultTableGUI\parseUserIds(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilFileSystemTableGUI\prepareOutput(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilCalendarChangedAppointmentsTableGUI\setAppointments(), ilCalendarAppointmentsTableGUI\setAppointments(), ilConditionHandlerTableGUI\setConditions(), ilSessionMaterialsTableGUI\setMaterials(), ilQuestionBrowserTableGUI\setQuestionData(), ilSumScoreTableGUI\setSumScores(), ilEmployeeTalkTableGUI\setTalkData(), ilAssQuestionSkillUsagesTableGUI\showCmd(), and ilWebResourceEditableLinkTableGUI\updateFromPost().

466  : void
467  {
468  $this->row_data = $a_data;
469  }
+ Here is the caller graph for this function:

◆ setDefaultFilterVisiblity()

ilTable2GUI::setDefaultFilterVisiblity ( bool  $a_status)

Definition at line 871 of file class.ilTable2GUI.php.

Referenced by ilEmployeeTalkTableGUI\addColumns(), ilParticipantTableGUI\initFilter(), and ilTrashTableGUI\initFilter().

871  : void
872  {
873  $this->default_filter_visibility = $a_status;
874  }
+ Here is the caller graph for this function:

◆ setDefaultOrderDirection()

ilTable2GUI::setDefaultOrderDirection ( string  $a_defaultorderdirection)

Definition at line 861 of file class.ilTable2GUI.php.

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilECSExportedContentTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilExportTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilExportIDTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilLTIConsumerGradeSynchronizationTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilWikiContributorsTableGUI\getContributors(), ilWikiPagesTableGUI\getPages(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilUserExportFileTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilTrashTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantPassesOverviewTableGUI\initOrdering(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\initOrdering(), ilConditionHandlerTableGUI\initTable(), and ilAssQuestionHintsTableGUI\initTestoutputColumns().

861  : void
862  {
863  $this->defaultorderdirection = $a_defaultorderdirection;
864  }
+ Here is the caller graph for this function:

◆ setDefaultOrderField()

ilTable2GUI::setDefaultOrderField ( string  $a_defaultorderfield)

Definition at line 850 of file class.ilTable2GUI.php.

Referenced by ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilECSExportedContentTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilMatchingQuestionAnswerFreqStatTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilContributorTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilExportTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilLTIConsumerGradeSynchronizationTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilEmployeeTalkTableGUI\addColumns(), ilWikiContributorsTableGUI\getContributors(), ilWikiPagesTableGUI\getPages(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilUserExportFileTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilTrashTableGUI\init(), ilLogComponentTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilLearningSequenceParticipantsTableGUI\initForm(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantPassesOverviewTableGUI\initOrdering(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\initOrdering(), ilConsultationHourBookingTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputColumns(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), and ilMStShowUserCoursesTableGUI\parseData().

850  : void
851  {
852  $this->defaultorderfield = $a_defaultorderfield;
853  }
+ Here is the caller graph for this function:

◆ setDescription()

◆ setDisableFilterHiding()

◆ setDisplayAsBlock()

ilTable2GUI::setDisplayAsBlock ( bool  $a_val)

Definition at line 775 of file class.ilTable2GUI.php.

Referenced by assFileUploadFileTableGUI\__construct().

775  : void
776  {
777  $this->display_as_block = $a_val;
778  }
+ Here is the caller graph for this function:

◆ setEnableAllCommand()

ilTable2GUI::setEnableAllCommand ( bool  $a_value)

Definition at line 2611 of file class.ilTable2GUI.php.

Referenced by ilObjLearningSequenceContentTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), and ilStudyProgrammeMembersTableGUI\__construct().

2611  : void
2612  {
2613  $this->enable_command_for_all = $a_value;
2614  }
+ Here is the caller graph for this function:

◆ setEnableHeader()

ilTable2GUI::setEnableHeader ( bool  $a_enableheader)

Definition at line 418 of file class.ilTable2GUI.php.

Referenced by ilDashObjectsTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilLinksTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilModulesTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilExportTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilTrashTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), and ilRepositoryObjectSearchResultTableGUI\init().

418  : void
419  {
420  $this->enabled["header"] = $a_enableheader;
421  }
+ Here is the caller graph for this function:

◆ setEnableNumInfo()

◆ setEnableTitle()

ilTable2GUI::setEnableTitle ( bool  $a_enabletitle)

Definition at line 408 of file class.ilTable2GUI.php.

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilTrashTableGUI\init(), and ilLPObjectStatisticsLPTableGUI\init().

408  : void
409  {
410  $this->enabled["title"] = $a_enabletitle;
411  }
+ Here is the caller graph for this function:

◆ setExportFormats()

ilTable2GUI::setExportFormats ( array  $formats)

◆ setExternalSegmentation()

ilTable2GUI::setExternalSegmentation ( bool  $a_val)

Definition at line 829 of file class.ilTable2GUI.php.

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilLTIConsumerGradeSynchronizationTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilWaitingListTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilTrashTableGUI\init(), ilBuddySystemRelationsTableGUI\initFilter(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), and ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData().

829  : void
830  {
831  $this->ext_seg = $a_val;
832  }
+ Here is the caller graph for this function:

◆ setExternalSorting()

ilTable2GUI::setExternalSorting ( bool  $a_val)

Definition at line 793 of file class.ilTable2GUI.php.

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilModulesTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilLTIConsumerGradeSynchronizationTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilSessionMaterialsTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSCTreeDuplicatesTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilTrashTableGUI\init(), ilBuddySystemRelationsTableGUI\initFilter(), ilSCORMTrackingUsersTableGUI\parse(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), and ilMStShowUserCoursesTableGUI\parseData().

793  : void
794  {
795  $this->ext_sort = $a_val;
796  }
+ Here is the caller graph for this function:

◆ setFilterCols()

◆ setFilterCommand()

◆ setFilterValue()

ilTable2GUI::setFilterValue ( ilTableFilterItem  $a_item,
  $a_value 
)
protected
Parameters
string | array | null$a_value
Exceptions
ilDateTimeException

Definition at line 2356 of file class.ilTable2GUI.php.

References IL_CAL_DATE.

Referenced by addFilterItem(), ilTrMatrixTableGUI\getItems(), and ilTrMatrixTableGUI\initFilter().

2356  : void
2357  {
2358  if (method_exists($a_item, "setChecked")) {
2359  $a_item->setChecked((bool) $a_value);
2360  } elseif (method_exists($a_item, "setValue")) {
2361  $a_item->setValue($a_value);
2362  } elseif (method_exists($a_item, "setDate")) {
2363  $a_item->setDate(new ilDate($a_value, IL_CAL_DATE));
2364  }
2365  $a_item->writeToSession();
2366  }
const IL_CAL_DATE
+ Here is the caller graph for this function:

◆ setFormAction()

ilTable2GUI::setFormAction ( string  $a_form_action,
bool  $a_multipart = false 
)
final

Definition at line 736 of file class.ilTable2GUI.php.

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTestPersonalDefaultSettingsTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilECSExportedContentTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilContainerFilterTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilLinksTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilContributorTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilModulesTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilForumNotificationTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantPassesOverviewTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilDashboardSortationTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilParticipantsPerAssignmentTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilExportTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilExportIDTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilLTIConsumerGradeSynchronizationTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilStyleImageTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilContProfileTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilLTIConsumerProviderTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilObjStudyProgrammeIndividualPlanGUI\appendIndividualPlanActions(), ilSCTreeDuplicatesTableGUI\init(), ilObjectCopyCourseGroupSelectionTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilSCGroupTableGUI\init(), ilUserExportFileTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilTrashTableGUI\init(), ilSCTaskTableGUI\init(), ilLogComponentTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), ilForumTopicTableGUI\initMergeThreadsTable(), ilConsultationHourBookingTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputCommands(), ilForumTopicTableGUI\initTopicsOverviewTable(), and ilRepositorySearchGUI\showClipboard().

739  : void {
740  $this->form_action = $a_form_action;
741  $this->form_multipart = $a_multipart;
742  }
+ Here is the caller graph for this function:

◆ setFormName()

ilTable2GUI::setFormName ( string  $a_name = "")

Definition at line 749 of file class.ilTable2GUI.php.

Referenced by ilSurveyCodesTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilTestPersonalDefaultSettingsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantPassesOverviewTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilWaitingListTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilCalendarRecurrenceTableGUI\init(), ilUserExportFileTableGUI\init(), ilSessionParticipantsTableGUI\init(), and ilLearningSequenceParticipantsTableGUI\initForm().

749  : void
750  {
751  $this->formname = $a_name;
752  }
+ Here is the caller graph for this function:

◆ setHeaderHTML()

ilTable2GUI::setHeaderHTML ( string  $html)

Definition at line 2258 of file class.ilTable2GUI.php.

2258  : void
2259  {
2260  $this->headerHTML = $html;
2261  }

◆ setId()

ilTable2GUI::setId ( string  $a_val)

Definition at line 759 of file class.ilTable2GUI.php.

References getPrefix(), and setPrefix().

Referenced by ilMailSearchResultsTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilTestPersonalDefaultSettingsTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilSCTreeDuplicatesTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilUserClipboardTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilUserLPTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilLogComponentTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilRepositoryObjectSearchResultTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilObjectCopyProgressTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilLTIProviderReleasedObjectsTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilCalendarRecurrenceTableGUI\__construct(), ilSCORMTrackingItemsPerScoTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLOMemberTestResultTableGUI\__construct(), ilUserExportFileTableGUI\__construct(), ilECSServerTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSCORMTrackingItemsPerUserTableGUI\__construct(), ilSCORMTrackingUsersTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilModulesTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilTrashTableGUI\__construct(), ilSCORMTrackingItemPerUserTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSCORMTrackingItemsScoTableGUI\__construct(), ilForumNotificationTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilSCGroupTableGUI\__construct(), ilLearningSequenceParticipantsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilObjectTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilConsultationHourBookingTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilSCTaskTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilLOTestAssignmentTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilLTIConsumerProviderUsageTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ILIAS\Notifications\ilNotificationSettingsTable\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilLTIConsumerGradeSynchronizationTableGUI\__construct(), ilMDCopyrightUsageTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilWaitingListTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilTimingsPersonalTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilAdvancedMDRecordLanguageTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilTimingsManageTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilCourseReferenceDeleteConfirmationTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilRoleTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilLTIConsumerProviderTableGUI\__construct(), ilAssignmentsPerParticipantTableGUI\initMode(), and ilParticipantsPerAssignmentTableGUI\initMode().

759  : void
760  {
761  $this->id = $a_val;
762  if ($this->getPrefix() == "") {
763  $this->setPrefix($a_val);
764  }
765  if (strlen($this->id) > 30) {
766  throw new ilException("Table ID to long (max. 30 char): " . $this->id);
767  }
768  }
setPrefix(string $a_prefix)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setIsDataTable()

ilTable2GUI::setIsDataTable ( bool  $a_val)

Definition at line 398 of file class.ilTable2GUI.php.

Referenced by ilPDNewsTableGUI\__construct(), and __construct().

398  : void
399  {
400  $this->datatable = $a_val;
401  }
+ Here is the caller graph for this function:

◆ setLimit()

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

Definition at line 2650 of file class.ilTable2GUI.php.

Referenced by ilDashObjectsTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilUploadDirFilesTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilModulesTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), determineLimit(), ilLogComponentTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilLTIConsumerScoringTableGUI\initColumns(), and ilCmiXapiScoringTableGUI\initColumns().

2650  : void
2651  {
2652  parent::setLimit($a_limit, $a_default_limit);
2653 
2654  // #17077 - if limit is set "manually" to 9999, force rows selector off
2655  if ($a_limit == 9999 &&
2656  $this->limit_determined) {
2657  $this->rows_selector_off = true;
2658  }
2659  }
+ Here is the caller graph for this function:

◆ setNoEntriesText()

◆ setOpenFormTag()

ilTable2GUI::setOpenFormTag ( bool  $a_val)

Definition at line 187 of file class.ilTable2GUI.php.

Referenced by ilUploadDirFilesTableGUI\__construct(), ilObjTaxonomyGUI\listNodes(), and ilWikiPageTemplateGUI\listTemplates().

187  : void
188  {
189  $this->open_form_tag = $a_val;
190  }
+ Here is the caller graph for this function:

◆ setOrderField()

ilTable2GUI::setOrderField ( string  $a_order_field)

Definition at line 456 of file class.ilTable2GUI.php.

Referenced by determineOffsetAndOrder(), ilRegistrationCodesTableGUI\getItems(), and ilCalendarManageTableGUI\resetToDefaults().

456  : void
457  {
458  $this->order_field = $a_order_field;
459  }
+ Here is the caller graph for this function:

◆ setOrderLink()

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

Definition at line 986 of file class.ilTable2GUI.php.

References $ctrl, $DIC, getNavParameter(), and ilCtrl\setParameter().

Referenced by fillHeader().

986  : void
987  {
988  global $DIC;
989 
990  $ilUser = $DIC->user();
991 
992  $ilCtrl = $this->ctrl;
993 
994  $hash = "";
995 
996  $old = $this->requested_nav_par ?? '';
997 
998  // set order link
999  $ilCtrl->setParameter(
1000  $this->parent_obj,
1001  $this->getNavParameter(),
1002  urlencode($key) . ":" . $order_dir . ":" . $this->offset
1003  );
1004  $this->tpl->setVariable(
1005  "TBL_ORDER_LINK",
1006  $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd) . $hash
1007  );
1008 
1009  // set old value of nav variable
1010  $ilCtrl->setParameter(
1011  $this->parent_obj,
1012  $this->getNavParameter(),
1013  $old
1014  );
1015  }
global $DIC
Definition: shib_login.php:22
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPrefix()

ilTable2GUI::setPrefix ( string  $a_prefix)
final

Definition at line 481 of file class.ilTable2GUI.php.

References getRequestedValues().

Referenced by ilSurveyCodesTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantPassesOverviewTableGUI\__construct(), ilLearningSequenceParticipantsTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), assFileUploadFileTableGUI\initCommand(), and setId().

481  : void
482  {
483  $this->prefix = $a_prefix;
484  $this->getRequestedValues();
485  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPreventDoubleSubmission()

ilTable2GUI::setPreventDoubleSubmission ( bool  $a_val)

Definition at line 2640 of file class.ilTable2GUI.php.

2640  : void
2641  {
2642  $this->prevent_double_submission = $a_val;
2643  }

◆ setPrintMode()

ilTable2GUI::setPrintMode ( bool  $a_value = false)

Definition at line 2427 of file class.ilTable2GUI.php.

Referenced by ilTrUserObjectsPropsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), and ilTrObjectUsersPropsTableGUI\__construct().

2427  : void
2428  {
2429  $this->print_mode = $a_value;
2430  }
+ Here is the caller graph for this function:

◆ setResetCommand()

◆ setRowSelectorLabel()

ilTable2GUI::setRowSelectorLabel ( string  $row_selector_label)

Definition at line 2630 of file class.ilTable2GUI.php.

References $row_selector_label.

Referenced by ilForumTopicTableGUI\initMergeThreadsTable(), and ilForumTopicTableGUI\initTopicsOverviewTable().

2630  : void
2631  {
2632  $this->row_selector_label = $row_selector_label;
2633  }
string $row_selector_label
+ Here is the caller graph for this function:

◆ setRowTemplate()

ilTable2GUI::setRowTemplate ( string  $a_template,
string  $a_template_dir = "" 
)
final

Set row template.

Parameters
string$a_templateTemplate file name.
string$a_template_dirService/Module directory.

Definition at line 844 of file class.ilTable2GUI.php.

Referenced by ilDashObjectsTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilTestPersonalDefaultSettingsTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilECSExportedContentTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilContainerFilterTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilLinksTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilUserForTagTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilContributorTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilModulesTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilForumNotificationTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantPassesOverviewTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilDashboardSortationTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilExportTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ILIAS\Notifications\ilNotificationSettingsTable\__construct(), ilRegistrationCodesTableGUI\__construct(), ilLTIConsumerProviderUsageTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLTIConsumerGradeSynchronizationTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilExGradesTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilContProfileTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilLTIConsumerProviderTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilSCTreeDuplicatesTableGUI\init(), ilLTIProviderReleasedObjectsTableGUI\init(), ilUserClipboardTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilSCGroupTableGUI\init(), ilUserExportFileTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilTrashTableGUI\init(), ilSCTaskTableGUI\init(), ilLogComponentTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilLOMemberTestResultTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilObjectTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilRepositoryObjectSearchResultTableGUI\initRowTemplate(), ilECSServerTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), and ilForumTopicTableGUI\initTopicsOverviewTable().

844  : void
845  {
846  $this->row_template = $a_template;
847  $this->row_template_dir = $a_template_dir;
848  }
+ Here is the caller graph for this function:

◆ setSelectAllCheckbox()

ilTable2GUI::setSelectAllCheckbox ( string  $a_select_all_checkbox,
bool  $a_select_all_on_top = false 
)

Definition at line 785 of file class.ilTable2GUI.php.

Referenced by ilSurveyCodesTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilTestPersonalDefaultSettingsTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilContributorTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilForumNotificationTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ILIAS\Notifications\ilNotificationSettingsTable\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilContProfileTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilFileSystemTableGUI\addColumns(), ilUserClipboardTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilUserExportFileTableGUI\init(), ilTrashTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilRoleTableGUI\init(), assFileUploadFileTableGUI\initCommand(), ilLearningSequenceParticipantsTableGUI\initForm(), ilAssignmentsPerParticipantTableGUI\initMode(), ilParticipantsPerAssignmentTableGUI\initMode(), ilConsultationHourBookingTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), and ilForumTopicTableGUI\initTopicsOverviewTable().

788  : void {
789  $this->select_all_checkbox = $a_select_all_checkbox;
790  $this->select_all_on_top = $a_select_all_on_top;
791  }
+ Here is the caller graph for this function:

◆ setShowRowsSelector()

ilTable2GUI::setShowRowsSelector ( bool  $a_value)

Toggle rows-per-page selector.

Definition at line 2383 of file class.ilTable2GUI.php.

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilTestPersonalDefaultSettingsTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilWikiPagesTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilCalendarRecurrenceTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLogComponentTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilRoleTableGUI\init(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilConsultationHourBookingTableGUI\initTable(), ilForumTopicTableGUI\initTopicsOverviewTable(), and ILIAS\LegalDocuments\Legacy\Table\setMaxCount().

2383  : void
2384  {
2385  $this->show_rows_selector = $a_value;
2386  }
+ Here is the caller graph for this function:

◆ setTitle()

ilTable2GUI::setTitle ( string  $a_title,
string  $a_icon = "",
string  $a_icon_alt = "" 
)
final

Definition at line 438 of file class.ilTable2GUI.php.

Referenced by ilDashObjectsTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilTestPersonalDefaultSettingsTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilContainerFilterTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilLinksTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilContributorTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilForumNotificationTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilModulesTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilExportTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilMailTemplateTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilLTIConsumerProviderUsageTableGUI\__construct(), ILIAS\Notifications\ilNotificationSettingsTable\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilContProfileTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilLTIConsumerProviderTableGUI\__construct(), ilECSSettingsGUI\communities(), ilAdvancedMDSettingsGUI\editFields(), ilUserClipboardTableGUI\init(), ilSCGroupTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilTrashTableGUI\init(), ilSCTaskTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilLOMemberTestResultTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilRoleTableGUI\init(), ilForumTopicTableGUI\initMergeThreadsTable(), ilAssignmentsPerParticipantTableGUI\initMode(), ilParticipantsPerAssignmentTableGUI\initMode(), ilECSServerTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilLOTestAssignmentTableGUI\initTitle(), ilLPTableBaseGUI\parseTitle(), ilGlobalUnitCategoryTableGUI\populateTitle(), ilLocalUnitCategoryTableGUI\populateTitle(), and ilLDAPSettingsGUI\roleMapping().

442  : void {
443  parent::setTitle($a_title, $a_icon, $a_icon_alt);
444  }
+ Here is the caller graph for this function:

◆ setTopAnchor()

ilTable2GUI::setTopAnchor ( string  $a_val)

Definition at line 378 of file class.ilTable2GUI.php.

378  : void
379  {
380  $this->top_anchor = $a_val;
381  }

◆ setTopCommands()

◆ storeNavParameter()

ilTable2GUI::storeNavParameter ( )

Definition at line 1227 of file class.ilTable2GUI.php.

References getOffset(), ilTableGUI\getOrderDirection(), getOrderField(), and storeProperty().

Referenced by ilLPTableBaseGUI\executeCommand(), ilDclEditViewTableGUI\getHTML(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and getHTML().

1227  : void
1228  {
1229  if ($this->getOrderField() != "") {
1230  $this->storeProperty("order", $this->getOrderField());
1231  }
1232  if ($this->getOrderDirection() != "") {
1233  $this->storeProperty("direction", $this->getOrderDirection());
1234  }
1235  if ($this->getOffset() >= 0) {
1236  $this->storeProperty("offset", (string) $this->getOffset());
1237  }
1238  }
storeProperty(string $type, string $value)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ storeProperty()

ilTable2GUI::storeProperty ( string  $type,
string  $value 
)

Definition at line 2263 of file class.ilTable2GUI.php.

References $DIC, getId(), and null.

Referenced by determineLimit(), determineSelectedColumns(), determineSelectedFilters(), ilLPTableBaseGUI\executeCommand(), and storeNavParameter().

2263  : void
2264  {
2265  global $DIC;
2266 
2267  $ilUser = null;
2268  if (isset($DIC["ilUser"])) {
2269  $ilUser = $DIC["ilUser"];
2270  }
2271 
2272  if (is_object($ilUser) && $this->getId() != "") {
2273  $tab_prop = new ilTablePropertiesStorageGUI();
2274 
2275  $tab_prop->storeProperty($this->getId(), $ilUser->getId(), $type, $value);
2276  }
2277  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ writeFilterToSession()

ilTable2GUI::writeFilterToSession ( )

Definition at line 1658 of file class.ilTable2GUI.php.

References getFilterItems(), isAdvMDFilter(), and null.

Referenced by ilObjSCORMLearningModuleGUI\applyUserTableFilter(), ilLPTableBaseGUI\executeCommand(), and ILIAS\LegalDocuments\Legacy\Table\setupFilter().

1658  : void
1659  {
1660  $advmd_record_gui = null;
1661  if (method_exists($this, "getAdvMDRecordGUI")) {
1662  $advmd_record_gui = $this->getAdvMDRecordGUI();
1663  }
1664 
1665  foreach ($this->getFilterItems() as $item) {
1666  if ($advmd_record_gui &&
1667  $this->isAdvMDFilter($advmd_record_gui, $item)) {
1668  continue;
1669  }
1670 
1671  if ($item->checkInput()) {
1672  $item->setValueByArray($this->raw_post_data);
1673  $item->writeToSession();
1674  }
1675  }
1676  foreach ($this->getFilterItems(true) as $item) {
1677  if ($advmd_record_gui &&
1678  $this->isAdvMDFilter($advmd_record_gui, $item)) {
1679  continue;
1680  }
1681 
1682  if ($item->checkInput()) {
1683  $item->setValueByArray($this->raw_post_data);
1684  $item->writeToSession();
1685  }
1686  }
1687 
1688  if ($advmd_record_gui) {
1689  $advmd_record_gui->importFilter();
1690  }
1691  }
isAdvMDFilter(ilAdvancedMDRecordGUI $a_gui, ilTableFilterItem $a_element)
Check if filter element is based on adv md.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getFilterItems(bool $a_optionals=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $buttons

◆ $close_command

string ilTable2GUI::$close_command = ""
protected

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

◆ $close_form_tag

bool ilTable2GUI::$close_form_tag = true
protected

Definition at line 75 of file class.ilTable2GUI.php.

Referenced by getCloseFormTag().

◆ $column

◆ $columns_determined

bool ilTable2GUI::$columns_determined = false
protected

Definition at line 73 of file class.ilTable2GUI.php.

◆ $context

◆ $css_row

string ilTable2GUI::$css_row = ''
protected

Definition at line 90 of file class.ilTable2GUI.php.

Referenced by ilForumTopicTableGUI\initMergeThreadsTable().

◆ $ctrl

ilCtrl ilTable2GUI::$ctrl
protected

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

Referenced by ilBookingBulkCreationTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilParticipantsPerAssignmentTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilStyleImageTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), fillFooter(), ilFoundUsersTableGUI\fillRow(), ilWikiSearchResultsTableGUI\fillRow(), ilLMGlossaryTableGUI\fillRow(), ilLMMenuItemsTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilTaxonomyListTableGUI\fillRow(), ilRatingCategoryTableGUI\fillRow(), ilNewsForContextTableGUI\fillRow(), ilPublicSubmissionsTableGUI\fillRow(), ilHelpModuleTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilContentStylesTableGUI\fillRow(), ilStyleMediaQueryTableGUI\fillRow(), ilBookingSchedulesTableGUI\fillRow(), ilMediaCastTableGUI\fillRow(), ilStyleColorTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilTableTemplatesTableGUI\fillRow(), ilExerciseVerificationTableGUI\fillRow(), ilClipboardTableGUI\fillRow(), ilPortfolioPageTableGUI\fillRow(), ilObjWorkspaceFolderTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilSurveySkillAssignmentTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilSurveySkillThresholdsTableGUI\fillRow(), ilTaxonomyTableGUI\fillRow(), ilCopySelfAssQuestionTableGUI\fillRow(), ilNewItemGroupTableGUI\fillRow(), ilContProfileTableGUI\fillRow(), ilSkillCatTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilAssignmentsTableGUI\fillRow(), ilSkillLevelTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilWorkspaceAccessTableGUI\fillRow(), ilAdminSubItemsTableGUI\fillRow(), ilBookingParticipantsTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilAssignmentsPerParticipantTableGUI\fillRow(), ilSurveyQuestionTableGUI\fillRow(), ilWikiPagesTableGUI\fillRow(), ilBookingObjectsTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilParticipantsPerAssignmentTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilBookingReservationsTableGUI\fillRow(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), getHTML(), getLinkbar(), getSelectedColumns(), ilSurveyQuestionTableGUI\importData(), ilObjWikiSearchResultTableGUI\parse(), ilExerciseSubmissionTableGUI\parseColumns(), ilAssignmentsPerParticipantTableGUI\parseData(), ilMediaPoolTableGUI\render(), and setOrderLink().

◆ $custom_next

string ilTable2GUI::$custom_next = ""
protected

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

◆ $custom_prev

string ilTable2GUI::$custom_prev = ""
protected

Definition at line 115 of file class.ilTable2GUI.php.

◆ $custom_prev_next

bool ilTable2GUI::$custom_prev_next = false
protected

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

◆ $datatable

bool ilTable2GUI::$datatable = false
protected

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

Referenced by getIsDataTable().

◆ $default_filter_visibility

bool ilTable2GUI::$default_filter_visibility = false
protected

Definition at line 82 of file class.ilTable2GUI.php.

Referenced by getDefaultFilterVisibility().

◆ $defaultorderdirection

string ilTable2GUI::$defaultorderdirection = ""
protected

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

Referenced by getDefaultOrderDirection().

◆ $defaultorderfield

string ilTable2GUI::$defaultorderfield = ""
protected

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

Referenced by getDefaultOrderField().

◆ $description

string ilTable2GUI::$description = ''
protected

Definition at line 92 of file class.ilTable2GUI.php.

Referenced by ilSearchResultTableGUI\fillRow(), and getDescription().

◆ $disable_filter_hiding

bool ilTable2GUI::$disable_filter_hiding = false
protected

Definition at line 63 of file class.ilTable2GUI.php.

Referenced by getDisableFilterHiding().

◆ $display_as_block

bool ilTable2GUI::$display_as_block = false
protected

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

Referenced by getDisplayAsBlock().

◆ $enable_command_for_all

bool ilTable2GUI::$enable_command_for_all = false
protected

Definition at line 79 of file class.ilTable2GUI.php.

◆ $export_formats

array ilTable2GUI::$export_formats = []
protected

Definition at line 76 of file class.ilTable2GUI.php.

◆ $export_mode

int ilTable2GUI::$export_mode = 0
protected

Definition at line 77 of file class.ilTable2GUI.php.

Referenced by getExportMode().

◆ $ext_seg

bool ilTable2GUI::$ext_seg = false
protected

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

Referenced by getExternalSegmentation().

◆ $ext_sort

bool ilTable2GUI::$ext_sort = false
protected

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

Referenced by getExternalSorting().

◆ $filter_cmd

string ilTable2GUI::$filter_cmd = 'applyFilter'
protected

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

Referenced by getFilterCommand().

◆ $filter_cmd_txt

string ilTable2GUI::$filter_cmd_txt = ""
protected

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

◆ $filter_cols

int ilTable2GUI::$filter_cols = 5
protected

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

Referenced by getFilterCols().

◆ $filters

array ilTable2GUI::$filters = array()
protected

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

Referenced by getFilterItems().

◆ $filters_determined

bool ilTable2GUI::$filters_determined = false
protected

Definition at line 72 of file class.ilTable2GUI.php.

◆ $form_action

string ilTable2GUI::$form_action = ""
protected

Definition at line 105 of file class.ilTable2GUI.php.

Referenced by getFormAction().

◆ $form_multipart

bool ilTable2GUI::$form_multipart = false
protected

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

◆ $formname

string ilTable2GUI::$formname = ""
protected

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

Referenced by assFileUploadFileTableGUI\__construct(), and getFormName().

◆ $header_commands

array ilTable2GUI::$header_commands = []
protected

Definition at line 111 of file class.ilTable2GUI.php.

◆ $headerHTML

string ilTable2GUI::$headerHTML = ""
private

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

◆ $hidden_inputs

array ilTable2GUI::$hidden_inputs = []
protected

Definition at line 110 of file class.ilTable2GUI.php.

◆ $id

string ilTable2GUI::$id = ""
protected

Definition at line 93 of file class.ilTable2GUI.php.

Referenced by ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilUserTableGUI\addFilterItemByUdfType(), ilDclRecordListTableGUI\buildData(), ilSCTreeDuplicatesTableGUI\fillRow(), ilSCGroupTableGUI\fillRow(), ilSCTaskTableGUI\fillRow(), ilUserRoleStartingPointTableGUI\fillRow(), ilOrgUnitPermissionTableGUI\fillSelectAll(), ilWebDAVMountInstructionsDocumentTableGUI\formatTitle(), ilMDCopyrightTableGUI\getActionsForEntry(), ilQuestionBrowserTableGUI\getCommentsHtml(), ilLPTableBaseGUI\getCurrentFilter(), ilLPObjectStatisticsTypesTableGUI\getGraph(), getId(), ilTestSkillLevelThresholdsTableGUI\getInputElements(), ilContributorTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilTrSummaryTableGUI\getItemsPercentages(), ilTrSummaryTableGUI\getItemsPercentagesStatus(), ilSurveySkillAssignmentTableGUI\getQuestions(), ilTrMatrixTableGUI\getSelectableColumns(), ilExerciseSubmissionTableGUI\getSelectableColumns(), ilSurveyQuestionTableGUI\importData(), ilBookingReservationsTableGUI\initFilter(), ilStudyProgrammeMembersTableGUI\initFilter(), ilUserTableGUI\initFilter(), ilObjectOwnershipManagementTableGUI\initItems(), SurveyConstraintsTableGUI\initItems(), ilCalendarSharedUserListTableGUI\parse(), ilCalendarSharedRoleListTableGUI\parse(), ilExerciseSubmissionTableGUI\parseColumns(), ilAdvancedMDRecordExportFilesTableGUI\parseFiles(), ilForumNotificationTableGUI\populateWithModal(), and setContext().

◆ $limit_determined

bool ilTable2GUI::$limit_determined = false
protected

Definition at line 71 of file class.ilTable2GUI.php.

◆ $main_tpl

◆ $mi_sel_buttons

array ilTable2GUI::$mi_sel_buttons = []
protected

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

◆ $multi

array ilTable2GUI::$multi = []
protected

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

◆ $nav_determined

bool ilTable2GUI::$nav_determined = false
protected

Definition at line 70 of file class.ilTable2GUI.php.

◆ $nav_value

string ilTable2GUI::$nav_value = ''
protected

Definition at line 88 of file class.ilTable2GUI.php.

Referenced by getLinkbar(), and resetOffset().

◆ $noentriestext

string ilTable2GUI::$noentriestext = ''
protected

Definition at line 89 of file class.ilTable2GUI.php.

Referenced by getNoEntriesText().

◆ $num_info

bool ilTable2GUI::$num_info = false
protected

Definition at line 100 of file class.ilTable2GUI.php.

Referenced by getEnableNumInfo().

◆ $open_form_tag

bool ilTable2GUI::$open_form_tag = true
protected

Definition at line 74 of file class.ilTable2GUI.php.

Referenced by getOpenFormTag().

◆ $optional_filters

array ilTable2GUI::$optional_filters = array()
protected

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

Referenced by getFilterItems().

◆ $order_field

string ilTable2GUI::$order_field = ""
protected

Definition at line 103 of file class.ilTable2GUI.php.

Referenced by ilUserTableGUI\getItems(), and getOrderField().

◆ $parent_cmd

◆ $parent_obj

object ilTable2GUI::$parent_obj = null
protected

◆ $prevent_double_submission

bool ilTable2GUI::$prevent_double_submission = true
protected

Definition at line 84 of file class.ilTable2GUI.php.

Referenced by getPreventDoubleSubmission().

◆ $print_mode

bool ilTable2GUI::$print_mode = false
protected

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

Referenced by getPrintMode().

◆ $raw_post_data

array ilTable2GUI::$raw_post_data = null
protected

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

◆ $requested_nav_par

string ilTable2GUI::$requested_nav_par = ""
protected

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

Referenced by determineOffsetAndOrder().

◆ $requested_nav_par1

string ilTable2GUI::$requested_nav_par1 = ""
protected

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

Referenced by determineOffsetAndOrder().

◆ $requested_nav_par2

string ilTable2GUI::$requested_nav_par2 = ""
protected

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

Referenced by determineOffsetAndOrder().

◆ $reset_cmd

string ilTable2GUI::$reset_cmd = 'resetFilter'
protected

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

Referenced by getResetCommand().

◆ $reset_cmd_txt

string ilTable2GUI::$reset_cmd_txt = ""
protected

Definition at line 95 of file class.ilTable2GUI.php.

◆ $restore_filter

bool ilTable2GUI::$restore_filter = false
protected

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

◆ $restore_filter_values

array ilTable2GUI::$restore_filter_values = []
protected

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

◆ $row_data

array ilTable2GUI::$row_data = []
protected

Definition at line 102 of file class.ilTable2GUI.php.

Referenced by getData().

◆ $row_selector_label

string ilTable2GUI::$row_selector_label = ""
protected

Definition at line 85 of file class.ilTable2GUI.php.

Referenced by getRowSelectorLabel(), and setRowSelectorLabel().

◆ $row_template

string ilTable2GUI::$row_template = ""
protected

Definition at line 112 of file class.ilTable2GUI.php.

◆ $row_template_dir

string ilTable2GUI::$row_template_dir = ""
protected

Definition at line 113 of file class.ilTable2GUI.php.

◆ $rows_selector_off

bool ilTable2GUI::$rows_selector_off = false
protected

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

◆ $sel_buttons

array ilTable2GUI::$sel_buttons = []
protected

Definition at line 87 of file class.ilTable2GUI.php.

◆ $select_all_on_top

bool ilTable2GUI::$select_all_on_top = false
protected

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

◆ $selectable_columns

array ilTable2GUI::$selectable_columns = array()
protected

◆ $selected_column

array ilTable2GUI::$selected_column = array()
protected

Definition at line 66 of file class.ilTable2GUI.php.

Referenced by getCurrentState().

◆ $selected_columns

array ilTable2GUI::$selected_columns = []
protected

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

◆ $selected_filter

array ilTable2GUI::$selected_filter = []
protected

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

◆ $show_rows_selector

bool ilTable2GUI::$show_rows_selector = true
protected

Definition at line 67 of file class.ilTable2GUI.php.

Referenced by getShowRowsSelector().

◆ $sort_order

string ilTable2GUI::$sort_order = ""
protected

Definition at line 107 of file class.ilTable2GUI.php.

Referenced by fillHeader().

◆ $sortable_fields

array ilTable2GUI::$sortable_fields = array()
protected

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

◆ $table_request

ILIAS Table TableGUIRequest ilTable2GUI::$table_request = null
protected

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

◆ $top_anchor

string ilTable2GUI::$top_anchor = "il_table_top"
protected

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

Referenced by getTopAnchor().

◆ $top_commands

bool ilTable2GUI::$top_commands = true
protected

Definition at line 64 of file class.ilTable2GUI.php.

Referenced by getTopCommands().

◆ $ui

◆ $unique_id

string ilTable2GUI::$unique_id = ""
private

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

Referenced by __construct().

◆ ACTION_ALL_LIMIT

const ilTable2GUI::ACTION_ALL_LIMIT = 1000

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

◆ EXPORT_CSV

const ilTable2GUI::EXPORT_CSV = 2

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

◆ EXPORT_EXCEL

const ilTable2GUI::EXPORT_EXCEL = 1

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

◆ FILTER_CHECKBOX

◆ FILTER_DATE

const ilTable2GUI::FILTER_DATE = 3

Definition at line 29 of file class.ilTable2GUI.php.

◆ FILTER_DATE_RANGE

◆ FILTER_DATETIME_RANGE

const ilTable2GUI::FILTER_DATETIME_RANGE = 8

◆ FILTER_DURATION_RANGE

const ilTable2GUI::FILTER_DURATION_RANGE = 7

◆ FILTER_LANGUAGE

const ilTable2GUI::FILTER_LANGUAGE = 4

◆ FILTER_NUMBER_RANGE

◆ FILTER_SELECT

◆ FILTER_TEXT


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