ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilTable2GUI Class Reference

Class ilTable2GUI. More...

+ Inheritance diagram for ilTable2GUI:
+ Collaboration diagram for ilTable2GUI:

Public Member Functions

 __construct ($a_parent_obj, $a_parent_cmd="", $a_template_context="")
 ilTable2GUI constructor. More...
 
 setOpenFormTag ($a_val)
 Set open form tag. More...
 
 getOpenFormTag ()
 Get open form tag. More...
 
 setCloseFormTag ($a_val)
 Set close form tag. More...
 
 getCloseFormTag ()
 Get close form tag. More...
 
 determineLimit ()
 Determine the limit. More...
 
 getSelectableColumns ()
 Get selectable columns. More...
 
 determineSelectedColumns ()
 Determine selected columns. More...
 
 isColumnSelected ($a_col)
 Is given column selected? More...
 
 getSelectedColumns ()
 Get selected columns. More...
 
 executeCommand ()
 Execute command. More...
 
 resetOffset ($a_in_determination=false)
 Reset offset. More...
 
 initFilter ()
 Init filter. More...
 
 getParentObject ()
 Get parent object. More...
 
 getParentCmd ()
 Get parent command. More...
 
 setTopAnchor ($a_val)
 Set top anchor. More...
 
 getTopAnchor ()
 Get top anchor. More...
 
 setNoEntriesText ($a_text)
 Set text for an empty table. More...
 
 getNoEntriesText ()
 Get text for an empty table. More...
 
 setIsDataTable ($a_val)
 Set is data table. More...
 
 getIsDataTable ()
 Get is data table. More...
 
 setEnableTitle ($a_enabletitle)
 Set Enable Title. More...
 
 getEnableTitle ()
 Get Enable Title. More...
 
 setEnableHeader ($a_enableheader)
 Set Enable Header. More...
 
 getEnableHeader ()
 Get Enable Header. More...
 
 setEnableNumInfo ($a_val)
 Set enable num info. More...
 
 getEnableNumInfo ()
 Get enable num info. More...
 
 setTitle ($a_title, $a_icon=0, $a_icon_alt=0)
 Set title and title icon. More...
 
 setDescription ($a_val)
 Set description. More...
 
 getDescription ()
 Get description. More...
 
 setOrderField ($a_order_field)
 set order column More...
 
 getOrderField ()
 
 setData ($a_data)
 set table data @access public More...
 
 getData ()
 
 dataExists ()
 
 setPrefix ($a_prefix)
 set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort separately) @access public More...
 
 getPrefix ()
 
 addFilterItem ($a_input_item, $a_optional=false)
 Add filter item. More...
 
 addFilterItemByMetaType ($id, $type=self::FILTER_TEXT, $a_optional=false, $caption=null)
 Add filter by standard type. More...
 
 getFilterItems ($a_optionals=false)
 Get filter items. More...
 
 getFilterItemByPostVar ($a_post_var)
 
 setFilterCols ($a_val)
 Set filter columns. More...
 
 getFilterCols ()
 Get filter columns. More...
 
 setDisableFilterHiding ($a_val=true)
 Set disable filter hiding. More...
 
 getDisableFilterHiding ()
 Get disable filter hiding. More...
 
 isFilterSelected ($a_col)
 Is given filter selected? More...
 
 getSelectedFilters ()
 Get selected filters. More...
 
 determineSelectedFilters ()
 Determine selected filters. More...
 
 setCustomPreviousNext ($a_prev_link, $a_next_link)
 Set custom previous/next links. More...
 
 setFormAction ($a_form_action, $a_multipart=false)
 Set Form action parameter. More...
 
 getFormAction ()
 Get Form action parameter. More...
 
 setFormName ($a_formname="")
 Set Form name. More...
 
 getFormName ()
 Get Form name. More...
 
 setId ($a_val)
 Set id. More...
 
 getId ()
 Get element id. More...
 
 setDisplayAsBlock ($a_val)
 Set display as block. More...
 
 getDisplayAsBlock ()
 Get display as block. More...
 
 getSelectAllCheckbox ()
 Get the name of the checkbox that should be toggled with a select all button. More...
 
 setSelectAllCheckbox ($a_select_all_checkbox, $a_select_all_on_top=false)
 Set the name of the checkbox that should be toggled with a select all button. More...
 
 setExternalSorting ($a_val)
 Set external sorting. More...
 
 getExternalSorting ()
 Get external sorting. More...
 
 setFilterCommand ($a_val, $a_caption=null)
 Set filter command. More...
 
 getFilterCommand ()
 Get filter command. More...
 
 setResetCommand ($a_val, $a_caption=null)
 Set reset filter command. More...
 
 getResetCommand ()
 Get reset filter command. More...
 
 setExternalSegmentation ($a_val)
 Set external segmentation. More...
 
 getExternalSegmentation ()
 Get external segmentation. More...
 
 setRowTemplate ($a_template, $a_template_dir="")
 Set row template. More...
 
 setDefaultOrderField ($a_defaultorderfield)
 Set Default order field. More...
 
 getDefaultOrderField ()
 Get Default order field. More...
 
 setDefaultOrderDirection ($a_defaultorderdirection)
 Set Default order direction. More...
 
 getDefaultOrderDirection ()
 Get Default order direction. More...
 
 setDefaultFilterVisiblity ($a_status)
 Set default filter visiblity. More...
 
 getDefaultFilterVisibility ()
 Get default filter visibility. More...
 
 clearCommandButtons ()
 
 addCommandButton ($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
 Add Command button. More...
 
 addCommandButtonInstance (ilButtonBase $a_button)
 Add Command button instance. More...
 
 addSelectionButton ($a_sel_var, $a_options, $a_cmd, $a_text, $a_default_selection='')
 Add Selection List + Command button. More...
 
 addMultiItemSelectionButton ($a_sel_var, $a_options, $a_cmd, $a_text, $a_default_selection='')
 Add Selection List + Command button for selected items. More...
 
 setCloseCommand ($a_link)
 Add command for closing table. More...
 
 addMultiCommand ($a_cmd, $a_text)
 Add Command button. More...
 
 addHiddenInput ($a_name, $a_value)
 Add Hidden Input field. More...
 
 addHeaderCommand ($a_href, $a_text, $a_target="", $a_img="")
 Add Header Command (Link) (Image needed for now) More...
 
 setTopCommands ($a_val)
 Set top commands (display command buttons on top of table, too) More...
 
 getTopCommands ()
 Get top commands (display command buttons on top of table, too) More...
 
 addColumn ( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
 Add a column to the header. More...
 
 getNavParameter ()
 
 setOrderLink ($sort_field, $order_dir)
 
 fillHeader ()
 
 determineOffsetAndOrder ($a_omit_offset=false)
 Determine offset and order. More...
 
 storeNavParameter ()
 
 getHTML ()
 Get HTML. More...
 
 numericOrdering ($a_field)
 Should this field be sorted numeric? More...
 
 render ()
 render table @access public More...
 
 writeFilterToSession ()
 Write filter values to session. More...
 
 resetFilter ()
 Reset filter. More...
 
 fillFooter ()
 Fill footer row. More...
 
 getLinkbar ($a_num)
 Get previous/next linkbar. More...
 
 fillHiddenRow ()
 
 fillActionRow ()
 Fill Action Row. More...
 
 setHeaderHTML ($html)
 set header html More...
 
 storeProperty ($type, $value)
 Store table property. More...
 
 loadProperty ($type)
 Load table property. More...
 
 getCurrentState ()
 get current settings for order, limit, columns and filter More...
 
 setContext ($id)
 Set context. More...
 
 getContext ()
 Get context. More...
 
 setShowRowsSelector ($a_value)
 Toggle rows-per-page selector. More...
 
 getShowRowsSelector ()
 Get rows-per-page selector state. More...
 
 setShowTemplates ($a_value)
 Toggle templates. More...
 
 getShowTemplates ()
 Get template state. More...
 
 restoreTemplate ($a_name)
 Restore state from template. More...
 
 saveTemplate ($a_name)
 Save current state as template. More...
 
 deleteTemplate ($a_name)
 Delete template. More...
 
 getLimit ()
 Get limit. More...
 
 getOffset ()
 Get offset. More...
 
 setExportFormats (array $formats)
 Set available export formats. More...
 
 setPrintMode ($a_value=false)
 Toogle print mode. More...
 
 getPrintMode ()
 Get print mode. More...
 
 getExportMode ()
 Was export activated? More...
 
 exportData ($format, $send=false)
 Export and optionally send current table data. More...
 
 setEnableAllCommand ($a_value)
 Enable actions for all entries in current result. More...
 
 setRowSelectorLabel ($row_selector_label)
 
 getRowSelectorLabel ()
 
 setPreventDoubleSubmission ($a_val)
 Set prevent double submission. More...
 
 getPreventDoubleSubmission ()
 Get prevent double submission. More...
 
 setLimit ($a_limit=0, $a_default_limit=0)
 set max. More...
 
- Public Member Functions inherited from ilTableGUI
 __construct ($a_data=0, $a_global_tpl=true)
 Constructor. More...
 
 setTemplate ($a_tpl)
 set template @access public More...
 
getTemplateObject ()
 
 setData ($a_data)
 set table data @access public More...
 
 getData ()
 
 setTitle ($a_title, $a_icon=0, $a_icon_alt=0)
 set table title @access public More...
 
 setHelp ($a_help_page, $a_help_icon, $a_help_icon_alt=0)
 set table help page @access public More...
 
 setHeaderNames ($a_header_names)
 set table header names @access public More...
 
 getColumnCount ()
 Returns the column count based on the number of the header row columns @access public. More...
 
 setHeaderVars ($a_header_vars, $a_header_params=0)
 set table header vars @access public More...
 
 setColumnWidth ($a_column_width)
 set table column widths @access public More...
 
 setOneColumnWidth ($a_column_width, $a_column_number)
 set one table column width @access public More...
 
 setMaxCount ($a_max_count)
 set max. More...
 
 setLimit ($a_limit=0, $a_default_limit=0)
 set max. More...
 
 getLimit ()
 Get limit. More...
 
 setPrefix ($a_prefix)
 set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort separately) @access public More...
 
 setOffset ($a_offset)
 set dataset offset @access public More...
 
 getOffset ()
 Get offset. More...
 
 setOrderColumn ($a_order_column=0, $a_default_column=0)
 set order column @access public More...
 
 getOrderColumn ()
 Get order column. More...
 
 setOrderDirection ($a_order_direction)
 set order direction @access public More...
 
 getOrderDirection ()
 Get order direction. More...
 
 setFooter ($a_style, $a_previous=0, $a_next=0)
 set order direction @access public More...
 
 enable ($a_module_name)
 enables particular modules of table More...
 
 disable ($a_module_name)
 diesables particular modules of table More...
 
 sortData ()
 
 render ()
 render table @access public More...
 
 renderHeader ()
 
 setOrderLink ($key, $order_dir)
 
 setStyle ($a_element, $a_style)
 
 getStyle ($a_element)
 
 setBase ($a_base)
 Set Base script name (deprecated, only use this for workarounds). More...
 
 getBase ()
 Get Base script name (deprecated, only use this for workarounds). More...
 
 getFormName ()
 
 setFormName ($a_name="cmd")
 
 getSelectAllCheckbox ()
 
 setSelectAllCheckbox ($a_select_all_checkbox)
 
 clearActionButtons ()
 
 addActionButton ($btn_name, $btn_value)
 

Static Public Member Functions

static getAllCommandLimit ()
 Get maximum number of entries to enable actions for all. More...
 

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

Protected Member Functions

 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, $a_element)
 Check if filter element is based on adv md. More...
 
 fillRow ($a_set)
 Standard Version of Fill Row. More...
 
 getFilterValue (ilFormPropertyGUI $a_item)
 Get current filter value. More...
 
 SetFilterValue (ilFormPropertyGUI $a_item, $a_value)
 Set current filter value. More...
 
 fillMetaExcel (ilExcel $a_excel, &$a_row)
 Add meta information to excel export. More...
 
 fillHeaderExcel (ilExcel $a_excel, &$a_row)
 Excel Version of Fill Header. More...
 
 fillRowExcel (ilExcel $a_excel, &$a_row, $a_set)
 Excel Version of Fill Row. More...
 
 fillMetaCSV ($a_csv)
 Add meta information to csv export. More...
 
 fillHeaderCSV ($a_csv)
 CSV Version of Fill Header. More...
 
 fillRowCSV ($a_csv, $a_set)
 CSV Version of Fill Row. More...
 

Protected Attributes

 $ctrl
 
 $tpl
 
 $parent_obj
 
 $parent_cmd
 
 $close_command = ""
 
 $top_anchor = "il_table_top"
 
 $filters = array()
 
 $optional_filters = array()
 
 $filter_cmd = 'applyFilter'
 
 $reset_cmd = 'resetFilter'
 
 $filter_cols = 5
 
 $ext_sort = false
 
 $ext_seg = false
 
 $context = ""
 
 $mi_sel_buttons = []
 
 $disable_filter_hiding = false
 
 $selected_filter = false
 
 $top_commands = true
 
 $selectable_columns = array()
 
 $selected_column = array()
 
 $show_templates = false
 
 $show_rows_selector = true
 
 $rows_selector_off = false
 
 $nav_determined = false
 
 $limit_determined = false
 
 $filters_determined = false
 
 $columns_determined = false
 
 $open_form_tag = true
 
 $close_form_tag = true
 
 $export_formats = []
 
 $export_mode
 
 $print_mode
 
 $enable_command_for_all
 
 $restore_filter
 
 $restore_filter_values
 
 $default_filter_visibility = false
 
 $sortable_fields = array()
 
 $prevent_double_submission = true
 
 $row_selector_label
 
 $select_all_on_top = false
 
 $sel_buttons = []
 
- Protected Attributes inherited from ilTableGUI
 $tpl
 
 $lng
 

Private Member Functions

 renderFilter ()
 Render Filter section. More...
 

Private Attributes

 $unique_id
 
 $headerHTML
 

Detailed Description

Class ilTable2GUI.

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
Version
Id
class.ilTableGUI.php 12818 2006-12-10 13:14:43Z akill

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

Constructor & Destructor Documentation

◆ __construct()

ilTable2GUI::__construct (   $a_parent_obj,
  $a_parent_cmd = "",
  $a_template_context = "" 
)

ilTable2GUI constructor.

Parameters
object$a_parent_objob Mostly ILIAS-GUI-Classes
string$a_parent_cmd
string$a_template_context

Reimplemented in ilPCTabsTableGUI, ilStudyProgrammeAutoCategoriesTableGUI, ilStudyProgrammeAutoMembershipsTableGUI, ilWikiContributorsTableGUI, ilWikiRecentChangesTableGUI, ilSCORMVerificationTableGUI, ilSCTaskTableGUI, ilConsultationHoursTableGUI, ilLMGlossaryTableGUI, ilSCORMOfflineModeUsersTableGUI, ilSCORMTrackingItemPerUserTableGUI, ilSCORMTrackingItemsPerScoTableGUI, ilSCORMTrackingItemsPerUserTableGUI, ilSCORMTrackingItemsScoTableGUI, ilSCORMTrackingUsersTableGUI, ilObjectCopySearchResultTableGUI, ilCourseObjectiveMaterialAssignmentTableGUI, ilRepositoryObjectResultTableGUI, ilFeedbackConfirmationTable2GUI, SurveyMaterialsSourceTableGUI, ilExcCriteriaTableGUI, ilCalendarAppointmentsTableGUI, ilHelpTooltipTableGUI, ilCourseGroupingTableGUI, ilPCIIMPopupTableGUI, ilSkillLevelProfileAssignmentTableGUI, ilConditionHandlerTableGUI, ilAssignmentsTableGUI, ilExcCriteriaCatalogueTableGUI, ilDclExportTableGUI, ilTestExportTableGUI, ilQuestionPoolExportTableGUI, ilExportTableGUI, ilPCFileListTableGUI, ilUploadDirFilesTableGUI, ilLanguageTableGUI, ilMemberExportFileTableGUI, ilHelpModuleTableGUI, ilObjectCopyProgressTableGUI, ilObjectTableGUI, ilUserClipboardTableGUI, ilLMBlockedUsersTableGUI, ilLMPagesTableGUI, ilLMQuestionListTableGUI, ilLMMenuItemsTableGUI, ilImageMapTableGUI, ilPCIIMOverlaysTableGUI, ilMobSubtitleTableGUI, ilCourseStartObjectsTableGUI, ilLanguageExtTableGUI, ilRatingCategoryTableGUI, ilCopySelfAssQuestionTableGUI, ilSearchResultTableGUI, ilBookingSchedulesTableGUI, ilOrgUnitPermissionTableGUI, ilObjectRolePermissionTableGUI, ilRbacLogTableGUI, ilRepositoryObjectSearchResultTableGUI, ilUserLPTableGUI, ilScormSpecialPagesTableGUI, ilWebResourceLinkTableGUI, ilStyleColorTableGUI, ilStyleImageTableGUI, ilStyleMediaQueryTableGUI, ilSurveySkillAssignmentTableGUI, ilSurveySkillTableGUI, ilUserForTagTableGUI, ilTermListTableGUI, ilTermUsagesTableGUI, ilSettingsTemplateTableGUI, ilPortfolioTableGUI, ilConsultationHourBookingTableGUI, ilConsultationHourGroupTableGUI, ilBadgePersonalTableGUI, ilHelpMappingTableGUI, ilWikiPageTemplatesTableGUI, ilSurveyMaterialsTableGUI, ilSurveyQuestionsTableGUI, ilAssessmentFolderLogAdministrationTableGUI, ilSkillProfileTableGUI, ilSCORM2004ExportTableGUI, ilSurveyMaintenanceTableGUI, ilSurveyQuestionPoolExportTableGUI, ilSurveyPhrasesTableGUI, assFileUploadFileTableGUI, ilSurveyResultsUserTableGUI, ilCmiXapiStatementsTableGUI, ilQuestionPoolPrintViewTableGUI, ilTestQuestionsTableGUI, ilCourseParticipantsGroupsTableGUI, ilTrMatrixTableGUI, ilDashObjectsTableGUI, ilBadgeTypesTableGUI, ilBadgeImageTemplateTableGUI, ilObjectBadgeTableGUI, ilModulesTableGUI, ilNewItemGroupTableGUI, ilNewsForContextTableGUI, ilBannedUsersTableGUI, ilQuestionPoolImportVerificationTableGUI, ilMailMemberSearchTableGUI, ilLDAPServerTableGUI, ilLPTableBaseGUI, ilUserExportFileTableGUI, ilAnswerFrequencyStatisticTableGUI, ilMatchingQuestionAnswerFreqStatTableGUI, ilMDCopyrightTableGUI, ilTestDetailedEvaluationStatisticsTableGUI, ilMailingListsTableGUI, ilSamlIdpSelectionTableGUI, ilLDAPRoleMappingTableGUI, ilStudyProgrammeAcknowledgeCompletedCoursesTableGUI, ilAccessibilityTableGUI, ilTermsOfServiceTableGUI, ilMailSearchCoursesTableGUI, ilLOMemberTestResultTableGUI, and ilWorkflowEngineDefinitionsTableGUI.

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

124 {
125 global $DIC;
126
127 $this->lng = $DIC->language();
128 $this->ctrl = $DIC->ctrl();
129 $lng = $DIC->language();
130
131 parent::__construct(0, false);
132 $this->unique_id = md5(uniqid());
133 $this->parent_obj = $a_parent_obj;
134 $this->parent_cmd = $a_parent_cmd;
135 $this->buttons = array();
136 $this->header_commands = array();
137 $this->multi = array();
138 $this->hidden_inputs = array();
139 $this->formname = "table_" . $this->unique_id;
140 $this->tpl = new ilTemplate("tpl.table2.html", true, true, "Services/Table");
141
142 $lng->loadLanguageModule('tbl');
143
144 if (!$a_template_context) {
145 $a_template_context = $this->getId();
146 }
147 $this->setContext($a_template_context);
148
149 // activate export mode
150 if (isset($_GET[$this->prefix . "_xpt"])) {
151 $this->export_mode = (int) $_GET[$this->prefix . "_xpt"];
152 }
153
154 // template handling
155 if (isset($_GET[$this->prefix . "_tpl"])) {
156 $this->restoreTemplate($_GET[$this->prefix . "_tpl"]);
157 }
158
159 $this->determineLimit();
160 $this->setIsDataTable(true);
161 $this->setEnableNumInfo(true);
163 }
$_GET["client_id"]
restoreTemplate($a_name)
Restore state from template.
determineSelectedColumns()
Determine selected columns.
setIsDataTable($a_val)
Set is data table.
getId()
Get element id.
setEnableNumInfo($a_val)
Set enable num info.
setContext($id)
Set context.
determineLimit()
Determine the limit.
special template class to simplify handling of ITX/PEAR
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
$DIC
Definition: xapitoken.php:46

References $_GET, $DIC, ilTableGUI\$lng, $unique_id, ILIAS\GlobalScreen\Provider\__construct(), determineLimit(), determineSelectedColumns(), getId(), restoreTemplate(), setContext(), setEnableNumInfo(), and setIsDataTable().

+ Here is the call graph for this function:

Member Function Documentation

◆ addColumn()

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

Add a column to the header.

Parameters
stringText
stringSort field name (corresponds to data array field)
stringWidth string

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

1336 {
1337 $this->column[] = array(
1338 "text" => $a_text,
1339 "sort_field" => $a_sort_field,
1340 "width" => $a_width,
1341 "is_checkbox_action_column" => $a_is_checkbox_action_column,
1342 "class" => $a_class,
1343 "tooltip" => $a_tooltip,
1344 "tooltip_html" => (bool) $a_tooltip_with_html
1345 );
1346 if ($a_sort_field != "") {
1347 $this->sortable_fields[] = $a_sort_field;
1348 }
1349 $this->column_count = count($this->column);
1350 }

Referenced by ilPresentationListTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilLinksTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilNotificationSettingsTable\__construct(), ilStudyProgrammeTypeTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPollUserTableGUI\__construct(), ILIAS\Scorm2004\Editor\ilSCORMMediaOverviewTableGUI\__construct(), ILIAS\Scorm2004\Editor\ilSCORMQuestionOverviewTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilRendererTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilTaxonomyListTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilStyleTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilUserTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilContributorTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilForumStatisticsTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilSpecialUsersTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilSamlIdpTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilLDAPServerTableGUI\__construct(), ilForumModeratorsTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilStudyProgrammeAcknowledgeCompletedCoursesTableGUI\__construct(), ilAccessibilityTableGUI\__construct(), ilTermsOfServiceTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilBackgroundTaskTableGUI\__construct(), ilOrgUnitPositionTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilContainerFilterTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilExAssignmentFileSystemTableGUI\addColumns(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\addColumns(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\addColumns(), ilFileSystemTableGUI\addColumns(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\addColumns(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\addColumns(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\addColumns(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\addColumns(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\addColumns(), ilExportTableGUI\addCustomColumn(), arIndexTableGUI\addMultipleSelectionColumn(), ilTestRandomQuestionSelectionTableGUI\build(), ilTestTopListTableGUI\buildColumns(), ilLOMemberTestResultTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilListOfQuestionsTableGUI\init(), ilRoleTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilDidacticTemplateSettingsTableGUI\init(), ilLogComponentTableGUI\init(), ilLTIProviderReleasedObjectsTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilObjectTableGUI\init(), ilTrashTableGUI\init(), ilSCGroupTableGUI\init(), ilSCTaskTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilUserClipboardTableGUI\init(), ilUserExportFileTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilTestDynamicQuestionSetStatisticTableGUI\initColumns(), ilBiblLibraryTableGUI\initColumns(), ilBiblAdminFieldTableGUI\initColumns(), ilBiblFieldFilterTableGUI\initColumns(), ilBiblTranslationTableGUI\initColumns(), ilCmiXapiLrsTypesTableGUI\initColumns(), ilCmiXapiScoringTableGUI\initColumns(), ilCmiXapiStatementsTableGUI\initColumns(), ilLTIConsumerProviderTableGUI\initColumns(), ilLTIConsumerProviderUsageTableGUI\initColumns(), ilLTIConsumerScoringTableGUI\initColumns(), ilOrgUnitPositionTableGUI\initColumns(), ilOrgUnitTypeTableGUI\initColumns(), ilStudyProgrammeTypeTableGUI\initColumns(), ilMarkSchemaTableGUI\initColumns(), ilParticipantsTestResultsTableGUI\initColumns(), ilTestExportTableGUI\initColumns(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initColumns(), ilTestManScoringParticipantsTableGUI\initColumns(), ilTestParticipantsTableGUI\initColumns(), ilTestPassDetailsOverviewTableGUI\initColumns(), ilTestPassManualScoringOverviewTableGUI\initColumns(), ilTestPassOverviewTableGUI\initColumns(), ilTestPersonalDefaultSettingsTableGUI\initColumns(), ilTestQuestionsTableGUI\initColumns(), ilTestSkillLevelThresholdsTableGUI\initColumns(), ilAssQuestionSkillUsagesTableGUI\initColumns(), ilAnswerFrequencyStatisticTableGUI\initColumns(), ilAssQuestionSkillAssignmentsTableGUI\initColumns(), ilKprimChoiceAnswerFreqStatTableGUI\initColumns(), ilMatchingQuestionAnswerFreqStatTableGUI\initColumns(), ilQuestionCumulatedStatisticsTableGUI\initColumns(), ilQuestionInternalLinkSelectionTableGUI\initColumns(), ilQuestionPoolImportVerificationTableGUI\initColumns(), ilQuestionPoolPrintViewTableGUI\initColumns(), ilQuestionUsagesTableGUI\initColumns(), ilObjectRolePermissionTableGUI\initColumns(), ilMailingListsMembersTableGUI\initColumns(), ilMailingListsTableGUI\initColumns(), ilPCIIMTriggerTableGUI\initColumns(), ilExportTableGUI\initColumns(), ilMemcacheServerTableGUI\initColumns(), ilMMItemTranslationTableGUI\initColumns(), ilMMSubItemTableGUI\initColumns(), ilMMTopItemTableGUI\initColumns(), ilImageMapTableGUI\initColumns(), ilRepositoryObjectSearchResultTableGUI\initColumns(), ilWorkflowEngineDefinitionsTableGUI\initColumns(), ilOrgUnitPermissionTableGUI\initColumns(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilECSServerTableGUI\initTable(), ilForumDraftsTableGUI\initTableColumns(), ilAssQuestionHintsTableGUI\initTestoutputColumns(), ilForumTopicTableGUI\initTopicsOverviewTable(), ilLinkCheckerTableGUI\prepareHTML(), ilMailFolderTableGUI\prepareHTML(), ilExportTableGUI\prepareOutput(), ilOrgUnitRecursiveUserAssignmentTableGUI\setTableHeaders(), ilOrgUnitUserAssignmentTableGUI\setTableHeaders(), ilOrgUnitOtherRolesTableGUI\setTableHeaders(), and ilOrgUnitStaffTableGUI\setTableHeaders().

+ Here is the caller graph for this function:

◆ addCommandButton()

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

Add Command button.

Parameters
stringCommand
stringText

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

1208 {
1209 $this->buttons[] = array("cmd" => $a_cmd, "text" => $a_text, 'onclick' => $a_onclick,
1210 "id" => $a_id, "class" => $a_class);
1211 }

Referenced by ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilStyleTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\addCommands(), ilObjStudyProgrammeIndividualPlanGUI\appendIndividualPlanActions(), ilTestRandomQuestionSelectionTableGUI\build(), ilOrgUnitDefaultPermissionTableGUI\end(), ilExAssignmentFileSystemTableGUI\getEntries(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilListOfQuestionsTableGUI\init(), ilAssQuestionSkillAssignmentsTableGUI\init(), ilRoleTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilLogComponentTableGUI\init(), ilObjectCopyCourseGroupSelectionTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilUserClipboardTableGUI\init(), ilPCIIMTriggerTableGUI\initActions(), ilImageMapTableGUI\initActions(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), arDeleteGUI\initCommandButtons(), ilMailFolderTableGUI\initCommandButtons(), ilTestQuestionsTableGUI\initCommands(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilConditionHandlerTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputCommands(), ilForumTopicTableGUI\initTopicsOverviewTable(), ilLPCollectionSettingsTableGUI\parse(), ilExerciseMemberTableGUI\parseData(), ilLinkCheckerTableGUI\prepareHTML(), ilMediaPoolTableGUI\prepareOutput(), ilMultilingualismTableGUI\prepareOutput(), ilObjectTranslation2TableGUI\prepareOutput(), and ilObjectTranslationTableGUI\prepareOutput().

+ Here is the caller graph for this function:

◆ addCommandButtonInstance()

ilTable2GUI::addCommandButtonInstance ( ilButtonBase  $a_button)

Add Command button instance.

Parameters
ilButtonBase$a_button

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

1219 {
1220 $this->buttons[] = $a_button;
1221 }

Referenced by ilSurveyCodesTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilListOfQuestionsTableGUI\init(), and assFileUploadFileTableGUI\initCommand().

+ Here is the caller graph for this function:

◆ addFilterItem()

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

Add filter item.

Filter items are property form inputs that implement the ilTableFilterItem interface

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

638 {
639 $a_input_item->setParent($this);
640 if (!$a_optional) {
641 $this->filters[] = $a_input_item;
642 } else {
643 $this->optional_filters[] = $a_input_item;
644 }
645
646 // restore filter values (from stored view)
647 if ($this->restore_filter) {
648 if (array_key_exists($a_input_item->getFieldId(), $this->restore_filter_values)) {
649 $this->setFilterValue($a_input_item, $this->restore_filter_values[$a_input_item->getFieldId()]);
650 } else {
651 $this->setFilterValue($a_input_item, null); // #14949
652 }
653 }
654 }

Referenced by ilBiblAdminFieldTableGUI\addAndReadFilterItem(), ilBiblFieldFilterTableGUI\addAndReadFilterItem(), ilMMSubItemTableGUI\addAndReadFilterItem(), ilBiblEntryTableGUI\addAndReadFilterItem(), addFilterItemByMetaType(), ilUserTableGUI\addFilterItemByUdfType(), ilLPTableBaseGUI\initBaseFilter(), ilCmiXapiStatementsTableGUI\initFilter(), ilTermListTableGUI\initFilter(), ilPresentationListTableGUI\initFilter(), ilLTIConsumerProviderTableGUI\initFilter(), ilMediaPoolTableGUI\initFilter(), ilSessionMaterialsTableGUI\initFilter(), ilSurveyQuestionblockbrowserTableGUI\initFilter(), ilSurveyQuestionbrowserTableGUI\initFilter(), ilSurveyQuestionsTableGUI\initFilter(), ilEvaluationAllTableGUI\initFilter(), ilTestDynamicQuestionSetStatisticTableGUI\initFilter(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilTestManScoringParticipantsTableGUI\initFilter(), ilTestParticipantsTableGUI\initFilter(), ilTestPassDetailsOverviewTableGUI\initFilter(), ilTestQuestionBrowserTableGUI\initFilter(), ilQuestionBrowserTableGUI\initFilter(), ilRoleTableGUI\initFilter(), ilBuddySystemRelationsTableGUI\initFilter(), ilLanguageExtTableGUI\initFilter(), ilMailFolderTableGUI\initFilter(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\initFilter(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\initFilter(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\initFilter(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\initFilter(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\initFilter(), ilPDNewsTableGUI\initFilter(), ilRegistrationCodesTableGUI\initFilter(), ilTermsOfServiceAcceptanceHistoryTableGUI\initFilter(), ilLPObjectStatisticsDailyTableGUI\initFilter(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilLPObjectStatisticsTableGUI\initFilter(), ilLPObjectStatisticsTypesTableGUI\initFilter(), ilTrUserObjectsPropsTableGUI\initFilter(), ilAccountCodesTableGUI\initFilter(), ilRoleAssignmentTableGUI\initFilter(), ilUserTableGUI\initFilter(), ilWorkflowEngineDefinitionsTableGUI\initFilter(), and ilBookingReservationsTableGUI\initFilter().

+ Here is the caller graph for this function:

◆ addFilterItemByMetaType()

ilTable2GUI::addFilterItemByMetaType (   $id,
  $type = self::FILTER_TEXT,
  $a_optional = false,
  $caption = null 
)

Add filter by standard type.

Parameters
string$id
int$type
bool$a_optional
string$caption
Returns
object

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

666 {
667 global $DIC;
668
669 $lng = $DIC->language(); // constructor may not be called here, if initFilter is being called in subclasses before parent::__construct
670
671 if (!$caption) {
672 $caption = $lng->txt($id);
673 }
674
675 include_once("./Services/Form/classes/class.ilPropertyFormGUI.php");
676
677 switch ($type) {
679 $item = new ilCheckboxInputGUI($caption, $id);
680 break;
681
683 include_once("./Services/Form/classes/class.ilSelectInputGUI.php");
684 $item = new ilSelectInputGUI($caption, $id);
685 break;
686
688 include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
689 $item = new ilDateTimeInputGUI($caption, $id);
690 break;
691
693 include_once("./Services/Form/classes/class.ilTextInputGUI.php");
694 $item = new ilTextInputGUI($caption, $id);
695 $item->setMaxLength(64);
696 $item->setSize(20);
697 // $item->setSubmitFormOnEnter(true);
698 break;
699
701 $lng->loadLanguageModule("meta");
702 include_once("./Services/Form/classes/class.ilSelectInputGUI.php");
703 $item = new ilSelectInputGUI($caption, $id);
704 $options = array("" => $lng->txt("trac_all"));
705 foreach ($lng->getInstalledLanguages() as $lang_key) {
706 $options[$lang_key] = $lng->txt("meta_l_" . $lang_key);
707 }
708 $item->setOptions($options);
709 break;
710
712 include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
713 include_once("./Services/Form/classes/class.ilNumberInputGUI.php");
714 $item = new ilCombinationInputGUI($caption, $id);
715 $combi_item = new ilNumberInputGUI("", $id . "_from");
716 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
717 $combi_item = new ilNumberInputGUI("", $id . "_to");
718 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
719 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
720 $item->setMaxLength(7);
721 $item->setSize(20);
722 break;
723
725 include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
726 include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
727 $item = new ilCombinationInputGUI($caption, $id);
728 $combi_item = new ilDateTimeInputGUI("", $id . "_from");
729 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
730 $combi_item = new ilDateTimeInputGUI("", $id . "_to");
731 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
732 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
733 break;
734
736 include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
737 include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
738 $item = new ilCombinationInputGUI($caption, $id);
739 $combi_item = new ilDateTimeInputGUI("", $id . "_from");
740 $combi_item->setShowTime(true);
741 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
742 $combi_item = new ilDateTimeInputGUI("", $id . "_to");
743 $combi_item->setShowTime(true);
744 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
745 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
746 break;
747
749 $lng->loadLanguageModule("form");
750 include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
751 include_once("./Services/Form/classes/class.ilDurationInputGUI.php");
752 $item = new ilCombinationInputGUI($caption, $id);
753 $combi_item = new ilDurationInputGUI("", $id . "_from");
754 $combi_item->setShowMonths(false);
755 $combi_item->setShowDays(true);
756 $combi_item->setShowSeconds(true);
757 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
758 $combi_item = new ilDurationInputGUI("", $id . "_to");
759 $combi_item->setShowMonths(false);
760 $combi_item->setShowDays(true);
761 $combi_item->setShowSeconds(true);
762 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
763 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
764 break;
765
766 default:
767 return false;
768 }
769
770 $this->addFilterItem($item, $a_optional);
771 $item->readFromSession();
772 return $item;
773 }
This class represents a checkbox property in a property form.
This class represents a number property in a property form.
This class represents a date/time property in a property form.
This class represents a duration (typical hh:mm:ss) property in a property form.
This class represents a number property in a property form.
This class represents a selection list property in a property form.
addFilterItem($a_input_item, $a_optional=false)
Add filter item.
const FILTER_DURATION_RANGE
const FILTER_DATETIME_RANGE
This class represents a text property in a property form.
$type

References $DIC, ilTableGUI\$lng, $type, addFilterItem(), ilCombinationInputGUI\COMPARISON_ASCENDING, FILTER_CHECKBOX, FILTER_DATE, FILTER_DATE_RANGE, FILTER_DATETIME_RANGE, FILTER_DURATION_RANGE, FILTER_LANGUAGE, FILTER_NUMBER_RANGE, FILTER_SELECT, and FILTER_TEXT.

Referenced by arIndexTableGUI\addFilterField(), ilDclBooleanFieldRepresentation\addFilterInputFieldToTable(), ilDclDatetimeFieldRepresentation\addFilterInputFieldToTable(), ilDclFileuploadFieldRepresentation\addFilterInputFieldToTable(), ilDclIliasReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclMobFieldRepresentation\addFilterInputFieldToTable(), ilDclNumberFieldRepresentation\addFilterInputFieldToTable(), ilDclRatingFieldRepresentation\addFilterInputFieldToTable(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclSelectionFieldRepresentation\addFilterInputFieldToTable(), ilDclTextFieldRepresentation\addFilterInputFieldToTable(), ilBookingObjectsTableGUI\initFilter(), ilBookingParticipantsTableGUI\initFilter(), ilCourseParticipantsGroupsTableGUI\initFilter(), ilExerciseSubmissionTableGUI\initFilter(), ilSCORMTrackingUsersTableGUI\initFilter(), ilSessionParticipantsTableGUI\initFilter(), ilObjectRolePermissionTableGUI\initFilter(), ilRbacLogTableGUI\initFilter(), ilBadgeTableGUI\initFilter(), ilBadgeUserTableGUI\initFilter(), ilObjectBadgeTableGUI\initFilter(), ilParticipantTableGUI\initFilter(), ilMDCopyrightUsageTableGUI\initFilter(), ilWorkspaceShareTableGUI\initFilter(), ilTrashTableGUI\initFilter(), ilTrMatrixTableGUI\initFilter(), ilTrObjectUsersPropsTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), and ilBadgePersonalTableGUI\initFilters().

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

◆ addHeaderCommand()

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

Add Header Command (Link) (Image needed for now)

Parameters
stringhref
stringtext

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

1296 {
1297 $this->header_commands[] = array("href" => $a_href, "text" => $a_text,
1298 "target" => $a_target, "img" => $a_img);
1299 }

◆ addHiddenInput()

ilTable2GUI::addHiddenInput (   $a_name,
  $a_value 
)

Add Hidden Input field.

Parameters
stringName
stringValue

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

1285 {
1286 $this->hidden_inputs[] = array("name" => $a_name, "value" => $a_value);
1287 }

Referenced by ilPasteStyleCharacteristicTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), addMultiItemSelectionButton(), ilTestRandomQuestionSelectionTableGUI\build(), ilTestSkillLevelThresholdsTableGUI\fillRow(), ilTestQuestionBrowserTableGUI\handleParameters(), and arDeleteGUI\initCommandButtons().

+ Here is the caller graph for this function:

◆ addMultiCommand()

ilTable2GUI::addMultiCommand (   $a_cmd,
  $a_text 
)

Add Command button.

Parameters
stringCommand
stringText

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

1274 {
1275 $this->multi[] = array("cmd" => $a_cmd, "text" => $a_text);
1276 }

Referenced by ilFileSystemTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilStyleTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilUserTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilContributorTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilForumModeratorsTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\addCommands(), ilExportTableGUI\addCustomMultiCommand(), ilLOTestAssignmentTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilTestQuestionBrowserTableGUI\init(), ilRoleTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilDidacticTemplateSettingsTableGUI\init(), ilTrashTableGUI\init(), ilUserClipboardTableGUI\init(), ilUserExportFileTableGUI\init(), ilPCIIMTriggerTableGUI\initActions(), ilImageMapTableGUI\initActions(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), ilLTIConsumerProviderTableGUI\initCommands(), ilParticipantsTestResultsTableGUI\initCommands(), ilTestParticipantsTableGUI\initCommands(), ilTestQuestionsTableGUI\initCommands(), ilMMItemTranslationTableGUI\initCommands(), ilLearningSequenceParticipantsTableGUI\initForm(), ilRepositoryUserResultTableGUI\initMultiCommands(), ilTestExportTableGUI\initMultiCommands(), ilQuestionPoolExportTableGUI\initMultiCommands(), ilExportTableGUI\initMultiCommands(), ilMailFolderTableGUI\initMultiCommands(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilForumDraftsTableGUI\initTableColumns(), ilForumTopicTableGUI\initTopicsOverviewTable(), ilLPCollectionSettingsTableGUI\parse(), ilMediaPoolTableGUI\prepareOutput(), ilMultilingualismTableGUI\prepareOutput(), ilObjectTranslation2TableGUI\prepareOutput(), ilObjectTranslationTableGUI\prepareOutput(), and ilOrgUnitDefaultPermissionTableGUI\start().

+ Here is the caller graph for this function:

◆ addMultiItemSelectionButton()

ilTable2GUI::addMultiItemSelectionButton (   $a_sel_var,
  $a_options,
  $a_cmd,
  $a_text,
  $a_default_selection = '' 
)

Add Selection List + Command button for selected items.

Parameters
stringselection input variable name
arrayselection options ("value" => text")
stringcommand
stringbutton text

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

1249 {
1250 $this->mi_sel_buttons[] = array("sel_var" => $a_sel_var, "options" => $a_options, "selected" => $a_default_selection, "cmd" => $a_cmd, "text" => $a_text);
1251 $this->addHiddenInput("cmd_sv[" . $a_cmd . "]", $a_sel_var);
1252 }
addHiddenInput($a_name, $a_value)
Add Hidden Input field.

References addHiddenInput().

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

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

◆ addSelectionButton()

ilTable2GUI::addSelectionButton (   $a_sel_var,
  $a_options,
  $a_cmd,
  $a_text,
  $a_default_selection = '' 
)

Add Selection List + Command button.

Parameters
stringselection input variable name
arrayselection options ("value" => text")
stringcommand
stringbutton text
Deprecated:

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

1234 {
1235 echo "ilTabl2GUI->addSelectionButton() has been deprecated with 4.2. Please try to move the drop-down to ilToolbarGUI.";
1236 // $this->sel_buttons[] = array("sel_var" => $a_sel_var, "options" => $a_options, "selected" => $a_default_selection, "cmd" => $a_cmd, "text" => $a_text);
1237 }

◆ clearCommandButtons()

ilTable2GUI::clearCommandButtons ( )

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

1197 {
1198 $this->buttons = array();
1199 }

Referenced by ilObjectCustomUserFieldsTableGUI\parse().

+ Here is the caller graph for this function:

◆ dataExists()

ilTable2GUI::dataExists ( )
final

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

614 {
615 if (is_array($this->row_data)) {
616 if (count($this->row_data) > 0) {
617 return true;
618 }
619 }
620 return false;
621 }

Referenced by exportData(), ilDclRecordListTableGUI\exportData(), fillActionRow(), fillFooter(), getHTML(), ilMultilingualismTableGUI\prepareOutput(), ilObjectTranslation2TableGUI\prepareOutput(), and ilObjectTranslationTableGUI\prepareOutput().

+ Here is the caller graph for this function:

◆ deleteTemplate()

ilTable2GUI::deleteTemplate (   $a_name)

Delete template.

Parameters
string$a_name
Returns
bool

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

3049 {
3050 global $DIC;
3051
3052 $ilUser = $DIC->user();
3053
3054 $a_name = ilUtil::prepareFormOutput($a_name, true);
3055
3056 if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
3057 include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
3058 $storage = new ilTableTemplatesStorage();
3059 $storage->delete($this->getContext(), $ilUser->getId(), $a_name);
3060 return true;
3061 }
3062 return false;
3063 }
getContext()
Get context.
Saves (mostly asynchronously) user properties of tables (e.g.
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public
$ilUser
Definition: imgupload.php:18

References $DIC, $ilUser, getContext(), and ilUtil\prepareFormOutput().

Referenced by fillFooter().

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

◆ determineLimit()

ilTable2GUI::determineLimit ( )

Determine the limit.

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

209 {
210 global $DIC;
211
212 $ilUser = null;
213 if (isset($DIC["ilUser"])) {
214 $ilUser = $DIC["ilUser"];
215 }
216
217 if ($this->limit_determined) {
218 return;
219 }
220
221 $limit = 0;
222 if (isset($_GET[$this->prefix . "_trows"])) {
223 $this->storeProperty("rows", $_GET[$this->prefix . "_trows"]);
224 $limit = $_GET[$this->prefix . "_trows"];
225 $this->resetOffset();
226 }
227
228 if ($limit == 0) {
229 $rows = $this->loadProperty("rows");
230 if ($rows > 0) {
231 $limit = $rows;
232 } else {
233 if (is_object($ilUser)) {
234 $limit = $ilUser->getPref("hits_per_page");
235 } else {
236 $limit = 40;
237 }
238 }
239 }
240
241 $this->setLimit($limit);
242 $this->limit_determined = true;
243 }
storeProperty($type, $value)
Store table property.
resetOffset($a_in_determination=false)
Reset offset.
loadProperty($type)
Load table property.
setLimit($a_limit=0, $a_default_limit=0)
set max.
$rows
Definition: xhr_table.php:10

References $_GET, $DIC, $ilUser, ilTableGUI\$limit, $rows, loadProperty(), resetOffset(), setLimit(), and storeProperty().

Referenced by __construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), getCurrentState(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilBiblAdminFieldTableGUI\parseData(), ilBiblFieldFilterTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), and arIndexTableGUI\setOrderAndSegmentation().

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

◆ determineOffsetAndOrder()

ilTable2GUI::determineOffsetAndOrder (   $a_omit_offset = false)

Determine offset and order.

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

1536 {
1537 global $DIC;
1538
1539 $ilUser = null;
1540 if (isset($DIC["ilUser"])) {
1541 $ilUser = $DIC["ilUser"];
1542 }
1543
1544 if ($this->nav_determined) {
1545 return true;
1546 }
1547
1548 if ($_POST[$this->getNavParameter() . "1"] != "") {
1549 if ($_POST[$this->getNavParameter() . "1"] != $_POST[$this->getNavParameter()]) {
1550 $this->nav_value = $_POST[$this->getNavParameter() . "1"];
1551 } elseif ($_POST[$this->getNavParameter() . "2"] != $_POST[$this->getNavParameter()]) {
1552 $this->nav_value = $_POST[$this->getNavParameter() . "2"];
1553 }
1554 } elseif ($_GET[$this->getNavParameter()]) {
1555 $this->nav_value = $_GET[$this->getNavParameter()];
1556 } elseif ($_SESSION[$this->getNavParameter()] != "") {
1557 $this->nav_value = $_SESSION[$this->getNavParameter()];
1558 }
1559
1560 if ($this->nav_value == "" && $this->getId() != "" && $ilUser->getId() != ANONYMOUS_USER_ID) {
1561 $order = $this->loadProperty("order");
1562 if (in_array($order, $this->sortable_fields)) {
1563 $direction = $this->loadProperty("direction");
1564 } else {
1565 $direction = $this->getDefaultOrderDirection();
1566 }
1567 // get order and direction from db
1568 $this->nav_value =
1569 $order . ":" .
1570 $direction . ":" .
1571 $this->loadProperty("offset");
1572 }
1573 $nav = explode(":", $this->nav_value);
1574
1575 // $nav[0] is order by
1576 $this->setOrderField(($nav[0] != "") ? $nav[0] : $this->getDefaultOrderField());
1577 $this->setOrderDirection(($nav[1] != "") ? $nav[1] : $this->getDefaultOrderDirection());
1578
1579 if (!$a_omit_offset) {
1580 // #8904: offset must be discarded when no limit is given
1581 if (!$this->getExternalSegmentation() && $this->limit_determined && $this->limit == 9999) {
1582 $this->resetOffset(true);
1583 } elseif (!$this->getExternalSegmentation() && $nav[2] >= $this->max_count) {
1584 $this->resetOffset(true);
1585 } else {
1586 $this->setOffset($nav[2]);
1587 }
1588 }
1589
1590 if (!$a_omit_offset) {
1591 $this->nav_determined = true;
1592 }
1593 }
$_POST["username"]
$_SESSION["AccountId"]
getDefaultOrderDirection()
Get Default order direction.
getExternalSegmentation()
Get external segmentation.
setOrderField($a_order_field)
set order column
getDefaultOrderField()
Get Default order field.
setOrderDirection($a_order_direction)
set order direction @access public
setOffset($a_offset)
set dataset offset @access public

References $_GET, $_POST, $_SESSION, $DIC, $ilUser, getDefaultOrderDirection(), getDefaultOrderField(), getExternalSegmentation(), getId(), getNavParameter(), loadProperty(), resetOffset(), ilTableGUI\setOffset(), ilTableGUI\setOrderDirection(), and setOrderField().

Referenced by ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilLPTableBaseGUI\executeCommand(), exportData(), ilMailFolderTableGUI\fetchTableData(), getCurrentState(), getHTML(), ilTestManScoringParticipantsTableGUI\getInternalyOrderedDataValues(), ilRbacLogTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserTableGUI\getItems(), ilUserExportFileTableGUI\init(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilTrashTableGUI\parse(), ilBiblAdminFieldTableGUI\parseData(), ilBiblFieldFilterTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilFileSystemTableGUI\prepareOutput(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), resetOffset(), and arIndexTableGUI\setOrderAndSegmentation().

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

◆ determineSelectedColumns()

ilTable2GUI::determineSelectedColumns ( )

Determine selected columns.

Reimplemented in ilLTIConsumerProviderTableGUI.

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

259 {
260 if ($this->columns_determined) {
261 return;
262 }
263
264 $old_sel = $this->loadProperty("selfields");
265
266 $stored = false;
267 if ($old_sel != "") {
268 $sel_fields =
269 @unserialize($old_sel);
270 $stored = true;
271 }
272 if (!is_array($sel_fields)) {
273 $stored = false;
274 $sel_fields = array();
275 }
276
277 $this->selected_columns = array();
278 $set = false;
279 foreach ($this->getSelectableColumns() as $k => $c) {
280 $this->selected_column[$k] = false;
281
282 $new_column = ($sel_fields[$k] === null);
283
284 if (isset($_POST["tblfsh" . $this->getId()]) && $_POST["tblfsh" . $this->getId()]) {
285 $set = true;
286 if (is_array($_POST["tblfs" . $this->getId()]) && in_array($k, $_POST["tblfs" . $this->getId()])) {
287 $this->selected_column[$k] = true;
288 }
289 } elseif ($stored && !$new_column) { // take stored values
290 $this->selected_column[$k] = $sel_fields[$k];
291 } else { // take default values
292 if ($new_column) {
293 $set = true;
294 }
295 if (isset($c["default"]) && $c["default"]) {
296 $this->selected_column[$k] = true;
297 }
298 }
299
300 // Optional filters
301 if (isset($_POST["tblff" . $this->getId()]) && $_POST["tblff" . $this->getId()]) {
302 $set = true;
303 if (is_array($_POST["tblff" . $this->getId()]) && in_array($k, $_POST["tblff" . $this->getId()])) {
304 $this->selected_column[$k] = true;
305 }
306 }
307
308 }
309
310 if ($old_sel != serialize($this->selected_column) && $set) {
311 $this->storeProperty("selfields", serialize($this->selected_column));
312 }
313
314 $this->columns_determined = true;
315 }
getSelectableColumns()
Get selectable columns.

References $_POST, Vendor\Package\$c, getId(), getSelectableColumns(), loadProperty(), and storeProperty().

Referenced by __construct(), and getCurrentState().

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

◆ determineSelectedFilters()

ilTable2GUI::determineSelectedFilters ( )

Determine selected filters.

Parameters

return

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

876 {
877 if ($this->filters_determined) {
878 return;
879 }
880
881 $old_sel = $this->loadProperty("selfilters");
882 $stored = false;
883 if ($old_sel != "") {
884 $sel_filters =
885 @unserialize($old_sel);
886 $stored = true;
887 }
888 if (!is_array($sel_filters)) {
889 $stored = false;
890 $sel_filters = array();
891 }
892
893 $this->selected_filter = array();
894 $set = false;
895 foreach ($this->getFilterItems(true) as $item) {
896 $k = $item->getPostVar();
897
898 $this->selected_filter[$k] = false;
899
900 if ($_POST["tblfsf" . $this->getId()]) {
901 $set = true;
902 if (is_array($_POST["tblff" . $this->getId()]) && in_array($k, $_POST["tblff" . $this->getId()])) {
903 $this->selected_filter[$k] = true;
904 } else {
905 $item->setValue(null);
906 $item->writeToSession();
907 }
908 } elseif ($stored) { // take stored values
909 $this->selected_filter[$k] = $sel_filters[$k];
910 }
911 }
912
913 if ($old_sel != serialize($this->selected_filter) && $set) {
914 $this->storeProperty("selfilters", serialize($this->selected_filter));
915 }
916
917 $this->filters_determined = true;
918 }
getFilterItems($a_optionals=false)
Get filter items.

References $_POST, getFilterItems(), getId(), loadProperty(), and storeProperty().

Referenced by ilLPTableBaseGUI\executeCommand(), getCurrentState(), ilAccessibilityTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), and renderFilter().

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

◆ executeCommand()

ilTable2GUI::executeCommand ( )

Execute command.

Reimplemented in ilTestQuestionBrowserTableGUI, ilAssQuestionSkillUsagesTableGUI, and ilLPTableBaseGUI.

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

349 {
351
352 $next_class = $ilCtrl->getNextClass($this);
353 $cmd = $ilCtrl->getCmd();
354
355 switch ($next_class) {
356 case 'ilformpropertydispatchgui':
357 include_once './Services/Form/classes/class.ilFormPropertyDispatchGUI.php';
358 $form_prop_dispatch = new ilFormPropertyDispatchGUI();
359 $this->initFilter();
360 $item = $this->getFilterItemByPostVar($_GET["postvar"]);
361 $form_prop_dispatch->setItem($item);
362 return $ilCtrl->forwardCommand($form_prop_dispatch);
363 break;
364
365 }
366 return false;
367 }
initFilter()
Init filter.
getFilterItemByPostVar($a_post_var)
global $ilCtrl
Definition: ilias.php:18

References $_GET, $ctrl, $ilCtrl, getFilterItemByPostVar(), and initFilter().

+ Here is the call graph for this function:

◆ exportData()

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

Export and optionally send current table data.

Parameters
int$format

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

3141 {
3142 if ($this->dataExists()) {
3143 // #9640: sort
3144 if (!$this->getExternalSorting() && $this->enabled["sort"]) {
3145 $this->determineOffsetAndOrder(true);
3146
3147 $this->row_data = ilUtil::sortArray(
3148 $this->row_data,
3149 $this->getOrderField(),
3150 $this->getOrderDirection(),
3151 $this->numericOrdering($this->getOrderField())
3152 );
3153 }
3154
3155 $filename = "export";
3156
3157 switch ($format) {
3158 case self::EXPORT_EXCEL:
3159 include_once "./Services/Excel/classes/class.ilExcel.php";
3160 $excel = new ilExcel();
3161 $excel->addSheet($this->title
3162 ? $this->title
3163 : $this->lng->txt("export"));
3164 $row = 1;
3165
3166 ob_start();
3167 $this->fillMetaExcel($excel, $row); // row must be increment in fillMetaExcel()! (optional method)
3168
3169 // #14813
3170 $pre = $row;
3171 $this->fillHeaderExcel($excel, $row); // row should NOT be incremented in fillHeaderExcel()! (required method)
3172 if ($pre == $row) {
3173 $row++;
3174 }
3175
3176 foreach ($this->row_data as $set) {
3177 $this->fillRowExcel($excel, $row, $set);
3178 $row++; // #14760
3179 }
3180 ob_end_clean();
3181
3182 if ($send) {
3183 $excel->sendToClient($filename);
3184 } else {
3185 $excel->writeToFile($filename);
3186 }
3187 break;
3188
3189 case self::EXPORT_CSV:
3190 include_once "./Services/Utilities/classes/class.ilCSVWriter.php";
3191 $csv = new ilCSVWriter();
3192 $csv->setSeparator(";");
3193
3194 ob_start();
3195 $this->fillMetaCSV($csv);
3196 $this->fillHeaderCSV($csv);
3197 foreach ($this->row_data as $set) {
3198 $this->fillRowCSV($csv, $set);
3199 }
3200 ob_end_clean();
3201
3202 if ($send) {
3203 $filename .= ".csv";
3204 header("Content-type: text/comma-separated-values");
3205 header("Content-Disposition: attachment; filename=\"" . $filename . "\"");
3206 header("Expires: 0");
3207 header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
3208 header("Pragma: public");
3209 echo $csv->getCSVString();
3210 } else {
3211 file_put_contents($filename, $csv->getCSVString());
3212 }
3213 break;
3214 }
3215
3216 if ($send) {
3217 exit();
3218 }
3219 }
3220 }
$filename
Definition: buildRTE.php:89
Helper class to generate CSV files.
fillHeaderCSV($a_csv)
CSV Version of Fill Header.
fillHeaderExcel(ilExcel $a_excel, &$a_row)
Excel Version of Fill Header.
fillMetaCSV($a_csv)
Add meta information to csv export.
determineOffsetAndOrder($a_omit_offset=false)
Determine offset and order.
fillRowCSV($a_csv, $a_set)
CSV Version of Fill Row.
fillRowExcel(ilExcel $a_excel, &$a_row, $a_set)
Excel Version of Fill Row.
getExternalSorting()
Get external sorting.
fillMetaExcel(ilExcel $a_excel, &$a_row)
Add meta information to excel export.
numericOrdering($a_field)
Should this field be sorted numeric?
getOrderDirection()
Get order direction.
static sortArray( $array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray
exit
Definition: login.php:29
$format
Definition: metadata.php:218

References $filename, $format, dataExists(), determineOffsetAndOrder(), exit, EXPORT_CSV, EXPORT_EXCEL, fillHeaderCSV(), fillHeaderExcel(), fillMetaCSV(), fillMetaExcel(), fillRowCSV(), fillRowExcel(), getExternalSorting(), ilTableGUI\getOrderDirection(), getOrderField(), numericOrdering(), and ilUtil\sortArray().

Referenced by getHTML().

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

◆ fillActionRow()

ilTable2GUI::fillActionRow ( )

Fill Action Row.

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

2552 {
2553 $lng = $this->lng;
2554
2555 // action row
2556 $action_row = false;
2557 $arrow = false;
2558
2559 // add selection buttons
2560 if (count($this->sel_buttons) > 0) {
2561 foreach ($this->sel_buttons as $button) {
2562 $this->tpl->setCurrentBlock("sel_button");
2563 $this->tpl->setVariable(
2564 "SBUTTON_SELECT",
2566 $button["selected"],
2567 $button["sel_var"],
2568 $button["options"],
2569 false,
2570 true
2571 )
2572 );
2573 $this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
2574 $this->tpl->setVariable("SBTN_VALUE", $button["text"]);
2575 $this->tpl->parseCurrentBlock();
2576
2577 if ($this->getTopCommands()) {
2578 $this->tpl->setCurrentBlock("sel_top_button");
2579 $this->tpl->setVariable(
2580 "SBUTTON_SELECT",
2582 $button["selected"],
2583 $button["sel_var"],
2584 $button["options"],
2585 false,
2586 true
2587 )
2588 );
2589 $this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
2590 $this->tpl->setVariable("SBTN_VALUE", $button["text"]);
2591 $this->tpl->parseCurrentBlock();
2592 }
2593 }
2594 $buttons = true;
2595 $action_row = true;
2596 }
2597 $this->sel_buttons[] = array("options" => $a_options, "cmd" => $a_cmd, "text" => $a_text);
2598
2599 // add buttons
2600 if (count($this->buttons) > 0) {
2601 foreach ($this->buttons as $button) {
2602 if (!is_array($button)) {
2603 if ($button instanceof ilButtonBase) {
2604 $this->tpl->setVariable('BUTTON_OBJ', $button->render());
2605
2606 // this will remove id - should be unique
2607 $button = clone $button;
2608
2609 $this->tpl->setVariable('BUTTON_TOP_OBJ', $button->render());
2610 }
2611 continue;
2612 }
2613
2614 if (strlen($button['onclick'])) {
2615 $this->tpl->setCurrentBlock('cmdonclick');
2616 $this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
2617 $this->tpl->parseCurrentBlock();
2618 }
2619 $this->tpl->setCurrentBlock("plain_button");
2620 if ($button["id"] != "") {
2621 $this->tpl->setVariable("PBID", ' id="' . $button["id"] . '" ');
2622 }
2623 if ($button["class"] != "") {
2624 $this->tpl->setVariable("PBBT_CLASS", ' ' . $button["class"]);
2625 }
2626 $this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
2627 $this->tpl->setVariable("PBTN_VALUE", $button["text"]);
2628 $this->tpl->parseCurrentBlock();
2629
2630 if ($this->getTopCommands()) {
2631 if (strlen($button['onclick'])) {
2632 $this->tpl->setCurrentBlock('top_cmdonclick');
2633 $this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
2634 $this->tpl->parseCurrentBlock();
2635 }
2636 $this->tpl->setCurrentBlock("plain_top_button");
2637 $this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
2638 $this->tpl->setVariable("PBTN_VALUE", $button["text"]);
2639 if ($button["class"] != "") {
2640 $this->tpl->setVariable("PBBT_CLASS", ' ' . $button["class"]);
2641 }
2642 $this->tpl->parseCurrentBlock();
2643 }
2644 }
2645
2646 $buttons = true;
2647 $action_row = true;
2648 }
2649
2650 // multi selection
2651 if (count($this->mi_sel_buttons)) {
2652 foreach ($this->mi_sel_buttons as $button) {
2653 $this->tpl->setCurrentBlock("mi_sel_button");
2654 $this->tpl->setVariable(
2655 "MI_BUTTON_SELECT",
2657 $button["selected"],
2658 $button["sel_var"],
2659 $button["options"],
2660 false,
2661 true
2662 )
2663 );
2664 $this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
2665 $this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
2666 $this->tpl->parseCurrentBlock();
2667
2668 if ($this->getTopCommands()) {
2669 $this->tpl->setCurrentBlock("mi_top_sel_button");
2670 $this->tpl->setVariable(
2671 "MI_BUTTON_SELECT",
2673 $button["selected"],
2674 $button["sel_var"] . "_2",
2675 $button["options"],
2676 false,
2677 true
2678 )
2679 );
2680 $this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
2681 $this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
2682 $this->tpl->parseCurrentBlock();
2683 }
2684 }
2685 $arrow = true;
2686 $action_row = true;
2687 }
2688
2689
2690 if (count($this->multi) > 1 && $this->dataExists()) {
2691 if ($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit()) {
2692 $this->tpl->setCurrentBlock("tbl_cmd_select_all");
2693 $this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
2694 $this->tpl->parseCurrentBlock();
2695 }
2696
2697 $this->tpl->setCurrentBlock("tbl_cmd_select");
2698 $sel = array();
2699 foreach ($this->multi as $mc) {
2700 $sel[$mc["cmd"]] = $mc["text"];
2701 }
2702 $this->tpl->setVariable(
2703 "SELECT_CMDS",
2704 ilUtil::formSelect("", "selected_cmd", $sel, false, true)
2705 );
2706 $this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
2707 $this->tpl->parseCurrentBlock();
2708 $arrow = true;
2709 $action_row = true;
2710
2711 if ($this->getTopCommands()) {
2712 if ($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit()) {
2713 $this->tpl->setCurrentBlock("tbl_top_cmd_select_all");
2714 $this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
2715 $this->tpl->parseCurrentBlock();
2716 }
2717
2718 $this->tpl->setCurrentBlock("tbl_top_cmd_select");
2719 $sel = array();
2720 foreach ($this->multi as $mc) {
2721 $sel[$mc["cmd"]] = $mc["text"];
2722 }
2723 $this->tpl->setVariable(
2724 "SELECT_CMDS",
2725 ilUtil::formSelect("", "selected_cmd2", $sel, false, true)
2726 );
2727 $this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
2728 $this->tpl->parseCurrentBlock();
2729 }
2730 } elseif (count($this->multi) == 1 && $this->dataExists()) {
2731 $this->tpl->setCurrentBlock("tbl_single_cmd");
2732 $sel = array();
2733 foreach ($this->multi as $mc) {
2734 $cmd = $mc['cmd'];
2735 $txt = $mc['text'];
2736 }
2737 $this->tpl->setVariable("TXT_SINGLE_CMD", $txt);
2738 $this->tpl->setVariable("SINGLE_CMD", $cmd);
2739 $this->tpl->parseCurrentBlock();
2740 $arrow = true;
2741 $action_row = true;
2742
2743 if ($this->getTopCommands()) {
2744 $this->tpl->setCurrentBlock("tbl_top_single_cmd");
2745 $sel = array();
2746 foreach ($this->multi as $mc) {
2747 $cmd = $mc['cmd'];
2748 $txt = $mc['text'];
2749 }
2750 $this->tpl->setVariable("TXT_SINGLE_CMD", $txt);
2751 $this->tpl->setVariable("SINGLE_CMD", $cmd);
2752 $this->tpl->parseCurrentBlock();
2753 }
2754 }
2755
2756 if ($arrow) {
2757 $this->tpl->setCurrentBlock("tbl_action_img_arrow");
2758 $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_downright.svg"));
2759 $this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
2760 $this->tpl->parseCurrentBlock();
2761
2762 if ($this->getTopCommands()) {
2763 $this->tpl->setCurrentBlock("tbl_top_action_img_arrow");
2764 $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_upright.svg"));
2765 $this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
2766 $this->tpl->parseCurrentBlock();
2767 }
2768 }
2769
2770 if ($action_row) {
2771 $this->tpl->setCurrentBlock("tbl_action_row");
2772 $this->tpl->parseCurrentBlock();
2773 if ($this->getTopCommands()) {
2774 $this->tpl->setCurrentBlock("tbl_top_action_row");
2775 $this->tpl->parseCurrentBlock();
2776 }
2777 }
2778 }
getTopCommands()
Get top commands (display command buttons on top of table, too)
static formSelect( $selected, $varname, $options, $multiple=false, $direct_text=false, $size="0", $style_class="", $attribs="", $disabled=false)
Builds a select form field with options and shows the selected option first.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
$txt
Definition: error.php:13

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

Referenced by getHTML().

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

◆ fillFooter()

ilTable2GUI::fillFooter ( )

Fill footer row.

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

2130 {
2131 global $DIC;
2132
2133 $ilUser = null;
2134 if (isset($DIC["ilUser"])) {
2135 $ilUser = $DIC["ilUser"];
2136 }
2137
2138 $lng = $this->lng;
2140
2141 $footer = false;
2142
2143 // select all checkbox
2144 if ((strlen($this->getFormName())) && (strlen($this->getSelectAllCheckbox())) && $this->dataExists()) {
2145 $this->tpl->setCurrentBlock("select_all_checkbox");
2146 $this->tpl->setVariable("SELECT_ALL_TXT_SELECT_ALL", $lng->txt("select_all"));
2147 $this->tpl->setVariable("SELECT_ALL_CHECKBOX_NAME", $this->getSelectAllCheckbox());
2148 $this->tpl->setVariable("SELECT_ALL_FORM_NAME", $this->getFormName());
2149 $this->tpl->setVariable("CHECKBOXNAME", "chb_select_all_" . $this->unique_id);
2150 $this->tpl->parseCurrentBlock();
2151 }
2152
2153 // table footer numinfo
2154 if ($this->enabled["numinfo"] && $this->enabled["footer"]) {
2155 $start = $this->offset + 1; // compute num info
2156 if (!$this->dataExists()) {
2157 $start = 0;
2158 }
2159 $end = $this->offset + $this->limit;
2160
2161 if ($end > $this->max_count or $this->limit == 0) {
2162 $end = $this->max_count;
2163 }
2164
2165 if ($this->max_count > 0) {
2166 if ($this->lang_support) {
2167 $numinfo = "(" . $start . " - " . $end . " " . strtolower($this->lng->txt("of")) . " " . $this->max_count . ")";
2168 } else {
2169 $numinfo = "(" . $start . " - " . $end . " of " . $this->max_count . ")";
2170 }
2171 }
2172 if ($this->max_count > 0) {
2173 if ($this->getEnableNumInfo()) {
2174 $this->tpl->setCurrentBlock("tbl_footer_numinfo");
2175 $this->tpl->setVariable("NUMINFO", $numinfo);
2176 $this->tpl->parseCurrentBlock();
2177 }
2178 }
2179 $footer = true;
2180 }
2181
2182 // table footer linkbar
2183 if ($this->enabled["linkbar"] && $this->enabled["footer"] && $this->limit != 0
2184 && $this->max_count > 0) {
2185 $layout = array(
2186 "link" => $this->footer_style,
2187 "prev" => $this->footer_previous,
2188 "next" => $this->footer_next,
2189 );
2190 //if (!$this->getDisplayAsBlock())
2191 //{
2192 $linkbar = $this->getLinkbar("1");
2193 $this->tpl->setCurrentBlock("tbl_footer_linkbar");
2194 $this->tpl->setVariable("LINKBAR", $linkbar);
2195 $this->tpl->parseCurrentBlock();
2196 $linkbar = true;
2197 //}
2198 $footer = true;
2199 }
2200
2201 // column selector
2202 if (is_array($this->getSelectableColumns()) && count($this->getSelectableColumns()) > 0) {
2203 $items = array();
2204 foreach ($this->getSelectableColumns() as $k => $c) {
2205 $items[$k] = array("txt" => $c["txt"],
2206 "selected" => $this->isColumnSelected($k));
2207 }
2208 include_once("./Services/UIComponent/CheckboxListOverlay/classes/class.ilCheckboxListOverlayGUI.php");
2209 $cb_over = new ilCheckboxListOverlayGUI("tbl_" . $this->getId());
2210 $cb_over->setLinkTitle($lng->txt("columns"));
2211 $cb_over->setItems($items);
2212 //$cb_over->setUrl("./ilias.php?baseClass=ilTablePropertiesStorage&table_id=".
2213 // $this->getId()."&cmd=saveSelectedFields&user_id=".$ilUser->getId());
2214 $cb_over->setFormCmd($this->getParentCmd());
2215 $cb_over->setFieldVar("tblfs" . $this->getId());
2216 $cb_over->setHiddenVar("tblfsh" . $this->getId());
2217 $cb_over->setSelectionHeaderClass("ilTableMenuItem");
2218 $column_selector = $cb_over->getHTML();
2219 $footer = true;
2220 }
2221
2222 if ($this->getShowTemplates() && is_object($ilUser)) {
2223 // template handling
2224 if (isset($_REQUEST["tbltplcrt"]) && $_REQUEST["tbltplcrt"]) {
2225 if ($this->saveTemplate($_REQUEST["tbltplcrt"])) {
2226 ilUtil::sendSuccess($lng->txt("tbl_template_created"));
2227 }
2228 } elseif (isset($_REQUEST["tbltpldel"]) && $_REQUEST["tbltpldel"]) {
2229 if ($this->deleteTemplate($_REQUEST["tbltpldel"])) {
2230 ilUtil::sendSuccess($lng->txt("tbl_template_deleted"));
2231 }
2232 }
2233
2234 $create_id = "template_create_overlay_" . $this->getId();
2235 $delete_id = "template_delete_overlay_" . $this->getId();
2236 $list_id = "template_stg_" . $this->getId();
2237
2238 include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
2239 $storage = new ilTableTemplatesStorage();
2240 $templates = $storage->getNames($this->getContext(), $ilUser->getId());
2241
2242 include_once("./Services/UIComponent/Overlay/classes/class.ilOverlayGUI.php");
2243
2244 // form to delete template
2245 if (sizeof($templates)) {
2246 $overlay = new ilOverlayGUI($delete_id);
2247 $overlay->setTrigger($list_id . "_delete");
2248 $overlay->setAnchor("ilAdvSelListAnchorElement_" . $list_id);
2249 $overlay->setAutoHide(false);
2250 $overlay->add();
2251
2252 $lng->loadLanguageModule("form");
2253 $this->tpl->setCurrentBlock("template_editor_delete_item");
2254 $this->tpl->setVariable("TEMPLATE_DELETE_OPTION_VALUE", "");
2255 $this->tpl->setVariable("TEMPLATE_DELETE_OPTION", "- " . $lng->txt("form_please_select") . " -");
2256 $this->tpl->parseCurrentBlock();
2257 foreach ($templates as $name) {
2258 $this->tpl->setVariable("TEMPLATE_DELETE_OPTION_VALUE", $name);
2259 $this->tpl->setVariable("TEMPLATE_DELETE_OPTION", $name);
2260 $this->tpl->parseCurrentBlock();
2261 }
2262
2263 $this->tpl->setCurrentBlock("template_editor_delete");
2264 $this->tpl->setVariable("TEMPLATE_DELETE_ID", $delete_id);
2265 $this->tpl->setVariable("TXT_TEMPLATE_DELETE", $lng->txt("tbl_template_delete"));
2266 $this->tpl->setVariable("TXT_TEMPLATE_DELETE_SUBMIT", $lng->txt("delete"));
2267 $this->tpl->setVariable("TEMPLATE_DELETE_CMD", $this->parent_cmd);
2268 $this->tpl->parseCurrentBlock();
2269 }
2270
2271
2272 // form to save new template
2273 $overlay = new ilOverlayGUI($create_id);
2274 $overlay->setTrigger($list_id . "_create");
2275 $overlay->setAnchor("ilAdvSelListAnchorElement_" . $list_id);
2276 $overlay->setAutoHide(false);
2277 $overlay->add();
2278
2279 $this->tpl->setCurrentBlock("template_editor");
2280 $this->tpl->setVariable("TEMPLATE_CREATE_ID", $create_id);
2281 $this->tpl->setVariable("TXT_TEMPLATE_CREATE", $lng->txt("tbl_template_create"));
2282 $this->tpl->setVariable("TXT_TEMPLATE_CREATE_SUBMIT", $lng->txt("save"));
2283 $this->tpl->setVariable("TEMPLATE_CREATE_CMD", $this->parent_cmd);
2284 $this->tpl->parseCurrentBlock();
2285
2286 // load saved template
2287 include_once("./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
2288 $alist = new ilAdvancedSelectionListGUI();
2289 $alist->setId($list_id);
2290 $alist->addItem($lng->txt("tbl_template_create"), "create", "#");
2291 if (sizeof($templates)) {
2292 $alist->addItem($lng->txt("tbl_template_delete"), "delete", "#");
2293 foreach ($templates as $name) {
2294 $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_tpl", urlencode($name));
2295 $alist->addItem($name, $name, $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd));
2296 $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_tpl", "");
2297 }
2298 }
2299 $alist->setListTitle($lng->txt("tbl_templates"));
2301 $this->tpl->setVariable("TEMPLATE_SELECTOR", "&nbsp;" . $alist->getHTML());
2302 }
2303
2304 if ($footer) {
2305 $this->tpl->setCurrentBlock("tbl_footer");
2306 $this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
2307 if ($this->getDisplayAsBlock()) {
2308 $this->tpl->setVariable("BLK_CLASS", "Block");
2309 }
2310 $this->tpl->parseCurrentBlock();
2311
2312 // top navigation, if number info or linkbar given
2313 if ($numinfo != "" || $linkbar != "" || $column_selector != "" ||
2314 count($this->filters) > 0 || count($this->optional_filters) > 0) {
2315 if (is_object($ilUser) && (count($this->filters) || count($this->optional_filters))) {
2316 $this->tpl->setCurrentBlock("filter_activation");
2317 $this->tpl->setVariable("TXT_ACTIVATE_FILTER", $lng->txt("show_filter"));
2318 $this->tpl->setVariable("FILA_ID", $this->getId());
2319 if ($this->getId() != "") {
2320 $this->tpl->setVariable("SAVE_URLA", "./ilias.php?baseClass=ilTablePropertiesStorage&table_id=" .
2321 $this->getId() . "&cmd=showFilter&user_id=" . $ilUser->getId());
2322 }
2323 $this->tpl->parseCurrentBlock();
2324
2325
2326 if (!$this->getDisableFilterHiding()) {
2327 $this->tpl->setCurrentBlock("filter_deactivation");
2328 $this->tpl->setVariable("TXT_HIDE", $lng->txt("hide_filter"));
2329 if ($this->getId() != "") {
2330 $this->tpl->setVariable("SAVE_URL", "./ilias.php?baseClass=ilTablePropertiesStorage&table_id=" .
2331 $this->getId() . "&cmd=hideFilter&user_id=" . $ilUser->getId());
2332 $this->tpl->setVariable("FILD_ID", $this->getId());
2333 }
2334 $this->tpl->parseCurrentBlock();
2335 }
2336 }
2337
2338 if ($numinfo != "" && $this->getEnableNumInfo()) {
2339 $this->tpl->setCurrentBlock("top_numinfo");
2340 $this->tpl->setVariable("NUMINFO", $numinfo);
2341 $this->tpl->parseCurrentBlock();
2342 }
2343 if ($linkbar != "" && !$this->getDisplayAsBlock()) {
2344 $linkbar = $this->getLinkbar("2");
2345 $this->tpl->setCurrentBlock("top_linkbar");
2346 $this->tpl->setVariable("LINKBAR", $linkbar);
2347 $this->tpl->parseCurrentBlock();
2348 }
2349
2350 // column selector
2351 $this->tpl->setVariable("COLUMN_SELECTOR", $column_selector);
2352
2353 // row selector
2354 if ($this->getShowRowsSelector() &&
2355 is_object($ilUser) &&
2356 $this->getId() &&
2357 !$this->rows_selector_off) { // JF, 2014-10-27
2358 include_once("./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
2359 $alist = new ilAdvancedSelectionListGUI();
2361 $alist->setId("sellst_rows_" . $this->getId());
2362 $hpp = ($ilUser->getPref("hits_per_page") != 9999)
2363 ? $ilUser->getPref("hits_per_page")
2364 : $lng->txt("no_limit");
2365
2366 $options = array(0 => $lng->txt("default") . " (" . $hpp . ")",5 => 5, 10 => 10, 15 => 15, 20 => 20,
2367 30 => 30, 40 => 40, 50 => 50,
2368 100 => 100, 200 => 200, 400 => 400, 800 => 800);
2369 foreach ($options as $k => $v) {
2370 $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_trows", $k);
2371 $alist->addItem($v, $k, $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd));
2372 $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_trows", "");
2373 }
2374 $alist->setListTitle($this->getRowSelectorLabel() ? $this->getRowSelectorLabel() : $lng->txt("rows"));
2375 $this->tpl->setVariable("ROW_SELECTOR", $alist->getHTML());
2376 }
2377
2378 // export
2379 if (sizeof($this->export_formats) && $this->dataExists()) {
2380 include_once("./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
2381 $alist = new ilAdvancedSelectionListGUI();
2383 $alist->setId("sellst_xpt");
2384 foreach ($this->export_formats as $format => $caption_lng_id) {
2385 $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_xpt", $format);
2386 $url = $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd);
2387 $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_xpt", "");
2388 $alist->addItem($lng->txt($caption_lng_id), $format, $url);
2389 }
2390 $alist->setListTitle($lng->txt("export"));
2391 $this->tpl->setVariable("EXPORT_SELECTOR", "&nbsp;" . $alist->getHTML());
2392 }
2393
2394 $this->tpl->setCurrentBlock("top_navigation");
2395 $this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
2396 if ($this->getDisplayAsBlock()) {
2397 $this->tpl->setVariable("BLK_CLASS", "Block");
2398 }
2399 $this->tpl->parseCurrentBlock();
2400 }
2401 }
2402 }
User interface class for advanced drop-down selection lists.
User interface class for a checkbox list overlay.
This is a utility class for the yui overlays.
getParentCmd()
Get parent command.
getFormName()
Get Form name.
saveTemplate($a_name)
Save current state as template.
getLinkbar($a_num)
Get previous/next linkbar.
getShowTemplates()
Get template state.
getShowRowsSelector()
Get rows-per-page selector state.
getDisableFilterHiding()
Get disable filter hiding.
getDisplayAsBlock()
Get display as block.
getEnableNumInfo()
Get enable num info.
deleteTemplate($a_name)
Delete template.
isColumnSelected($a_col)
Is given column selected?
getSelectAllCheckbox()
Get the name of the checkbox that should be toggled with a select all button.
getColumnCount()
Returns the column count based on the number of the header row columns @access public.
if($format !==null) $name
Definition: metadata.php:230
$url

References Vendor\Package\$c, $ctrl, $DIC, $format, $ilCtrl, $ilUser, ilTableGUI\$limit, ilTableGUI\$lng, ilTableGUI\$max_count, $name, $url, dataExists(), deleteTemplate(), ilTableGUI\getColumnCount(), getContext(), getDisableFilterHiding(), getDisplayAsBlock(), getEnableNumInfo(), getFormName(), getId(), getLinkbar(), getParentCmd(), getRowSelectorLabel(), getSelectableColumns(), getSelectAllCheckbox(), getShowRowsSelector(), getShowTemplates(), isColumnSelected(), saveTemplate(), and ilAdvancedSelectionListGUI\STYLE_LINK_BUTTON.

Referenced by getHTML().

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

◆ fillHeader()

ilTable2GUI::fillHeader ( )

Reimplemented in ilQuestionBrowserTableGUI.

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

1393 {
1394 $lng = $this->lng;
1395
1396 $allcolumnswithwidth = true;
1397 foreach ((array) $this->column as $idx => $column) {
1398 if (!strlen($column["width"])) {
1399 $allcolumnswithwidth = false;
1400 } elseif ($column["width"] == "1") {
1401 // IE does not like 1 but seems to work with 1%
1402 $this->column[$idx]["width"] = "1%";
1403 }
1404 }
1405 if ($allcolumnswithwidth) {
1406 foreach ((array) $this->column as $column) {
1407 $this->tpl->setCurrentBlock("tbl_colgroup_column");
1408 $width = (is_numeric($column["width"]))
1409 ? $column["width"]."px"
1410 : $column["width"];
1411 $this->tpl->setVariable("COLGROUP_COLUMN_WIDTH", " style=\"width:" . $width . "\"");
1412 $this->tpl->parseCurrentBlock();
1413 }
1414 }
1415 $ccnt = 0;
1416 foreach ((array) $this->column as $column) {
1417 $ccnt++;
1418 //tooltip
1419 if ($column["tooltip"] != "") {
1420 include_once("./Services/UIComponent/Tooltip/classes/class.ilTooltipGUI.php");
1422 "thc_" . $this->getId() . "_" . $ccnt,
1423 $column["tooltip"],
1424 "",
1425 "bottom center",
1426 "top center",
1427 !$column["tooltip_html"]
1428 );
1429 }
1430
1431 if ($column['is_checkbox_action_column'] && $this->select_all_on_top) {
1432 $this->tpl->setCurrentBlock('tbl_header_top_select_all');
1433 $this->tpl->setVariable("HEAD_SELECT_ALL_TXT_SELECT_ALL", $lng->txt("select_all"));
1434 $this->tpl->setVariable("HEAD_SELECT_ALL_CHECKBOX_NAME", $this->getSelectAllCheckbox());
1435 $this->tpl->setVariable("HEAD_SELECT_ALL_FORM_NAME", $this->getFormName());
1436 $this->tpl->setVariable("HEAD_CHECKBOXNAME", "chb_select_all_" . $this->unique_id . '_top');
1437 $this->tpl->parseCurrentBlock();
1438 continue;
1439 }
1440 if (
1441 !$this->enabled["sort"] ||
1442 $column["sort_field"] == "" &&
1443 !($column["is_checkbox_action_column"] && $this->select_all_on_top)
1444 ) {
1445 $this->tpl->setCurrentBlock("tbl_header_no_link");
1446 if ($column["width"] != "") {
1447 $width = (is_numeric($column["width"]))
1448 ? $column["width"]."px"
1449 : $column["width"];
1450 $this->tpl->setVariable("TBL_COLUMN_WIDTH_NO_LINK", " style=\"width:" . $width . "\"");
1451 }
1452 if ($column["class"] != "") {
1453 $this->tpl->setVariable("TBL_COLUMN_CLASS_NO_LINK", " class=\"" . $column["class"] . "\"");
1454 }
1455 if (!$column["is_checkbox_action_column"]) {
1456 $this->tpl->setVariable(
1457 "TBL_HEADER_CELL_NO_LINK",
1458 $column["text"]
1459 );
1460 } else {
1461 $this->tpl->setVariable(
1462 "TBL_HEADER_CELL_NO_LINK",
1463 ilUtil::img(ilUtil::getImagePath("spacer.png"), $lng->txt("action"))
1464 );
1465 }
1466 $this->tpl->setVariable("HEAD_CELL_NL_ID", "thc_" . $this->getId() . "_" . $ccnt);
1467 if ($column["class"] != "") {
1468 $this->tpl->setVariable("TBL_HEADER_CLASS", " " . $column["class"]);
1469 }
1470 $this->tpl->parseCurrentBlock();
1471 $this->tpl->touchBlock("tbl_header_th");
1472 continue;
1473 }
1474 if (($column["sort_field"] == $this->order_field) && ($this->order_direction != "")) {
1475 $this->tpl->setCurrentBlock("tbl_order_image");
1476 if ($this->order_direction == "asc") {
1477 $this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-up");
1478 } else {
1479 $this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-down");
1480 }
1481 $this->tpl->setVariable("IMG_ORDER_ALT", $this->lng->txt("change_sort_direction"));
1482 $this->tpl->parseCurrentBlock();
1483 }
1484
1485 $this->tpl->setCurrentBlock("tbl_header_cell");
1486 $this->tpl->setVariable("TBL_HEADER_CELL", $column["text"]);
1487 $this->tpl->setVariable("HEAD_CELL_ID", "thc_" . $this->getId() . "_" . $ccnt);
1488
1489 // only set width if a value is given for that column
1490 if ($column["width"] != "") {
1491 $width = (is_numeric($column["width"]))
1492 ? $column["width"]."px"
1493 : $column["width"];
1494 $this->tpl->setVariable("TBL_COLUMN_WIDTH", " style=\"width:" . $width . "\"");
1495 }
1496 if ($column["class"] != "") {
1497 $this->tpl->setVariable("TBL_COLUMN_CLASS", " class=\"" . $column["class"] . "\"");
1498 }
1499
1500 $lng_sort_column = $this->lng->txt("sort_by_this_column");
1501 $this->tpl->setVariable("TBL_ORDER_ALT", $lng_sort_column);
1502
1503 $order_dir = "asc";
1504
1505 if ($column["sort_field"] == $this->order_field) {
1506 $order_dir = $this->sort_order;
1507
1508 $lng_change_sort = $this->lng->txt("change_sort_direction");
1509 $this->tpl->setVariable("TBL_ORDER_ALT", $lng_change_sort);
1510 }
1511
1512 if ($column["class"] != "") {
1513 $this->tpl->setVariable("TBL_HEADER_CLASS", " " . $column["class"]);
1514 }
1515 $this->setOrderLink($column["sort_field"], $order_dir);
1516 $this->tpl->parseCurrentBlock();
1517 $this->tpl->touchBlock("tbl_header_th");
1518 }
1519
1520 $this->tpl->setCurrentBlock("tbl_header");
1521 $this->tpl->parseCurrentBlock();
1522 }
setOrderLink($sort_field, $order_dir)
static addTooltip( $a_el_id, $a_text, $a_container="", $a_my="bottom center", $a_at="top center", $a_use_htmlspecialchars=true)
Adds a tooltip to an HTML element.
static img($a_src, $a_alt=null, $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.

References ilTableGUI\$lng, ilTooltipGUI\addTooltip(), getFormName(), getId(), ilUtil\getImagePath(), getSelectAllCheckbox(), ilUtil\img(), and setOrderLink().

Referenced by render().

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

◆ fillHeaderCSV()

ilTable2GUI::fillHeaderCSV (   $a_csv)
protected

CSV Version of Fill Header.

Likely to be overwritten by derived class.

Parameters
object$a_csvcurrent file

Reimplemented in ilBookingReservationsTableGUI, ilSCORM2004TrackingItemsTableGUI, ilSCORMTrackingItemsTableGUI, ilLPProgressTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, and ilTrUserObjectsPropsTableGUI.

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

3288 {
3289 foreach ($this->column as $column) {
3290 $title = strip_tags($column["text"]);
3291 if ($title) {
3292 $a_csv->addColumn($title);
3293 }
3294 }
3295 $a_csv->addRow();
3296 }

References ilTableGUI\$title.

Referenced by exportData().

+ Here is the caller graph for this function:

◆ fillHeaderExcel()

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

Excel Version of Fill Header.

Likely to be overwritten by derived class.

Parameters
ilExcel$a_excelexcel wrapper
int$a_rowrow counter

Reimplemented in ilBookingReservationsTableGUI, ilLPProgressTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, ilTrUserObjectsPropsTableGUI, ilSCORM2004TrackingItemsTableGUI, and ilSCORMTrackingItemsTableGUI.

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

3241 {
3242 $col = 0;
3243 foreach ($this->column as $column) {
3244 $title = strip_tags($column["text"]);
3245 if ($title) {
3246 $a_excel->setCell($a_row, $col++, $title);
3247 }
3248 }
3249 $a_excel->setBold("A" . $a_row . ":" . $a_excel->getColumnCoord($col - 1) . $a_row);
3250 }
setCell($a_row, $a_col, $a_value, $a_datatype=null)
Set cell value.
setBold($a_coords)
Set cell(s) to bold.
getColumnCoord($a_col)
Get column "name" from number.

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

Referenced by exportData().

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

◆ fillHiddenRow()

ilTable2GUI::fillHiddenRow ( )

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

2533 {
2534 $hidden_row = false;
2535 if (count($this->hidden_inputs)) {
2536 foreach ($this->hidden_inputs as $hidden_input) {
2537 $this->tpl->setCurrentBlock("tbl_hidden_field");
2538 $this->tpl->setVariable("FIELD_NAME", $hidden_input["name"]);
2539 $this->tpl->setVariable("FIELD_VALUE", $hidden_input["value"]);
2540 $this->tpl->parseCurrentBlock();
2541 }
2542
2543 $this->tpl->setCurrentBlock("tbl_hidden_row");
2544 $this->tpl->parseCurrentBlock();
2545 }
2546 }

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ fillMetaCSV()

ilTable2GUI::fillMetaCSV (   $a_csv)
protected

Add meta information to csv export.

Likely to be overwritten by derived class.

Parameters
object$a_csvcurrent file

Reimplemented in ilLPTableBaseGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsTableGUI, and ilLPObjectStatisticsTypesTableGUI.

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

3278 {
3279 }

Referenced by exportData().

+ Here is the caller graph for this function:

◆ fillMetaExcel()

ilTable2GUI::fillMetaExcel ( ilExcel  $a_excel,
$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

Reimplemented in ilLPTableBaseGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsTableGUI, and ilLPObjectStatisticsTypesTableGUI.

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

3230 {
3231 }

Referenced by exportData().

+ Here is the caller graph for this function:

◆ fillRow()

ilTable2GUI::fillRow (   $a_set)
protected

Standard Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
array$a_setdata array

Reimplemented in ilExParticipantTableGUI, ilConditionHandlerTableGUI, ilWebDAVMountInstructionsDocumentTableGUI, ilBiblLibraryTableGUI, ilBiblEntryTableGUI, ilBiblAdminFieldTableGUI, ilBiblTranslationTableGUI, ilContributorTableGUI, ilBookingAssignParticipantsTableGUI, ilBookingObjectsTableGUI, ilBookingAssignObjectsTableGUI, ilBookingParticipantsTableGUI, ilBookingReservationsTableGUI, ilBookingSchedulesTableGUI, ilCategoryAssignRoleTableGUI, ilBannedUsersTableGUI, ilChatroomSmiliesTableGUI, ilCmiXapiVerificationTableGUI, ilCourseEditParticipantsTableGUI, ilCourseGroupingAssignmentTableGUI, ilCourseGroupingTableGUI, ilCourseInfoFileTableGUI, ilCourseObjectiveMaterialAssignmentTableGUI, ilCourseObjectiveQuestionAssignmentTableGUI, ilCourseObjectiveQuestionsTableGUI, ilCourseObjectivesTableGUI, ilCourseParticipantsGroupsTableGUI, ilCourseParticipantsTableGUI, ilCourseStartObjectsTableGUI, ilCourseVerificationTableGUI, ilDclExportTableGUI, ilDclFieldListTableGUI, ilDclTableListTableGUI, ilDclTableViewEditFieldsTableGUI, ilDclTableViewTableGUI, ilExAssignmentFileSystemTableGUI, ilExAssignmentListTextTableGUI, ilExAssignmentPeerReviewOverviewTableGUI, ilExAssignmentPeerReviewTableGUI, ilExAssignmentTeamLogTableGUI, ilExAssignmentTeamTableGUI, ilExcCriteriaCatalogueTableGUI, ilExcCriteriaTableGUI, ilExerciseVerificationTableGUI, ilFeedbackConfirmationTable2GUI, ilFileVersionsTableGUI, ilObjForumSearchResultTableGUI, ilGlossaryAutoLinkTableGUI, ilGlossaryForeignTermTableGUI, ilTermUsagesTableGUI, ilGroupEditParticipantsTableGUI, ilGroupParticipantsTableGUI, ilItemGroupItemsTableGUI, ilExportIDTableGUI, ilHelpMappingTableGUI, ilHelpTooltipTableGUI, ilLinksTableGUI, ilLMBlockedUsersTableGUI, ilLMDownloadTableGUI, ilLMEditShortTitlesTableGUI, ilLMGlossaryTableGUI, ilLMPagesTableGUI, ilLMQuestionListTableGUI, ilLTIConsumerVerificationTableGUI, ilMediaCastTableGUI, ilMediaPoolPageUsagesTableGUI, ilMediaPoolTableGUI, ilUploadDirFilesTableGUI, ilPollAnswerTableGUI, ilPollUserTableGUI, ilPortfolioPageTableGUI, ilPortfolioTableGUI, ilObjectivesAlignmentTableGUI, ilSCORM2004TrackingTableGUI, ilScormSpecialPagesTableGUI, ILIAS\Scorm2004\Editor\ilSCORMMediaOverviewTableGUI, ILIAS\Scorm2004\Editor\ilSCORMQuestionOverviewTableGUI, ilSCORMOfflineModeUsersTableGUI, ilSCORMTrackingItemPerUserTableGUI, ilSCORMTrackingItemsPerScoTableGUI, ilSCORMTrackingItemsPerUserTableGUI, ilSCORMTrackingItemsScoTableGUI, ilSCORMTrackingUsersTableGUI, ilSCORMVerificationTableGUI, ilSessionFileTableGUI, ilSessionMaterialsTableGUI, ilSessionOverviewTableGUI, ilSessionParticipantsTableGUI, ilStudyProgrammeAcknowledgeCompletedCoursesTableGUI, ilStudyProgrammeIndividualPlanTableGUI, ilStudyProgrammeMailMemberSearchTableGUI, ilStudyProgrammeMembersTableGUI, SurveyConstraintsTableGUI, ilSurveyQuestionTableGUI, ilFoundUsersTableGUI, ilSpecialUsersTableGUI, ilSurveyParticipantsTableGUI, ilSurveySkillAssignmentTableGUI, ilSurveySkillChangesTableGUI, ilSurveySkillTableGUI, ilSurveySkillThresholdsTableGUI, ilSurveySyncTableGUI, ilBenchmarkTableGUI, ilResultsByQuestionTableGUI, ilTestDetailedEvaluationStatisticsTableGUI, ilTestTopListTableGUI, ilTestVerificationTableGUI, assFileUploadFileTableGUI, ilQuestionPoolImportVerificationTableGUI, ilWebResourceEditableLinkTableGUI, ilWebResourceLinkTableGUI, ilImportantPagesTableGUI, ilObjWikiSearchResultTableGUI, ilWikiContributorsTableGUI, ilWikiExportOrderTableGUI, ilWikiPagesTableGUI, ilWikiPageTemplatesTableGUI, ilWikiRecentChangesTableGUI, ilWikiSearchResultsTableGUI, ilAccessPermissionsStatusTableGUI, ilAvailableRolesStatusTableGUI, ilRbacLogTableGUI, ilRoleAdoptPermissionTableGUI, ilRoleSelectionTableGUI, ilAccessKeyTableGUI, arIndexTableGUI, ilSettingsTemplateTableGUI, ilAdvancedMDFieldTableGUI, ilAdvancedMDRecordExportFilesTableGUI, ilAdvancedMDRecordTableGUI, ilAdvancedMDFieldDefinitionGroupTableGUI, ilAuthLoginPageEditorTableGUI, ilShibbolethRoleAssignmentTableGUI, ilBadgeImageTemplateTableGUI, ilBadgePersonalTableGUI, ilBadgeTableGUI, ilBadgeTypesTableGUI, ilBadgeUserTableGUI, ilObjectBadgeTableGUI, ilCalendarAppointmentsTableGUI, ilCalendarCategoryTableGUI, ilCalendarChangedAppointmentsTableGUI, ilCalendarInboxSharedTableGUI, ilCalendarManageTableGUI, ilCalendarSharedListTableGUI, ilCalendarSharedRoleListTableGUI, ilCalendarSharedUserListTableGUI, ilMilestoneResponsiblesTableGUI, ilConsultationHourGroupTableGUI, ilClipboardTableGUI, ilComponentsTableGUI, ilPluginsOverviewTableGUI, ilBuddySystemRelationsTableGUI, ilMailMemberSearchTableGUI, ilMailSearchCoursesMembersTableGUI, ilMailSearchCoursesTableGUI, ilContainerStartObjectsContentTableGUI, ilContainerStartObjectsTableGUI, ilContainerFilterTableGUI, ilContSkillMemberTableGUI, ilContSkillTableGUI, ilCopySelfAssQuestionTableGUI, ilPageHistoryTableGUI, ilPageMultiLangTableGUI, ilPCFileListTableGUI, ilPCGridCellTableGUI, ilPCIIMOverlaysTableGUI, ilPCIIMPopupTableGUI, ilPCIIMTriggerTableGUI, ilPCImageMapTableGUI, ilPCTabsTableGUI, ilPageLayoutTableGUI, ilCronManagerTableGUI, ilDashObjectsTableGUI, ilExportTableGUI, ilSubItemSelectionTableGUI, ilFileSystemTableGUI, ilHelpModuleTableGUI, ilHistoryTableGUI, ilLanguageTableGUI, ilLDAPRoleAssignmentTableGUI, ilLDAPRoleMappingTableGUI, ilLDAPServerTableGUI, ilLogComponentTableGUI, ilObjectConsumerTableGUI, ilMailAttachmentTableGUI, ilMailFolderTableGUI, ilMMTopItemTableGUI, ilImageMapTableGUI, ilMediaObjectUsagesTableGUI, ilMobMultiSrtConfirmationTable2GUI, ilMobSubtitleTableGUI, ilMultiSrtConfirmationTable2GUI, ilSubscriberTableGUI, ilWaitingListTableGUI, ilMemberExportFileTableGUI, ilMDCopyrightTableGUI, ilMDCopyrightUsageTableGUI, ilMultilingualismTableGUI, ilNewsForContextTableGUI, ilPDNewsTableGUI, ilObjClipboardTableGUI, ilObjectTranslation2TableGUI, ilObjectTranslationTableGUI, ilWorkspaceAccessTableGUI, ilRatingCategoryTableGUI, ilAdminSubItemsTableGUI, ilModulesTableGUI, ilNewItemGroupTableGUI, ilRepDependenciesTableGUI, ilRecommendedContentRoleTableGUI, ilSamlIdpTableGUI, ilSearchResultTableGUI, ilLuceneAdvancedSearchActivationTableGUI, ilPersonalSkillTableGUI, ilSelfEvaluationSimpleTableGUI, ilSelfEvaluationTableGUI, ilSkillAssignMaterialsTableGUI, ilSkillCatTableGUI, ilSkillLevelProfileAssignmentTableGUI, ilSkillLevelResourcesTableGUI, ilSkillLevelTableGUI, ilSkillProfileLevelsTableGUI, ilSkillProfileTableGUI, ilSkillProfileUserTableGUI, ilSkillSelfEvalSkillTableGUI, ilSkillUsageTableGUI, ilContentStylesTableGUI, ilPasteStyleCharacteristicTableGUI, ilStyleColorTableGUI, ilStyleImageTableGUI, ilStyleMediaQueryTableGUI, ilStyleTableGUI, ilTableTemplatesTableGUI, ilSystemStylesTableGUI, ilSysStyleCatAssignmentTableGUI, ilUserForTagTableGUI, ilTaxAssignedItemsTableGUI, ilTaxonomyAdministrationRepositoryTableGUI, ilTaxonomyListTableGUI, ilTaxonomyTableGUI, ilLPObjectStatisticsAdminTableGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsLPTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilLPCollectionSettingsTableGUI, ilLPProgressTableGUI, ilTrMatrixTableGUI, ilTrSummaryTableGUI, ilSCTreeDuplicatesTableGUI, ilUserActionAdminTableGUI, ilCustomUserFieldSettingsTableGUI, ilRoleAssignmentTableGUI, ilUserClipboardTableGUI, ilUserFieldSettingsTableGUI, ilUserRoleStartingPointTableGUI, ilECSCategoryMappingTableGUI, ilECSCommunityTableGUI, ilECSImportedContentTableGUI, ilECSReleasedContentTableGUI, ilECSNodeMappingTreeTableGUI, ilBackgroundTaskTableGUI, ilClientListTableGUI, ilRegistrationCodesTableGUI, ilAccountCodesTableGUI, ilAssignmentsTableGUI, ilExGradesTableGUI, ilCmiXapiLrsTypesTableGUI, ilCmiXapiScoringTableGUI, ilCmiXapiStatementsTableGUI, ilLTIConsumerProviderTableGUI, ilLTIConsumerProviderUsageTableGUI, ilLTIConsumerScoringTableGUI, ilSCORM2004ExportTableGUI, ilSCORM2004TrackingItemsTableGUI, ilSCORMTrackingItemsTableGUI, ilSurveyQuestionblockbrowserTableGUI, ilSurveyQuestionbrowserTableGUI, ilSurveyAppraiseesTableGUI, ilSurveyCodesEditTableGUI, ilSurveyCodesTableGUI, ilSurveyMaintenanceTableGUI, ilSurveyResultsCumulatedTableGUI, ilSurveyResultsUserTableGUI, ilSurveyQuestionPoolExportTableGUI, ilSurveyMaterialsTableGUI, SurveyMaterialsSourceTableGUI, ilSurveyPhrasesTableGUI, ilSurveySavePhraseTableGUI, ilSurveyQuestionsTableGUI, ilAssessmentFolderLogAdministrationTableGUI, ilAssessmentFolderLogTableGUI, ilEvaluationAllTableGUI, ilListOfQuestionsTableGUI, ilParticipantsTestResultsTableGUI, ilTestAggregatedResultsTableGUI, ilTestAverageReachedPointsTableGUI, ilTestDynamicQuestionSetStatisticTableGUI, ilTestHistoryTableGUI, ilTestInviteGroupsTableGUI, ilTestInviteRolesTableGUI, ilTestInviteUsersTableGUI, ilTestParticipantsTableGUI, ilTestQuestionBrowserTableGUI, ilTestQuestionsTableGUI, ilTestSkillLevelThresholdsTableGUI, ilTimingOverviewTableGUI, ilAssQuestionSkillUsagesTableGUI, ilAnswerFrequencyStatisticTableGUI, ilKprimChoiceAnswerFreqStatTableGUI, ilMatchingQuestionAnswerFreqStatTableGUI, ilQuestionBrowserTableGUI, ilQuestionPoolPrintViewTableGUI, ilLanguageExtTableGUI, ilTrObjectUsersPropsTableGUI, ilTrUserObjectsPropsTableGUI, ilForumDraftsTableGUI, ilLMMenuItemsTableGUI, ilExcDeliveredFilesTableGUI, ilConfirmationTableGUI, ilSetupLanguageTableGUI, ilExerciseMemberTableGUI, ilPublicSubmissionsTableGUI, ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI, ilObjWorkspaceFolderTableGUI, ilWorkspaceShareTableGUI, ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI, ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI, ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI, ilAssQuestionSkillAssignmentsTableGUI, exQuestionsTableGUI, ilRendererTableGUI, ilCourseReferenceDeleteConfirmationTableGUI, ilOrgUnitDefaultPermissionTableGUI, ilMarkSchemaTableGUI, ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI, ilTestManScoringParticipantsTableGUI, ilTestPassDetailsOverviewTableGUI, ilTestPassManualScoringOverviewTableGUI, ilTestPassOverviewTableGUI, ilTestPersonalDefaultSettingsTableGUI, ilQuestionCumulatedStatisticsTableGUI, ilObjectRolePermissionTableGUI, ilObjectRoleTemplateOptionsTableGUI, ilObjectRoleTemplatePermissionTableGUI, ilAccessibilityTableGUI, ilCalendarRecurrenceTableGUI, ilConsultationHourBookingTableGUI, ilConsultationHoursTableGUI, ilMailTemplateTableGUI, ilObjectCustomUserFieldsTableGUI, ilObjectOwnershipManagementTableGUI, ilTrashTableGUI, ilRepositoryObjectResultTableGUI, ilSCGroupTableGUI, ilSCTaskTableGUI, ilTermsOfServiceTableGUI, ilUserExportFileTableGUI, ilAssQuestionHintsTableGUI, ilExportSelectionTableGUI, ilObjectCopySelectionTableGUI, ilLOMemberTestResultTableGUI, ilLOTestAssignmentTableGUI, ilTimingsManageTableGUI, ilTimingsPersonalTableGUI, ilObjLearningSequenceContentTableGUI, ilLearningSequenceEditParticipantsTableGUI, ilLearningSequenceParticipantsTableGUI, ilOrgUnitRecursiveUserAssignmentTableGUI, ilOrgUnitUserAssignmentTableGUI, ilOrgUnitOtherRolesTableGUI, ilOrgUnitStaffTableGUI, ilOrgUnitTypeTableGUI, ilStudyProgrammeAutoCategoriesTableGUI, ilStudyProgrammeAutoMembershipsTableGUI, ilStudyProgrammeTypeTableGUI, ilTestRandomQuestionSetNonAvailablePoolsTableGUI, ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI, ilRoleTableGUI, ilDidacticTemplateSettingsTableGUI, ilLTIProviderReleasedObjectsTableGUI, ilObjectCopyProgressTableGUI, ilObjectCopySearchResultTableGUI, ilObjectTableGUI, ilECSServerTableGUI, ilWorkflowEngineDefinitionsTableGUI, ilTermListTableGUI, ilTermQuickListTableGUI, ilPresentationListTableGUI, ilForumTopicTableGUI, ilNotificationSettingsTable, ilAssignedUsersTableGUI, ilUserLPTableGUI, ilUserTableGUI, and ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI.

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

2120 {
2121 foreach ($a_set as $key => $value) {
2122 $this->tpl->setVariable("VAL_" . strtoupper($key), $value);
2123 }
2124 }

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ fillRowCSV()

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

CSV Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
object$a_csvcurrent file
array$a_setdata array

Reimplemented in ilBookingReservationsTableGUI, ilPollAnswerTableGUI, ilPollUserTableGUI, ilSCORM2004TrackingItemsTableGUI, ilSCORMTrackingItemsTableGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilLPProgressTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, ilTrUserObjectsPropsTableGUI, ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI, ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI, ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI, ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI, and ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI.

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

3306 {
3307 foreach ($a_set as $key => $value) {
3308 if (is_array($value)) {
3309 $value = implode(', ', $value);
3310 }
3311 $a_csv->addColumn(strip_tags($value));
3312 }
3313 $a_csv->addRow();
3314 }

Referenced by exportData().

+ Here is the caller graph for this function:

◆ fillRowExcel()

ilTable2GUI::fillRowExcel ( ilExcel  $a_excel,
$a_row,
  $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

Reimplemented in ilBookingReservationsTableGUI, ilPollAnswerTableGUI, ilPollUserTableGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilLPProgressTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, ilTrUserObjectsPropsTableGUI, ilUserLPTableGUI, ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI, ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI, ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI, ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI, ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI, ilSCORM2004TrackingItemsTableGUI, and ilSCORMTrackingItemsTableGUI.

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

3261 {
3262 $col = 0;
3263 foreach ($a_set as $value) {
3264 if (is_array($value)) {
3265 $value = implode(', ', $value);
3266 }
3267 $a_excel->setCell($a_row, $col++, $value);
3268 }
3269 }

References ilExcel\setCell().

Referenced by exportData().

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

◆ getAllCommandLimit()

static ilTable2GUI::getAllCommandLimit ( )
static

Get maximum number of entries to enable actions for all.

Returns
int

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

3332 {
3333 global $DIC;
3334
3335 $ilClientIniFile = $DIC["ilClientIniFile"];
3336
3337 $limit = $ilClientIniFile->readVariable("system", "TABLE_ACTION_ALL_LIMIT");
3338 if (!$limit) {
3340 }
3341
3342 return $limit;
3343 }

References $DIC, ilTableGUI\$limit, and ACTION_ALL_LIMIT.

◆ getCloseFormTag()

ilTable2GUI::getCloseFormTag ( )

Get close form tag.

Returns
boolean close form tag

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

201 {
203 }

References $close_form_tag.

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ getContext()

ilTable2GUI::getContext ( )

Get context.

Returns
string

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

2932 {
2933 return $this->context;
2934 }

References $context.

Referenced by deleteTemplate(), fillFooter(), restoreTemplate(), and saveTemplate().

+ Here is the caller graph for this function:

◆ getCurrentState()

ilTable2GUI::getCurrentState ( )

get current settings for order, limit, columns and filter

Returns
array

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

2843 {
2844 $this->determineOffsetAndOrder();
2845 $this->determineLimit();
2846 $this->determineSelectedColumns();
2847 $this->determineSelectedFilters();
2848
2849 // "filter" show/hide is not saved
2850
2851 $result = array();
2852 $result["order"] = $this->getOrderField();
2853 $result["direction"] = $this->getOrderDirection();
2854 $result["offset"] = $this->getOffset();
2855 $result["rows"] = $this->getLimit();
2856 $result["selfilters"] = $this->getSelectedFilters();
2857
2858 // #9514 - $this->getSelectedColumns() will omit deselected, leading to
2859 // confusion on restoring template
2860 $result["selfields"] = $this->selected_column;
2861
2862 // gather filter values
2863 if ($this->filters) {
2864 foreach ($this->filters as $item) {
2865 $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2866 }
2867 }
2868 if ($this->optional_filters && $result["selfilters"]) {
2869 foreach ($this->optional_filters as $item) {
2870 if (in_array($item->getFieldId(), $result["selfilters"])) {
2871 $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2872 }
2873 }
2874 }
2875
2876 return $result;
2877 }
$result
getFilterValue(ilFormPropertyGUI $a_item)
Get current filter value.
getLimit()
Get limit.
getSelectedFilters()
Get selected filters.
getOffset()
Get offset.
determineSelectedFilters()
Determine selected filters.

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

Referenced by saveTemplate().

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

◆ getData()

◆ getDefaultFilterVisibility()

ilTable2GUI::getDefaultFilterVisibility ( )

Get default filter visibility.

Returns
bool

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

1187 {
1189 }

References $default_filter_visibility.

Referenced by isFilterVisible().

+ Here is the caller graph for this function:

◆ getDefaultOrderDirection()

ilTable2GUI::getDefaultOrderDirection ( )

Get Default order direction.

Returns
string Default order direction

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

1169 {
1170 return $this->defaultorderdirection;
1171 }

Referenced by determineOffsetAndOrder().

+ Here is the caller graph for this function:

◆ getDefaultOrderField()

ilTable2GUI::getDefaultOrderField ( )

Get Default order field.

Returns
string Default order field

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

1149 {
1150 return $this->defaultorderfield;
1151 }

Referenced by determineOffsetAndOrder(), ilRegistrationCodesTableGUI\getItems(), and arIndexTableGUI\setOrderAndSegmentation().

+ Here is the caller graph for this function:

◆ getDescription()

ilTable2GUI::getDescription ( )

Get description.

Returns
string description

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

557 {
558 return $this->description;
559 }

Referenced by render().

+ Here is the caller graph for this function:

◆ getDisableFilterHiding()

ilTable2GUI::getDisableFilterHiding ( )

Get disable filter hiding.

Returns
boolean

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

837 {
839 }

References $disable_filter_hiding.

Referenced by fillFooter(), and renderFilter().

+ Here is the caller graph for this function:

◆ getDisplayAsBlock()

ilTable2GUI::getDisplayAsBlock ( )

Get display as block.

Returns
boolean display as block

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

1011 {
1012 return $this->display_as_block;
1013 }

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

+ Here is the caller graph for this function:

◆ getEnableHeader()

ilTable2GUI::getEnableHeader ( )

Get Enable Header.

Returns
boolean Enable Header

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

509 {
510 return $this->enabled["header"];
511 }

◆ getEnableNumInfo()

ilTable2GUI::getEnableNumInfo ( )

Get enable num info.

Returns
boolean enable number of records info

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

529 {
530 return $this->num_info;
531 }

Referenced by fillFooter().

+ Here is the caller graph for this function:

◆ getEnableTitle()

ilTable2GUI::getEnableTitle ( )

Get Enable Title.

Returns
boolean Enable Title

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

489 {
490 return $this->enabled["title"];
491 }

◆ getExportMode()

◆ getExternalSegmentation()

ilTable2GUI::getExternalSegmentation ( )

Get external segmentation.

Returns
boolean data is segmented externally

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

1117 {
1118 return $this->ext_seg;
1119 }

References $ext_seg.

Referenced by determineOffsetAndOrder(), getHTML(), ilAccessibilityTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), and ilWaitingListTableGUI\readUserData().

+ Here is the caller graph for this function:

◆ getExternalSorting()

ilTable2GUI::getExternalSorting ( )

Get external sorting.

Returns
boolean data is sorted externally

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

1053 {
1054 return $this->ext_sort;
1055 }

References $ext_sort.

Referenced by exportData(), getHTML(), ilAccessibilityTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), and setData().

+ Here is the caller graph for this function:

◆ getFilterCols()

ilTable2GUI::getFilterCols ( )

Get filter columns.

Returns
int number of filter columns

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

817 {
818 return $this->filter_cols;
819 }

References $filter_cols.

Referenced by renderFilter().

+ Here is the caller graph for this function:

◆ getFilterCommand()

ilTable2GUI::getFilterCommand ( )

Get filter command.

Returns
string filter command

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

1075 {
1076 return $this->filter_cmd;
1077 }

References $filter_cmd.

◆ getFilterItemByPostVar()

ilTable2GUI::getFilterItemByPostVar (   $a_post_var)
final

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

787 {
788 foreach ($this->getFilterItems() as $item) {
789 if ($item->getPostVar() == $a_post_var) {
790 return $item;
791 }
792 }
793 foreach ($this->getFilterItems(true) as $item) {
794 if ($item->getPostVar() == $a_post_var) {
795 return $item;
796 }
797 }
798 return false;
799 }

References getFilterItems().

Referenced by ilLanguageExtTableGUI\__construct(), executeCommand(), ilLPTableBaseGUI\executeCommand(), ilLPTableBaseGUI\getCurrentFilter(), ilCmiXapiStatementsGUI\initActorFilter(), ilLTIConsumerXapiStatementsGUI\initActorFilter(), ilObjectRolePermissionTableGUI\initColumns(), ilCmiXapiStatementsGUI\initPeriodFilter(), ilLTIConsumerXapiStatementsGUI\initPeriodFilter(), ilCmiXapiStatementsGUI\initVerbFilter(), ilLTIConsumerXapiStatementsGUI\initVerbFilter(), ilWorkflowEngineDefinitionsTableGUI\isFiltered(), and ilRoleTableGUI\parse().

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

◆ getFilterItems()

ilTable2GUI::getFilterItems (   $a_optionals = false)
final

◆ getFilterValue()

ilTable2GUI::getFilterValue ( ilFormPropertyGUI  $a_item)
protected

Get current filter value.

Parameters
ilFormPropertyGUI$a_item
Returns
mixed

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

2886 {
2887 if (method_exists($a_item, "getChecked")) {
2888 return $a_item->getChecked();
2889 } elseif (method_exists($a_item, "getValue")) {
2890 return $a_item->getValue();
2891 } elseif (method_exists($a_item, "getDate")) {
2892 return $a_item->getDate()->get(IL_CAL_DATE);
2893 }
2894 }
const IL_CAL_DATE

References IL_CAL_DATE.

Referenced by getCurrentState().

+ Here is the caller graph for this function:

◆ getFormAction()

◆ getFormName()

ilTable2GUI::getFormName ( )

Get Form name.

Returns
string Form name

Reimplemented from ilTableGUI.

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

968 {
969 return $this->formname;
970 }

Referenced by fillFooter(), fillHeader(), ilObjectRolePermissionTableGUI\fillRow(), and getHTML().

+ Here is the caller graph for this function:

◆ getHTML()

ilTable2GUI::getHTML ( )

Get HTML.

Reimplemented in ilBiblFieldFilterTableGUI, ilMediaPoolTableGUI, ilAccessibilityDocumentTableGUI, ilMailFolderTableGUI, ilMailTemplateTableGUI, ilTermsOfServiceDocumentTableGUI, and ilWebDAVMountInstructionsDocumentTableGUI.

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

1614 {
1615 global $DIC;
1616
1617 $ilUser = null;
1618 if (isset($DIC["ilUser"])) {
1619 $ilUser = $DIC["ilUser"];
1620 }
1621
1622 $lng = $this->lng;
1624
1625
1626 if ($this->getExportMode()) {
1627 $this->exportData($this->getExportMode(), true);
1628 }
1629
1630 $this->prepareOutput();
1631
1632 if (is_object($ilCtrl) && $this->getId() == "") {
1633 $ilCtrl->saveParameter($this->getParentObject(), $this->getNavParameter());
1634 }
1635
1636 if (!$this->getPrintMode()) {
1637 // set form action
1638 if ($this->form_action != "" && $this->getOpenFormTag()) {
1639 $hash = "";
1640 if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization")) {
1641 $hash = "#" . $this->getTopAnchor();
1642 }
1643
1644 if ((bool) $this->form_multipart) {
1645 $this->tpl->touchBlock("form_multipart_bl");
1646 }
1647
1648 if ($this->getPreventDoubleSubmission()) {
1649 $this->tpl->touchBlock("pdfs");
1650 }
1651
1652 $this->tpl->setCurrentBlock("tbl_form_header");
1653 $this->tpl->setVariable("FORMACTION", $this->getFormAction() . $hash);
1654 $this->tpl->setVariable("FORMNAME", $this->getFormName());
1655 $this->tpl->parseCurrentBlock();
1656 }
1657
1658 if ($this->form_action != "" && $this->getCloseFormTag()) {
1659 $this->tpl->touchBlock("tbl_form_footer");
1660 }
1661 }
1662
1663 if (!$this->enabled['content']) {
1664 return $this->render();
1665 }
1666
1667 if (!$this->getExternalSegmentation()) {
1668 $this->setMaxCount(count($this->row_data));
1669 }
1670
1671 $this->determineOffsetAndOrder();
1672
1673 $this->setFooter("tblfooter", $this->lng->txt("previous"), $this->lng->txt("next"));
1674
1675 $data = $this->getData();
1676 if ($this->dataExists()) {
1677 // sort
1678 if (!$this->getExternalSorting() && $this->enabled["sort"]) {
1680 $data,
1681 $this->getOrderField(),
1682 $this->getOrderDirection(),
1683 $this->numericOrdering($this->getOrderField())
1684 );
1685 }
1686
1687 // slice
1688 if (!$this->getExternalSegmentation()) {
1689 $data = array_slice($data, $this->getOffset(), $this->getLimit());
1690 }
1691 }
1692
1693 // fill rows
1694 if ($this->dataExists()) {
1695 if ($this->getPrintMode()) {
1697 }
1698
1699 $this->tpl->addBlockFile(
1700 "TBL_CONTENT",
1701 "tbl_content",
1702 $this->row_template,
1703 $this->row_template_dir
1704 );
1705
1706 foreach ($data as $set) {
1707 $this->tpl->setCurrentBlock("tbl_content");
1708 $this->css_row = ($this->css_row != "tblrow1")
1709 ? "tblrow1"
1710 : "tblrow2";
1711 $this->tpl->setVariable("CSS_ROW", $this->css_row);
1712
1713 $this->fillRow($set);
1714 $this->tpl->setCurrentBlock("tbl_content");
1715 $this->tpl->parseCurrentBlock();
1716 }
1717 } else {
1718 // add standard no items text (please tell me, if it messes something up, alex, 29.8.2008)
1719 $no_items_text = (trim($this->getNoEntriesText()) != '')
1720 ? $this->getNoEntriesText()
1721 : $lng->txt("no_items");
1722
1723 $this->css_row = ($this->css_row != "tblrow1")
1724 ? "tblrow1"
1725 : "tblrow2";
1726
1727 $this->tpl->setCurrentBlock("tbl_no_entries");
1728 $this->tpl->setVariable('TBL_NO_ENTRY_CSS_ROW', $this->css_row);
1729 $this->tpl->setVariable('TBL_NO_ENTRY_COLUMN_COUNT', $this->column_count);
1730 $this->tpl->setVariable('TBL_NO_ENTRY_TEXT', trim($no_items_text));
1731 $this->tpl->parseCurrentBlock();
1732 }
1733
1734
1735 if (!$this->getPrintMode()) {
1736 $this->fillFooter();
1737
1738 $this->fillHiddenRow();
1739
1740 $this->fillActionRow();
1741
1742 $this->storeNavParameter();
1743 }
1744
1745 return $this->render();
1746 }
static setUseRelativeDates($a_status)
set use relative dates
getExportMode()
Was export activated?
getOpenFormTag()
Get open form tag.
prepareOutput()
Anything that must be done before HTML is generated.
getNoEntriesText()
Get text for an empty table.
getParentObject()
Get parent object.
fillRow($a_set)
Standard Version of Fill Row.
getFormAction()
Get Form action parameter.
exportData($format, $send=false)
Export and optionally send current table data.
render()
render table @access public
fillFooter()
Fill footer row.
getPrintMode()
Get print mode.
getCloseFormTag()
Get close form tag.
getTopAnchor()
Get top anchor.
fillActionRow()
Fill Action Row.
getPreventDoubleSubmission()
Get prevent double submission.
setMaxCount($a_max_count)
set max.
setFooter($a_style, $a_previous=0, $a_next=0)
set order direction @access public

References $ctrl, ilTableGUI\$data, $DIC, $ilCtrl, $ilUser, 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(), getTopAnchor(), numericOrdering(), prepareOutput(), render(), ilTableGUI\setFooter(), ilTableGUI\setMaxCount(), ilDatePresentation\setUseRelativeDates(), ilUtil\sortArray(), and storeNavParameter().

Referenced by ilBadgePersonalTableGUI\fillRow(), ilBadgeTableGUI\fillRow(), ilObjectBadgeTableGUI\fillRow(), ilCmiXapiLrsTypesTableGUI\fillRow(), ilParticipantsTestResultsTableGUI\fillRow(), ilTestParticipantsTableGUI\fillRow(), and arIndexTableGUI\render().

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

◆ getId()

ilTable2GUI::getId ( )

Get element id.

Returns
string id

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

991 {
992 return $this->id;
993 }

Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), __construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilLearningSequenceParticipantsTableGUI\__construct(), ilLPTableBaseGUI\addToClipboard(), ilTestSkillLevelThresholdsTableGUI\completeCompetenceTitles(), ilLOMemberTestResultTableGUI\createTestResultLink(), determineOffsetAndOrder(), determineSelectedColumns(), determineSelectedFilters(), fillFooter(), fillHeader(), ilExParticipantTableGUI\fillRow(), ilCourseParticipantsTableGUI\fillRow(), ilSCORMTrackingItemsScoTableGUI\fillRow(), getHTML(), ilLearningSequenceParticipantsTableGUI\getSelectableColumns(), ilParticipantTableGUI\getSelectableColumns(), ilSubscriberTableGUI\getSelectableColumns(), ilWaitingListTableGUI\getSelectableColumns(), ilWorkspaceShareTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), ilParticipantTableGUI\initSettings(), arIndexTableGUI\initTitle(), ilDclRecordListTableGUI\loadProperty(), loadProperty(), ilCourseParticipantsTableGUI\parse(), ilLOMemberTestResultTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilExerciseSubmissionTableGUI\parseRow(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilBuddySystemRelationsTableGUI\render(), render(), renderFilter(), ilParticipantTableGUI\showActionLinks(), ilSubscriberTableGUI\showActionLinks(), ilWaitingListTableGUI\showActionLinks(), and storeProperty().

+ Here is the caller graph for this function:

◆ getIsDataTable()

ilTable2GUI::getIsDataTable ( )

Get is data table.

Returns
boolean is data table

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

469 {
470 return $this->datatable;
471 }

◆ getLimit()

ilTable2GUI::getLimit ( )

Get limit.

Reimplemented from ilTableGUI.

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

3069 {
3070 if ($this->getExportMode() || $this->getPrintMode()) {
3071 return 9999;
3072 }
3073 return parent::getLimit();
3074 }

References getExportMode(), and getPrintMode().

Referenced by ilStudyProgrammeMembersTableGUI\__construct(), ilMailFolderTableGUI\fetchTableData(), getCurrentState(), getHTML(), ilTrSummaryTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserTableGUI\getItems(), getLinkbar(), ilUserTableGUI\getUserIdsForFilter(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilTrashTableGUI\parse(), ilBiblFieldFilterTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilCalendarChangedAppointmentsTableGUI\setAppointments(), and arIndexTableGUI\setOrderAndSegmentation().

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

◆ getLinkbar()

ilTable2GUI::getLinkbar (   $a_num)

Get previous/next linkbar.

Author
Sascha Hofmann shofm.nosp@m.ann@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Returns
array linkbar or false on error

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

2412 {
2413 global $DIC;
2414
2415 $ilUser = $DIC->user();
2416
2418 $lng = $this->lng;
2419
2420 $hash = "";
2421 if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization")) {
2422 $hash = "#" . $this->getTopAnchor();
2423 }
2424
2425 $link = $ilCtrl->getLinkTargetByClass(get_class($this->parent_obj), $this->parent_cmd) .
2426 "&" . $this->getNavParameter() . "=" .
2427 $this->getOrderField() . ":" . $this->getOrderDirection() . ":";
2428
2429 $LinkBar = "";
2430 $layout_prev = $lng->txt("previous");
2431 $layout_next = $lng->txt("next");
2432
2433 // if more entries then entries per page -> show link bar
2434 if ($this->max_count > $this->getLimit() || $this->custom_prev_next) {
2435 $sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
2436
2437 // calculate number of pages
2438 $pages = intval($this->max_count / $this->getLimit());
2439
2440 // add a page if a rest remains
2441 if (($this->max_count % $this->getLimit())) {
2442 $pages++;
2443 }
2444
2445 // links to other pages
2446 $offset_arr = array();
2447 for ($i = 1 ;$i <= $pages ; $i++) {
2448 $newoffset = $this->getLimit() * ($i - 1);
2449
2450 $nav_value = $this->getOrderField() . ":" . $this->getOrderDirection() . ":" . $newoffset;
2451 $offset_arr[$nav_value] = $i;
2452 }
2453
2454 $sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
2455
2456 // previous link
2457 if ($this->custom_prev_next && $this->custom_prev != "") {
2458 if ($LinkBar != "") {
2459 $LinkBar .= $sep;
2460 }
2461 $LinkBar .= "<a href=\"" . $this->custom_prev . $hash . "\">" . $layout_prev . "</a>";
2462 } elseif ($this->getOffset() >= 1 && !$this->custom_prev_next) {
2463 if ($LinkBar != "") {
2464 $LinkBar .= $sep;
2465 }
2466 $prevoffset = $this->getOffset() - $this->getLimit();
2467 $LinkBar .= "<a href=\"" . $link . $prevoffset . $hash . "\">" . $layout_prev . "</a>";
2468 } else {
2469 if ($LinkBar != "") {
2470 $LinkBar .= $sep;
2471 }
2472 $LinkBar .= '<span class="ilTableFootLight">' . $layout_prev . "</span>";
2473 }
2474
2475 // current value
2476 if ($a_num == "1") {
2477 $LinkBar .= '<input type="hidden" name="' . $this->getNavParameter() .
2478 '" value="' . $this->getOrderField() . ":" . $this->getOrderDirection() . ":" . $this->getOffset() . '" />';
2479 }
2480
2481 $sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
2482
2483 // show next link (if not last page)
2484 if ($this->custom_prev_next && $this->custom_next != "") {
2485 if ($LinkBar != "") {
2486 $LinkBar .= $sep;
2487 }
2488 $LinkBar .= "<a href=\"" . $this->custom_next . $hash . "\">" . $layout_next . "</a>";
2489 } elseif (!(($this->getOffset() / $this->getLimit()) == ($pages - 1)) && ($pages != 1) &&
2490 !$this->custom_prev_next) {
2491 if ($LinkBar != "") {
2492 $LinkBar .= $sep;
2493 }
2494 $newoffset = $this->getOffset() + $this->getLimit();
2495 $LinkBar .= "<a href=\"" . $link . $newoffset . $hash . "\">" . $layout_next . "</a>";
2496 } else {
2497 if ($LinkBar != "") {
2498 $LinkBar .= $sep;
2499 }
2500 $LinkBar .= '<span class="ilTableFootLight">' . $layout_next . "</span>";
2501 }
2502
2503 $sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
2504
2505 if (count($offset_arr) && !$this->getDisplayAsBlock() && !$this->custom_prev_next) {
2506 if ($LinkBar != "") {
2507 $LinkBar .= $sep;
2508 }
2509 $LinkBar .= "" .
2510 '<label for="tab_page_sel_' . $a_num . '">' . $lng->txt("page") . '</label> ' .
2512 $this->nav_value,
2513 $this->getNavParameter() . $a_num,
2514 $offset_arr,
2515 false,
2516 true,
2517 0,
2518 "small",
2519 array("id" => "tab_page_sel_" . $a_num,
2520 "onchange" => "ilTablePageSelection(this, 'cmd[" . $this->parent_cmd . "]')")
2521 );
2522 //' <input class="submit" type="submit" name="cmd['.$this->parent_cmd.']" value="'.
2523 //$lng->txt("ok").'" />';
2524 }
2525
2526 return $LinkBar;
2527 } else {
2528 return false;
2529 }
2530 }
$i
Definition: metadata.php:24

References $ctrl, $DIC, $i, $ilCtrl, $ilUser, ilTableGUI\$lng, ilUtil\formSelect(), getDisplayAsBlock(), getLimit(), getNavParameter(), getOffset(), ilTableGUI\getOrderDirection(), getOrderField(), and getTopAnchor().

Referenced by fillFooter().

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

◆ getNavParameter()

ilTable2GUI::getNavParameter ( )
final

◆ getNoEntriesText()

ilTable2GUI::getNoEntriesText ( )

Get text for an empty table.

Returns
string Text

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

449 {
450 return $this->noentriestext;
451 }

Referenced by getHTML(), and ilBuddySystemRelationsTableGUI\render().

+ Here is the caller graph for this function:

◆ getOffset()

ilTable2GUI::getOffset ( )

Get offset.

Reimplemented from ilTableGUI.

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

3080 {
3081 if ($this->getExportMode() || $this->getPrintMode()) {
3082 return 0;
3083 }
3084 return parent::getOffset();
3085 }

References getExportMode(), and getPrintMode().

Referenced by ilStudyProgrammeMembersTableGUI\__construct(), ilMailFolderTableGUI\fetchTableData(), getCurrentState(), getHTML(), ilTrSummaryTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserTableGUI\getItems(), getLinkbar(), ilUserTableGUI\getUserIdsForFilter(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilTrashTableGUI\parse(), ilBiblFieldFilterTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), arIndexTableGUI\setOrderAndSegmentation(), and storeNavParameter().

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

◆ getOpenFormTag()

ilTable2GUI::getOpenFormTag ( )

Get open form tag.

Returns
boolean open form tag

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

181 {
183 }

References $open_form_tag.

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ getOrderField()

ilTable2GUI::getOrderField ( )

Reimplemented in ilBookingReservationsTableGUI.

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

572 {
573 return $this->order_field;
574 }

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

+ Here is the caller graph for this function:

◆ getParentCmd()

◆ getParentObject()

ilTable2GUI::getParentObject ( )

Get parent object.

Returns
object parent GUI object

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

399 {
400 return $this->parent_obj;
401 }

References $parent_obj.

Referenced by ilMailFolderTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilMailFolderTableGUI\addPrintRowAction(), ilMailFolderTableGUI\addViewRowAction(), ilAnswerFrequencyStatisticTableGUI\buildAddAnswerModalGui(), ilTestQuestionsTableGUI\buildQuestionRemoveButton(), ilTestQuestionsTableGUI\buildQuestionTitleLink(), ilMailFolderTableGUI\fetchTableData(), ilConditionHandlerTableGUI\fillRow(), ilDclExportTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilSCORMOfflineModeUsersTableGUI\fillRow(), ilSCORMTrackingItemsPerScoTableGUI\fillRow(), ilSCORMTrackingItemsPerUserTableGUI\fillRow(), ilSCORMTrackingItemsScoTableGUI\fillRow(), ilStudyProgrammeMembersTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilWebResourceEditableLinkTableGUI\fillRow(), ilWebResourceLinkTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilAdvancedMDFieldDefinitionGroupTableGUI\fillRow(), ilAuthLoginPageEditorTableGUI\fillRow(), ilShibbolethRoleAssignmentTableGUI\fillRow(), ilBadgeImageTemplateTableGUI\fillRow(), ilBadgePersonalTableGUI\fillRow(), ilBadgeTableGUI\fillRow(), ilObjectBadgeTableGUI\fillRow(), ilCalendarCategoryTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilConsultationHourGroupTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilContSkillTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilPCFileListTableGUI\fillRow(), ilCronManagerTableGUI\fillRow(), ilExportTableGUI\fillRow(), ilLDAPRoleAssignmentTableGUI\fillRow(), ilLDAPRoleMappingTableGUI\fillRow(), ilLDAPServerTableGUI\fillRow(), ilObjectConsumerTableGUI\fillRow(), ilMemberExportFileTableGUI\fillRow(), ilMDCopyrightTableGUI\fillRow(), ilSamlIdpTableGUI\fillRow(), ilUserRoleStartingPointTableGUI\fillRow(), ilECSCategoryMappingTableGUI\fillRow(), ilECSCommunityTableGUI\fillRow(), ilECSNodeMappingTreeTableGUI\fillRow(), ilSCORM2004ExportTableGUI\fillRow(), ilSurveyAppraiseesTableGUI\fillRow(), SurveyMaterialsSourceTableGUI\fillRow(), ilForumDraftsTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\fillRow(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\fillRow(), ilTestPassOverviewTableGUI\fillRow(), ilConsultationHourBookingTableGUI\fillRow(), ilConsultationHoursTableGUI\fillRow(), ilObjectCustomUserFieldsTableGUI\fillRow(), ilSCGroupTableGUI\fillRow(), ilRoleTableGUI\fillRow(), ilDidacticTemplateSettingsTableGUI\fillRow(), ilObjectCopyProgressTableGUI\fillRow(), ilECSServerTableGUI\fillRow(), ilForumTopicTableGUI\fillRow(), ilAssignedUsersTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilMailTemplateTableGUI\formatActionsDropDown(), ilWebDAVMountInstructionsDocumentTableGUI\formatActionsDropDown(), ilAccessibilityDocumentTableGUI\formatActionsDropDown(), ilTermsOfServiceDocumentTableGUI\formatActionsDropDown(), ilStudyProgrammeIndividualPlanTableGUI\getDeadlineInput(), ilMailFolderTableGUI\getHTML(), getHTML(), ilContainerStartObjectsContentTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilStudyProgrammeIndividualPlanTableGUI\getRequiredPointsInput(), ilLOTestAssignmentTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilRoleTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilTestPassOverviewTableGUI\initColumns(), ilObjectRolePermissionTableGUI\initColumns(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilParticipantTableGUI\initFilter(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\initFilter(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\initFilter(), ilWebResourceLinkTableGUI\initSorting(), ilConsultationHourBookingTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilExerciseSubmissionTableGUI\parseRow(), ilLocalUnitCategoryTableGUI\populateTitle(), ilLinkCheckerTableGUI\prepareHTML(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilExerciseSubmissionTableGUI\render(), ilSubscriberTableGUI\showActionLinks(), and ilWaitingListTableGUI\showActionLinks().

+ Here is the caller graph for this function:

◆ getPrefix()

ilTable2GUI::getPrefix ( )
final

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

629 {
630 return $this->prefix;
631 }

References ilTableGUI\$prefix.

Referenced by ilAssQuestionSkillAssignmentsTableGUI\__construct(), and setId().

+ Here is the caller graph for this function:

◆ getPreventDoubleSubmission()

ilTable2GUI::getPreventDoubleSubmission ( )

Get prevent double submission.

Returns
bool prevent double submission

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

3378 {
3380 }

References $prevent_double_submission.

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ getPrintMode()

ilTable2GUI::getPrintMode ( )

Get print mode.

Returns
bool $a_value

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

3121 {
3122 return $this->print_mode;
3123 }

References $print_mode.

Referenced by ilTrObjectUsersPropsTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), getHTML(), getLimit(), getOffset(), and render().

+ Here is the caller graph for this function:

◆ getResetCommand()

ilTable2GUI::getResetCommand ( )

Get reset filter command.

Returns
string reset command

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

1097 {
1098 return $this->reset_cmd;
1099 }

References $reset_cmd.

◆ getRowSelectorLabel()

ilTable2GUI::getRowSelectorLabel ( )
Returns
string

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

3358 {
3360 }

References $row_selector_label.

Referenced by fillFooter().

+ 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

Reimplemented in ilBookingObjectsTableGUI, ilExerciseSubmissionTableGUI, ilTermListTableGUI, ilLearningSequenceParticipantsTableGUI, ilLTIConsumerProviderTableGUI, ilSCORM2004TrackingItemsTableGUI, ilSCORMTrackingItemsTableGUI, ilSessionParticipantsTableGUI, ilStudyProgrammeIndividualPlanTableGUI, ilStudyProgrammeMembersTableGUI, ilSurveyResultsCumulatedTableGUI, ilSurveyQuestionsTableGUI, ilEvaluationAllTableGUI, ilTestQuestionsTableGUI, ilQuestionBrowserTableGUI, ilQuestionPoolPrintViewTableGUI, ilAccessibilityTableGUI, arDeleteGUI, arIndexTableGUI, ilMailFolderTableGUI, ilParticipantTableGUI, ilSubscriberTableGUI, ilWaitingListTableGUI, ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI, ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI, ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI, ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI, ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI, ilRepositoryUserResultTableGUI, ilSearchResultTableGUI, ilTermsOfServiceTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, ilTrUserObjectsPropsTableGUI, ilUserTableGUI, ilWebDAVMountInstructionsDocumentTableGUI, and ilWorkflowEngineDefinitionsTableGUI.

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

251 {
252 return array();
253 }

Referenced by ilBookingReservationsTableGUI\__construct(), determineSelectedColumns(), fillFooter(), and ilBookingReservationsTableGUI\getAdditionalExportCols().

+ Here is the caller graph for this function:

◆ getSelectAllCheckbox()

ilTable2GUI::getSelectAllCheckbox ( )

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

Returns
string name of the checkbox

Reimplemented from ilTableGUI.

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

1021 {
1023 }

References ilTableGUI\$select_all_checkbox.

Referenced by fillFooter(), and fillHeader().

+ Here is the caller graph for this function:

◆ getSelectedColumns()

ilTable2GUI::getSelectedColumns ( )

Get selected columns.

Parameters

return

Reimplemented in ilEvaluationAllTableGUI, and ilRegistrationCodesTableGUI.

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

335 {
336 $scol = array();
337 foreach ($this->selected_column as $k => $v) {
338 if ($v) {
339 $scol[$k] = $k;
340 }
341 }
342 return $scol;
343 }

Referenced by ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilUserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilAccessibilityTableGUI\__construct(), ilTermsOfServiceTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\fillHeaderCSV(), ilSCORMTrackingItemsTableGUI\fillHeaderCSV(), ilTrMatrixTableGUI\fillHeaderCSV(), ilTrObjectUsersPropsTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderCSV(), ilTrUserObjectsPropsTableGUI\fillHeaderCSV(), ilTrMatrixTableGUI\fillHeaderExcel(), ilTrObjectUsersPropsTableGUI\fillHeaderExcel(), ilTrSummaryTableGUI\fillHeaderExcel(), ilTrUserObjectsPropsTableGUI\fillHeaderExcel(), ilSCORM2004TrackingItemsTableGUI\fillHeaderExcel(), ilSCORMTrackingItemsTableGUI\fillHeaderExcel(), ilBookingObjectsTableGUI\fillRow(), ilBookingReservationsTableGUI\fillRow(), ilCourseParticipantsTableGUI\fillRow(), ilGroupParticipantsTableGUI\fillRow(), ilSessionParticipantsTableGUI\fillRow(), ilStudyProgrammeIndividualPlanTableGUI\fillRow(), ilStudyProgrammeMembersTableGUI\fillRow(), ilSubscriberTableGUI\fillRow(), ilWaitingListTableGUI\fillRow(), ilSearchResultTableGUI\fillRow(), ilTrMatrixTableGUI\fillRow(), ilTrSummaryTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRow(), ilSurveyResultsCumulatedTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilLearningSequenceParticipantsTableGUI\fillRow(), ilWorkflowEngineDefinitionsTableGUI\fillRow(), ilTermListTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRowCSV(), ilSCORMTrackingItemsTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowCSV(), ilTrObjectUsersPropsTableGUI\fillRowCSV(), ilTrSummaryTableGUI\fillRowCSV(), ilTrUserObjectsPropsTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowExcel(), ilTrObjectUsersPropsTableGUI\fillRowExcel(), ilTrSummaryTableGUI\fillRowExcel(), ilTrUserObjectsPropsTableGUI\fillRowExcel(), ilSCORM2004TrackingItemsTableGUI\fillRowExcel(), ilSCORMTrackingItemsTableGUI\fillRowExcel(), ilBookingReservationsTableGUI\getAdditionalExportCols(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\getFieldValuesForExport(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\getFieldValuesForExport(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\getFieldValuesForExport(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\getFieldValuesForExport(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\getFieldValuesForExport(), ilTrSummaryTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilExerciseMemberTableGUI\getModeColumns(), ilBookingReservationsTableGUI\getSelectedUserColumns(), ilSessionParticipantsTableGUI\init(), ilQuestionPoolPrintViewTableGUI\initColumns(), ilWorkflowEngineDefinitionsTableGUI\initColumns(), ilLearningSequenceParticipantsTableGUI\initForm(), ilQuestionBrowserTableGUI\isCommentsColumnSelected(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilExerciseSubmissionTableGUI\parseRow(), ilRepositoryUserResultTableGUI\parseUserIds(), ilMailFolderTableGUI\prepareHTML(), ilSubscriberTableGUI\readSubscriberData(), and ilWaitingListTableGUI\readUserData().

+ Here is the caller graph for this function:

◆ getSelectedFilters()

ilTable2GUI::getSelectedFilters ( )

Get selected filters.

Parameters

return

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

859 {
860 $sfil = array();
861 foreach ($this->selected_filter as $k => $v) {
862 if ($v) {
863 $sfil[$k] = $k;
864 }
865 }
866 return $sfil;
867 }

Referenced by getCurrentState().

+ Here is the caller graph for this function:

◆ getShowRowsSelector()

ilTable2GUI::getShowRowsSelector ( )

Get rows-per-page selector state.

Returns
bool

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

2952 {
2954 }

References $show_rows_selector.

Referenced by fillFooter().

+ Here is the caller graph for this function:

◆ getShowTemplates()

ilTable2GUI::getShowTemplates ( )

Get template state.

Returns
bool

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

2972 {
2973 return $this->show_templates;
2974 }

References $show_templates.

Referenced by fillFooter().

+ Here is the caller graph for this function:

◆ getTopAnchor()

ilTable2GUI::getTopAnchor ( )

Get top anchor.

Returns
string top anchor

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

429 {
430 return $this->top_anchor;
431 }

References $top_anchor.

Referenced by getHTML(), getLinkbar(), render(), and setOrderLink().

+ Here is the caller graph for this function:

◆ getTopCommands()

ilTable2GUI::getTopCommands ( )

Get top commands (display command buttons on top of table, too)

Returns
boolean top commands true/false

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

1317 {
1318 return $this->top_commands;
1319 }

References $top_commands.

Referenced by fillActionRow().

+ Here is the caller graph for this function:

◆ initFilter()

ilTable2GUI::initFilter ( )

Init filter.

Overwrite this to initialize all filter input property objects.

Reimplemented in ilBiblEntryTableGUI, ilBookingObjectsTableGUI, ilBookingParticipantsTableGUI, ilCmiXapiStatementsTableGUI, ilCourseParticipantsGroupsTableGUI, ilDclRecordListTableGUI, ilExerciseSubmissionTableGUI, ilTermListTableGUI, ilPresentationListTableGUI, ilLTIConsumerProviderTableGUI, ilMediaPoolTableGUI, ilSCORMTrackingUsersTableGUI, ilSessionMaterialsTableGUI, ilSessionParticipantsTableGUI, ilStudyProgrammeMembersTableGUI, ilSurveyQuestionblockbrowserTableGUI, ilSurveyQuestionbrowserTableGUI, ilSurveyQuestionsTableGUI, ilEvaluationAllTableGUI, ilParticipantsTestResultsTableGUI, ilTestDynamicQuestionSetStatisticTableGUI, ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI, ilTestManScoringParticipantsTableGUI, ilTestParticipantsTableGUI, ilTestPassDetailsOverviewTableGUI, ilTestQuestionBrowserTableGUI, ilQuestionBrowserTableGUI, ilObjectRolePermissionTableGUI, ilRbacLogTableGUI, ilRoleTableGUI, ilBadgeTableGUI, ilBadgeUserTableGUI, ilObjectBadgeTableGUI, ilBuddySystemRelationsTableGUI, ilLanguageExtTableGUI, ilMailFolderTableGUI, ilParticipantTableGUI, ilMDCopyrightUsageTableGUI, ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI, ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI, ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI, ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI, ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI, ilPDNewsTableGUI, ilWorkspaceShareTableGUI, ilRegistrationCodesTableGUI, ilTrashTableGUI, ilTermsOfServiceAcceptanceHistoryTableGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsLPTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, ilTrUserObjectsPropsTableGUI, ilAccountCodesTableGUI, ilRoleAssignmentTableGUI, ilUserTableGUI, and ilWorkflowEngineDefinitionsTableGUI.

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

390 {
391 }

Referenced by ilBookingReservationsTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), and executeCommand().

+ Here is the caller graph for this function:

◆ isAdvMDFilter()

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

Check if filter element is based on adv md.

Parameters
ilAdvancedMDRecordGUI$a_gui
type$a_element
Returns
boolean

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

2032 {
2033 foreach ($a_gui->getFilterElements(false) as $item) {
2034 if ($item === $a_element) {
2035 return true;
2036 }
2037 }
2038 return false;
2039 }
getFilterElements($a_only_non_empty=true)
Get SQL conditions for current filter value(s)

References ilAdvancedMDRecordGUI\getFilterElements().

Referenced by writeFilterToSession().

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

◆ isColumnSelected()

◆ isFilterSelected()

ilTable2GUI::isFilterSelected (   $a_col)

Is given filter selected?

Parameters
stringcolumn name
Returns
boolean

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

848 {
849 return $this->selected_filter[$a_col];
850 }

Referenced by ilAccessibilityTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), and renderFilter().

+ 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.

Returns
bool

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

2016 {
2017 $prop = $this->loadProperty('filter');
2018 if ($prop === '0' || $prop === '1') {
2019 return (bool) $prop;
2020 }
2021 return $this->getDefaultFilterVisibility();
2022 }
getDefaultFilterVisibility()
Get default filter visibility.

References getDefaultFilterVisibility(), and loadProperty().

Referenced by renderFilter().

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

◆ loadProperty()

ilTable2GUI::loadProperty (   $type)

Load table property.

Parameters
string$type
Returns
mixed

Reimplemented in ilDclRecordListTableGUI.

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

2820 {
2821 global $DIC;
2822
2823 $ilUser = null;
2824 if (isset($DIC["ilUser"])) {
2825 $ilUser = $DIC["ilUser"];
2826 }
2827
2828 if (is_object($ilUser) && $this->getId() != "") {
2829 include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
2830 $tab_prop = new ilTablePropertiesStorage();
2831
2832 return $tab_prop->getProperty($this->getId(), $ilUser->getId(), $type);
2833 }
2834 return null;
2835 }
Saves (mostly asynchronously) user properties of tables (e.g.

References $DIC, $ilUser, $type, and getId().

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

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

◆ numericOrdering()

ilTable2GUI::numericOrdering (   $a_field)

Should this field be sorted numeric?

Returns
boolean numeric ordering; default is false

Reimplemented in ilExGradesTableGUI, ilBookingObjectsTableGUI, ilBookingReservationsTableGUI, ilCourseInfoFileTableGUI, ilAssignmentsTableGUI, ilExAssignmentFileSystemTableGUI, ilExAssignmentListTextTableGUI, ilExAssignmentPeerReviewTableGUI, ilExcCriteriaCatalogueTableGUI, ilExcCriteriaTableGUI, ilExParticipantTableGUI, ilForumStatisticsTableGUI, ilTermListTableGUI, ilPresentationListTableGUI, ilPollAnswerTableGUI, ilSurveyMaintenanceTableGUI, ilSurveyResultsCumulatedTableGUI, ilAssessmentFolderLogAdministrationTableGUI, ilEvaluationAllTableGUI, ilResultsByQuestionTableGUI, ilTestAverageReachedPointsTableGUI, ilAssQuestionSkillUsagesTableGUI, ilQuestionCumulatedStatisticsTableGUI, ilQuestionPoolExportTableGUI, ilWikiPagesTableGUI, ilAdvancedMDRecordTableGUI, ilPageHistoryTableGUI, ilFileSystemTableGUI, ilMemberExportFileTableGUI, ilRepositoryObjectResultTableGUI, ilRepositoryUserResultTableGUI, ilSearchResultTableGUI, ilSkillLevelTableGUI, ilTaxAssignedItemsTableGUI, ilTaxonomyTableGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsLPTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilLPProgressTableGUI, ilTrSummaryTableGUI, ilUserExportFileTableGUI, ilForumTopicTableGUI, ilTestExportTableGUI, ilQuestionBrowserTableGUI, ilQuestionPoolPrintViewTableGUI, ilMailSearchCoursesTableGUI, ilMailAttachmentTableGUI, ilTermsOfServiceAcceptanceHistoryTableGUI, ilDclRecordListTableGUI, ilParticipantsTestResultsTableGUI, ilTestParticipantsTableGUI, ilTestPassOverviewTableGUI, ilTestPersonalDefaultSettingsTableGUI, and ilAssQuestionHintsTableGUI.

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

1754 {
1755 return false;
1756 }

Referenced by exportData(), getHTML(), and ilTestManScoringParticipantsTableGUI\getInternalyOrderedDataValues().

+ Here is the caller graph for this function:

◆ prepareOutput()

ilTable2GUI::prepareOutput ( )
protected

Anything that must be done before HTML is generated.

Reimplemented in ilMediaPoolTableGUI, ilExportTableGUI, ilFileSystemTableGUI, ilMultilingualismTableGUI, ilObjectTranslation2TableGUI, and ilObjectTranslationTableGUI.

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

1528 {
1529 }

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ render()

ilTable2GUI::render ( )

render table @access public

Reimplemented from ilTableGUI.

Reimplemented in ilExerciseSubmissionTableGUI, ilMediaPoolTableGUI, arIndexTableGUI, and ilBuddySystemRelationsTableGUI.

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

1763 {
1764 $lng = $this->lng;
1766
1767 $this->tpl->setVariable("CSS_TABLE", $this->getStyle("table"));
1768 //$this->tpl->setVariable("DATA_TABLE", (int) $this->getIsDataTable());
1769 if ($this->getId() != "") {
1770 $this->tpl->setVariable("ID", 'id="' . $this->getId() . '"');
1771 }
1772
1773 // description
1774 if ($this->getDescription() != "") {
1775 $this->tpl->setCurrentBlock("tbl_header_description");
1776 $this->tpl->setVariable("TBL_DESCRIPTION", $this->getDescription());
1777 $this->tpl->parseCurrentBlock();
1778 }
1779
1780 if (!$this->getPrintMode()) {
1781 $this->renderFilter();
1782 }
1783
1784 if ($this->getDisplayAsBlock()) {
1785 $this->tpl->touchBlock("outer_start_1");
1786 $this->tpl->touchBlock("outer_end_1");
1787 } else {
1788 $this->tpl->touchBlock("outer_start_2");
1789 $this->tpl->touchBlock("outer_end_2");
1790 }
1791
1792 // table title and icon
1793 if ($this->enabled["title"] && ($this->title != ""
1794 || $this->icon != "" || count($this->header_commands) > 0 ||
1795 $this->headerHTML != "" || $this->close_command != "")) {
1796 if ($this->enabled["icon"]) {
1797 $this->tpl->setCurrentBlock("tbl_header_title_icon");
1798 $this->tpl->setVariable("TBL_TITLE_IMG", ilUtil::getImagePath($this->icon));
1799 $this->tpl->setVariable("TBL_TITLE_IMG_ALT", $this->icon_alt);
1800 $this->tpl->parseCurrentBlock();
1801 }
1802
1803 if (!$this->getPrintMode()) {
1804 foreach ($this->header_commands as $command) {
1805 if ($command["img"] != "") {
1806 $this->tpl->setCurrentBlock("tbl_header_img_link");
1807 if ($command["target"] != "") {
1808 $this->tpl->setVariable(
1809 "TARGET_IMG_LINK",
1810 'target="' . $command["target"] . '"'
1811 );
1812 }
1813 $this->tpl->setVariable("ALT_IMG_LINK", $command["text"]);
1814 $this->tpl->setVariable("HREF_IMG_LINK", $command["href"]);
1815 $this->tpl->setVariable(
1816 "SRC_IMG_LINK",
1817 $command["img"]
1818 );
1819 $this->tpl->parseCurrentBlock();
1820 } else {
1821 $this->tpl->setCurrentBlock("head_cmd");
1822 $this->tpl->setVariable("TXT_HEAD_CMD", $command["text"]);
1823 $this->tpl->setVariable("HREF_HEAD_CMD", $command["href"]);
1824 $this->tpl->parseCurrentBlock();
1825 }
1826 }
1827 }
1828
1829 if (isset($this->headerHTML)) {
1830 $this->tpl->setCurrentBlock("tbl_header_html");
1831 $this->tpl->setVariable("HEADER_HTML", $this->headerHTML);
1832 $this->tpl->parseCurrentBlock();
1833 }
1834
1835 // close command
1836 if ($this->close_command != "") {
1837 $this->tpl->setCurrentBlock("tbl_header_img_link");
1838 $this->tpl->setVariable("ALT_IMG_LINK", $lng->txt("close"));
1839 $this->tpl->setVariable("HREF_IMG_LINK", $this->close_command);
1840 $this->tpl->parseCurrentBlock();
1841 }
1842
1843 $this->tpl->setCurrentBlock("tbl_header_title");
1844 $this->tpl->setVariable("TBL_TITLE", $this->title);
1845 $this->tpl->setVariable("TOP_ANCHOR", $this->getTopAnchor());
1846 if ($this->getDisplayAsBlock()) {
1847 $this->tpl->setVariable("BLK_CLASS", "Block");
1848 }
1849 $this->tpl->parseCurrentBlock();
1850 }
1851
1852 // table header
1853 if ($this->enabled["header"]) {
1854 $this->fillHeader();
1855 }
1856
1857 $this->tpl->touchBlock("tbl_table_end");
1858
1859 return $this->tpl->get();
1860 }
getDescription()
Get description.
renderFilter()
Render Filter section.
getStyle($a_element)

References $ctrl, $ilCtrl, ilTableGUI\$lng, fillHeader(), getDescription(), getDisplayAsBlock(), getId(), ilUtil\getImagePath(), getPrintMode(), ilTableGUI\getStyle(), getTopAnchor(), and renderFilter().

Referenced by ilTestSkillLevelThresholdsTableGUI\fillRow(), and getHTML().

+ 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 1865 of file class.ilTable2GUI.php.

1866 {
1867 global $DIC;
1868
1869 $lng = $this->lng;
1870 $main_tpl = $DIC["tpl"];
1871
1872 $filter = $this->getFilterItems();
1873 $opt_filter = $this->getFilterItems(true);
1874
1875 $main_tpl->addJavascript("./Services/Table/js/ServiceTable.js");
1876
1877 if (count($filter) == 0 && count($opt_filter) == 0) {
1878 return;
1879 }
1880
1881 include_once("./Services/YUI/classes/class.ilYuiUtil.php");
1883
1884 $ccnt = 0;
1885
1886 // render standard filter
1887 if (count($filter) > 0) {
1888 foreach ($filter as $item) {
1889 if ($ccnt >= $this->getFilterCols()) {
1890 $this->tpl->setCurrentBlock("filter_row");
1891 $this->tpl->parseCurrentBlock();
1892 $ccnt = 0;
1893 }
1894 $this->tpl->setCurrentBlock("filter_item");
1895 $this->tpl->setVariable(
1896 "OPTION_NAME",
1897 $item->getTitle()
1898 );
1899 $this->tpl->setVariable(
1900 "F_INPUT_ID",
1901 $item->getTableFilterLabelFor()
1902 );
1903 $this->tpl->setVariable(
1904 "INPUT_HTML",
1905 $item->getTableFilterHTML()
1906 );
1907 $this->tpl->parseCurrentBlock();
1908 $ccnt++;
1909 }
1910 }
1911
1912 // render optional filter
1913 if (count($opt_filter) > 0) {
1914 $this->determineSelectedFilters();
1915
1916 foreach ($opt_filter as $item) {
1917 if ($this->isFilterSelected($item->getPostVar())) {
1918 if ($ccnt >= $this->getFilterCols()) {
1919 $this->tpl->setCurrentBlock("filter_row");
1920 $this->tpl->parseCurrentBlock();
1921 $ccnt = 0;
1922 }
1923 $this->tpl->setCurrentBlock("filter_item");
1924 $this->tpl->setVariable(
1925 "OPTION_NAME",
1926 $item->getTitle()
1927 );
1928 $this->tpl->setVariable(
1929 "F_INPUT_ID",
1930 $item->getFieldId()
1931 );
1932 $this->tpl->setVariable(
1933 "INPUT_HTML",
1934 $item->getTableFilterHTML()
1935 );
1936 $this->tpl->parseCurrentBlock();
1937 $ccnt++;
1938 }
1939 }
1940
1941 // filter selection
1942 $items = array();
1943 foreach ($opt_filter as $item) {
1944 $k = $item->getPostVar();
1945 $items[$k] = array("txt" => $item->getTitle(),
1946 "selected" => $this->isFilterSelected($k));
1947 }
1948
1949 include_once("./Services/UIComponent/CheckboxListOverlay/classes/class.ilCheckboxListOverlayGUI.php");
1950 $cb_over = new ilCheckboxListOverlayGUI("tbl_filters_" . $this->getId());
1951 $cb_over->setLinkTitle($lng->txt("optional_filters"));
1952 $cb_over->setItems($items);
1953
1954 $cb_over->setFormCmd($this->getParentCmd());
1955 $cb_over->setFieldVar("tblff" . $this->getId());
1956 $cb_over->setHiddenVar("tblfsf" . $this->getId());
1957
1958 $cb_over->setSelectionHeaderClass("ilTableMenuItem");
1959 $this->tpl->setCurrentBlock("filter_select");
1960
1961 // apply should be the first submit because of enter/return, inserting hidden submit
1962 $this->tpl->setVariable("HIDDEN_CMD_APPLY", $this->filter_cmd);
1963
1964 $this->tpl->setVariable("FILTER_SELECTOR", $cb_over->getHTML(false));
1965 $this->tpl->parseCurrentBlock();
1966 }
1967
1968 // if any filter
1969 if ($ccnt > 0 || count($opt_filter) > 0) {
1970 $this->tpl->setVariable("TXT_FILTER", $lng->txt("filter"));
1971
1972 if ($ccnt > 0) {
1973 if ($ccnt < $this->getFilterCols()) {
1974 for ($i = $ccnt; $i <= $this->getFilterCols(); $i++) {
1975 $this->tpl->touchBlock("filter_empty_cell");
1976 }
1977 }
1978 $this->tpl->setCurrentBlock("filter_row");
1979 $this->tpl->parseCurrentBlock();
1980
1981 $this->tpl->setCurrentBlock("filter_buttons");
1982 $this->tpl->setVariable("CMD_APPLY", $this->filter_cmd);
1983 $this->tpl->setVariable("TXT_APPLY", $this->filter_cmd_txt
1984 ? $this->filter_cmd_txt
1985 : $lng->txt("apply_filter"));
1986 $this->tpl->setVariable("CMD_RESET", $this->reset_cmd);
1987 $this->tpl->setVariable("TXT_RESET", $this->reset_cmd_txt
1988 ? $this->reset_cmd_txt
1989 : $lng->txt("reset_filter"));
1990 } elseif (count($opt_filter) > 0) {
1991 $this->tpl->setCurrentBlock("optional_filter_hint");
1992 $this->tpl->setVariable('TXT_OPT_HINT', $lng->txt('optional_filter_hint'));
1993 $this->tpl->parseCurrentBlock();
1994 }
1995
1996 $this->tpl->setCurrentBlock("filter_section");
1997 $this->tpl->setVariable("FIL_ID", $this->getId());
1998 $this->tpl->parseCurrentBlock();
1999
2000 // (keep) filter hidden?
2001 if (!$this->isFilterVisible()) {
2002 if (!$this->getDisableFilterHiding()) {
2003 $this->tpl->setCurrentBlock("filter_hidden");
2004 $this->tpl->setVariable("FI_ID", $this->getId());
2005 $this->tpl->parseCurrentBlock();
2006 }
2007 }
2008 }
2009 }
getFilterCols()
Get filter columns.
isFilterVisible()
Check if filter is visible: manually shown (session, db) or default value set.
isFilterSelected($a_col)
Is given filter selected?
static initConnection(ilGlobalTemplateInterface $a_main_tpl=null)
Init YUI Connection module.

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

Referenced by render().

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

◆ resetFilter()

ilTable2GUI::resetFilter ( )

Reset filter.

Reimplemented in arIndexTableGUI, and ilMailFolderTableGUI.

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

2087 {
2088 $lng = $this->lng;
2089
2090 $filter = $this->getFilterItems();
2091 $opt_filter = $this->getFilterItems(true);
2092
2093 foreach ($filter as $item) {
2094 if ($item->checkInput()) {
2095 // see #26490
2096 $item->setValueByArray([]);
2097 $item->clearFromSession();
2098 }
2099 }
2100 foreach ($opt_filter as $item) {
2101 if ($item->checkInput()) {
2102 // see #26490
2103 $item->setValueByArray([]);
2104 $item->clearFromSession();
2105 }
2106 }
2107
2108 // #13209
2109 unset($_REQUEST["tbltplcrt"]);
2110 unset($_REQUEST["tbltpldel"]);
2111 }

References ilTableGUI\$lng, and getFilterItems().

Referenced by ilLPTableBaseGUI\executeCommand(), and ilTestQuestionBrowserTableGUI\resetFilterCmd().

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

◆ resetOffset()

ilTable2GUI::resetOffset (   $a_in_determination = false)

◆ restoreTemplate()

ilTable2GUI::restoreTemplate (   $a_name)

Restore state from template.

Parameters
string$a_name
Returns
bool

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

2983 {
2984 global $DIC;
2985
2986 $ilUser = $DIC->user();
2987
2988 $a_name = ilUtil::stripSlashes($a_name);
2989
2990 if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
2991 include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
2992 $storage = new ilTableTemplatesStorage();
2993
2994 $data = $storage->load($this->getContext(), $ilUser->getId(), $a_name);
2995 if (is_array($data)) {
2996 foreach ($data as $property => $value) {
2997 $this->storeProperty($property, $value);
2998 }
2999 }
3000
3001 $data["filter_values"] = unserialize($data["filter_values"]);
3002 if ($data["filter_values"]) {
3003 $this->restore_filter_values = $data["filter_values"];
3004 }
3005
3006 $this->restore_filter = true;
3007
3008 return true;
3009 }
3010 return false;
3011 }
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled

References ilTableGUI\$data, $DIC, $ilUser, getContext(), storeProperty(), and ilUtil\stripSlashes().

Referenced by __construct().

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

◆ saveTemplate()

ilTable2GUI::saveTemplate (   $a_name)

Save current state as template.

Parameters
string$a_name
Returns
bool

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

3020 {
3021 global $DIC;
3022
3023 $ilUser = $DIC->user();
3024
3025 $a_name = ilUtil::prepareFormOutput($a_name, true);
3026
3027 if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
3028 include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
3029 $storage = new ilTableTemplatesStorage();
3030
3031 $state = $this->getCurrentState();
3032 $state["filter_values"] = serialize($state["filter_values"]);
3033 $state["selfields"] = serialize($state["selfields"]);
3034 $state["selfilters"] = serialize($state["selfilters"]);
3035
3036 $storage->store($this->getContext(), $ilUser->getId(), $a_name, $state);
3037 return true;
3038 }
3039 return false;
3040 }
getCurrentState()
get current settings for order, limit, columns and filter

References $DIC, $ilUser, getContext(), getCurrentState(), and ilUtil\prepareFormOutput().

Referenced by fillFooter().

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

◆ setCloseCommand()

ilTable2GUI::setCloseCommand (   $a_link)

Add command for closing table.

Parameters
string$a_linkclosing link
Deprecated:

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

1263 {
1264 $this->close_command = $a_link;
1265 }

◆ setCloseFormTag()

ilTable2GUI::setCloseFormTag (   $a_val)

Set close form tag.

Parameters
booleanclose form tag

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

191 {
192 $this->close_form_tag = $a_val;
193 }

Referenced by ilOrgUnitDefaultPermissionTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), and ilOrgUnitDefaultPermissionTableGUI\end().

+ Here is the caller graph for this function:

◆ setContext()

ilTable2GUI::setContext (   $id)

Set context.

Parameters
string$id

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

2920 {
2921 if (trim($id)) {
2922 $this->context = $id;
2923 }
2924 }

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setCustomPreviousNext()

ilTable2GUI::setCustomPreviousNext (   $a_prev_link,
  $a_next_link 
)

Set custom previous/next links.

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

924 {
925 $this->custom_prev_next = true;
926 $this->custom_prev = $a_prev_link;
927 $this->custom_next = $a_next_link;
928 }

◆ setData()

ilTable2GUI::setData (   $a_data)
final

set table data @access public

Parameters
arraytable data

Reimplemented from ilTableGUI.

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

577 {
578 // check column names against given data (to ensure proper sorting)
579 if (defined('DEVMODE') && DEVMODE &&
580 $this->enabled["header"] && $this->enabled["sort"] &&
581 $this->columns_determined && is_array($this->column) &&
582 is_array($a_data) && sizeof($a_data) && !$this->getExternalSorting()) {
583 $check = $a_data;
584 $check = array_keys(array_shift($check));
585 foreach ($this->column as $col) {
586 if ($col["sort_field"] && !in_array($col["sort_field"], $check)) {
587 $invalid[] = $col["sort_field"];
588 }
589 }
590
591 // this triggers an error, if some columns are not set for some rows
592 // which may just be a representation of "null" values, e.g.
593 // ilAdvancedMDValues:queryForRecords works that way.
594/* if(sizeof($invalid))
595 {
596 trigger_error("The following columns are defined as sortable but".
597 " cannot be found in the given data: ".implode(", ", $invalid).
598 ". Sorting will not work properly.", E_USER_WARNING);
599 }*/
600 }
601
602 $this->row_data = $a_data;
603 if (!is_array($this->row_data)) {
604 $this->row_data = [];
605 }
606 }

References getExternalSorting().

Referenced by ilPresentationListTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilStyleTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilStudyProgrammeAcknowledgeCompletedCoursesTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), ilContainerFilterTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilTestQuestionBrowserTableGUI\browseQuestionsCmd(), ilTestRandomQuestionSelectionTableGUI\build(), ilDclRecordListTableGUI\buildData(), ilOrgUnitPositionTableGUI\buildData(), ilOrgUnitPermissionTableGUI\collectData(), ilMailFolderTableGUI\fetchTableData(), ilHelpMappingTableGUI\getChapters(), ilBackgroundTaskTableGUI\getClients(), ilClientListTableGUI\getClients(), ilComponentsTableGUI\getComponents(), ilPluginsOverviewTableGUI\getComponents(), ilModulesTableGUI\getComponents(), ilWikiContributorsTableGUI\getContributors(), ilHistoryTableGUI\getDataFromDb(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLMDownloadTableGUI\getDownloadFiles(), ilMemberExportFileTableGUI\getFiles(), ilNewItemGroupTableGUI\getGroups(), ilHelpModuleTableGUI\getHelpModules(), ilCourseGroupingTableGUI\getItems(), ilCourseGroupingAssignmentTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilBadgeTableGUI\getItems(), ilRatingCategoryTableGUI\getItems(), ilBadgeUserTableGUI\getItems(), ilBookingSchedulesTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilBadgePersonalTableGUI\getItems(), ilContributorTableGUI\getItems(), ilBookingAssignParticipantsTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilBookingAssignObjectsTableGUI\getItems(), ilCmiXapiVerificationTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilCourseVerificationTableGUI\getItems(), ilExAssignmentPeerReviewOverviewTableGUI\getItems(), ilExAssignmentPeerReviewTableGUI\getItems(), ilExAssignmentTeamLogTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilExcCriteriaTableGUI\getItems(), ilExerciseVerificationTableGUI\getItems(), ilTermUsagesTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilLTIConsumerVerificationTableGUI\getItems(), ilMediaPoolPageUsagesTableGUI\getItems(), ilMediaPoolTableGUI\getItems(), ilPollAnswerTableGUI\getItems(), ilPortfolioPageTableGUI\getItems(), ilPortfolioTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilSCORMVerificationTableGUI\getItems(), ilTestVerificationTableGUI\getItems(), ilObjWorkspaceFolderTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilBadgeImageTemplateTableGUI\getItems(), ilBadgeTypesTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilClipboardTableGUI\getItems(), ilContainerStartObjectsContentTableGUI\getItems(), ilPCIIMTriggerTableGUI\getItems(), ilPCImageMapTableGUI\getItems(), ilCronManagerTableGUI\getItems(), ilLanguageTableGUI\getItems(), ilLDAPRoleMappingTableGUI\getItems(), ilObjectConsumerTableGUI\getItems(), ilImageMapTableGUI\getItems(), ilMediaObjectUsagesTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAdminSubItemsTableGUI\getItems(), ilRecommendedContentRoleTableGUI\getItems(), ilSamlIdpTableGUI\getItems(), ilStyleColorTableGUI\getItems(), ilStyleImageTableGUI\getItems(), ilStyleMediaQueryTableGUI\getItems(), ilTableTemplatesTableGUI\getItems(), ilLPObjectStatisticsAdminTableGUI\getItems(), ilLPObjectStatisticsDailyTableGUI\getItems(), ilLPObjectStatisticsLPTableGUI\getItems(), ilLPObjectStatisticsTableGUI\getItems(), ilLPObjectStatisticsTypesTableGUI\getItems(), ilLPProgressTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserRoleStartingPointTableGUI\getItems(), ilUserTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilSessionOverviewTableGUI\getItems(), ilSurveyResultsCumulatedTableGUI\getItems(), ilTrMatrixTableGUI\getItems(), ilBookingParticipantsTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), ilWikiExportOrderTableGUI\getItems(), ilSurveyParticipantsTableGUI\getItems(), ilLinksTableGUI\getLinks(), ilItemGroupItemsTableGUI\getMaterials(), ilPageLayoutTableGUI\getPageLayouts(), ilWikiPagesTableGUI\getPages(), ilMilestoneResponsiblesTableGUI\getParticipantsAndResponsibles(), ilSurveySkillAssignmentTableGUI\getQuestions(), ilCopySelfAssQuestionTableGUI\getQuestions(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilObjectivesAlignmentTableGUI\getScos(), ilSurveySkillChangesTableGUI\getSkillLevelsForAppraisee(), ilSurveySkillTableGUI\getSkills(), ilSysStyleCatAssignmentTableGUI\getStyleCatAssignments(), ilSystemStylesTableGUI\getStyles(), ilSurveyQuestionTableGUI\importData(), ilSurveySyncTableGUI\importData(), ilLDAPServerTableGUI\importData(), ilWorkspaceAccessTableGUI\importData(), ilWorkspaceShareTableGUI\importData(), ilSurveyQuestionblockbrowserTableGUI\initData(), ilSurveyQuestionbrowserTableGUI\initData(), ilFileVersionsTableGUI\initData(), ilMarkSchemaTableGUI\initData(), ilQuestionCumulatedStatisticsTableGUI\initData(), ilObjectOwnershipManagementTableGUI\initItems(), ilTaxonomyAdministrationRepositoryTableGUI\initItems(), ilAdvancedMDFieldDefinitionGroupTableGUI\initItems(), SurveyConstraintsTableGUI\initItems(), ilCmiXapiStatementsGUI\initTableData(), ilLTIConsumerXapiStatementsGUI\initTableData(), ilCourseObjectiveMaterialAssignmentTableGUI\parse(), ilCourseObjectiveQuestionAssignmentTableGUI\parse(), ilObjectCustomUserFieldsTableGUI\parse(), ilSCTreeDuplicatesTableGUI\parse(), ilTimingsManageTableGUI\parse(), ilTimingsPersonalTableGUI\parse(), ilECSReleasedContentTableGUI\parse(), ilCourseObjectiveQuestionsTableGUI\parse(), ilCourseObjectivesTableGUI\parse(), ilECSCommunityTableGUI\parse(), ilECSImportedContentTableGUI\parse(), ilECSCategoryMappingTableGUI\parse(), ilLOTestAssignmentTableGUI\parse(), ilRoleSelectionTableGUI\parse(), ilRoleTableGUI\parse(), ilShibbolethRoleAssignmentTableGUI\parse(), ilLDAPRoleAssignmentTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilLOMemberTestResultTableGUI\parse(), ilCourseReferenceDeleteConfirmationTableGUI\parse(), ilExAssignmentListTextTableGUI\parse(), ilObjForumSearchResultTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilSCORMOfflineModeUsersTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilSessionParticipantsTableGUI\parse(), ilWebResourceEditableLinkTableGUI\parse(), ilWebResourceLinkTableGUI\parse(), ilObjWikiSearchResultTableGUI\parse(), ilObjectRolePermissionTableGUI\parse(), ilObjectRoleTemplateOptionsTableGUI\parse(), ilObjectRoleTemplatePermissionTableGUI\parse(), ilAuthLoginPageEditorTableGUI\parse(), ilCalendarCategoryTableGUI\parse(), ilCalendarInboxSharedTableGUI\parse(), ilCalendarManageTableGUI\parse(), ilCalendarRecurrenceTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilCalendarSharedRoleListTableGUI\parse(), ilCalendarSharedUserListTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilDidacticTemplateSettingsTableGUI\parse(), ilLogComponentTableGUI\parse(), ilLTIProviderReleasedObjectsTableGUI\parse(), ilMDCopyrightUsageTableGUI\parse(), ilObjectCopyProgressTableGUI\parse(), ilObjectTableGUI\parse(), ilTrashTableGUI\parse(), ilSCGroupTableGUI\parse(), ilSCTaskTableGUI\parse(), ilUserClipboardTableGUI\parse(), ilECSNodeMappingTreeTableGUI\parse(), ilConsultationHourBookingTableGUI\parse(), ilUserExportFileTableGUI\parse(), ilConsultationHourGroupTableGUI\parse(), ilECSServerTableGUI\parse(), ilLPCollectionSettingsTableGUI\parse(), ilLuceneAdvancedSearchActivationTableGUI\parse(), ilExportSelectionTableGUI\parseContainer(), ilDclTableViewEditFieldsTableGUI\parseData(), ilBiblAdminFieldTableGUI\parseData(), ilBiblFieldFilterTableGUI\parseData(), ilBiblTranslationTableGUI\parseData(), ilOrgUnitUserAssignmentTableGUI\parseData(), ilOrgUnitOtherRolesTableGUI\parseData(), ilOrgUnitStaffTableGUI\parseData(), ilMemcacheServerTableGUI\parseData(), ilMMItemTranslationTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), ilAdvancedMDFieldTableGUI\parseDefinitions(), ilAdvancedMDRecordExportFilesTableGUI\parseFiles(), ilLOTestAssignmentTableGUI\parseMultipleAssignments(), ilRepositoryObjectResultTableGUI\parseObjectIds(), ilObjectCopySearchResultTableGUI\parseSearchResults(), ilWebResourceEditableLinkTableGUI\parseSelectedLinks(), ilMDCopyrightTableGUI\parseSelections(), ilObjectCopySelectionTableGUI\parseSource(), ilRepositoryUserResultTableGUI\parseUserIds(), ilAccessibilityTableGUI\populate(), ilBuddySystemRelationsTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilWorkflowEngineDefinitionsTableGUI\populateTable(), ilLinkCheckerTableGUI\prepareHTML(), ilFileSystemTableGUI\prepareOutput(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilCalendarAppointmentsTableGUI\setAppointments(), ilCalendarChangedAppointmentsTableGUI\setAppointments(), ilConditionHandlerTableGUI\setConditions(), ilSessionMaterialsTableGUI\setMaterials(), ilQuestionBrowserTableGUI\setQuestionData(), ilAssQuestionSkillUsagesTableGUI\showCmd(), ilOrgUnitDefaultPermissionTableGUI\start(), and ilWebResourceEditableLinkTableGUI\updateFromPost().

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

◆ setDefaultFilterVisiblity()

ilTable2GUI::setDefaultFilterVisiblity (   $a_status)

Set default filter visiblity.

Parameters
bool$a_status

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

1178 {
1179 $this->default_filter_visibility = $a_status;
1180 }

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

+ Here is the caller graph for this function:

◆ setDefaultOrderDirection()

ilTable2GUI::setDefaultOrderDirection (   $a_defaultorderdirection)

Set Default order direction.

Parameters
string$a_defaultorderdirectionDefault order direction

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

1159 {
1160 $this->defaultorderdirection = $a_defaultorderdirection;
1161 }

Referenced by ilMailFolderTableGUI\__construct(), ilExAssignmentFileSystemTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilParticipantsTestResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilUserTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTermListTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilForumStatisticsTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilSpecialUsersTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilAnswerFrequencyStatisticTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilBackgroundTaskTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilBiblFieldFilterTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilWikiContributorsTableGUI\getContributors(), ilWikiPagesTableGUI\getPages(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilObjectivesAlignmentTableGUI\getScos(), ilLOTestAssignmentTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilRoleTableGUI\init(), ilDidacticTemplateSettingsTableGUI\init(), ilTrashTableGUI\init(), ilUserExportFileTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilTestManScoringParticipantsTableGUI\initOrdering(), ilTestPassManualScoringOverviewTableGUI\initOrdering(), ilConditionHandlerTableGUI\initTable(), and ilAssQuestionHintsTableGUI\initTestoutputColumns().

+ Here is the caller graph for this function:

◆ setDefaultOrderField()

ilTable2GUI::setDefaultOrderField (   $a_defaultorderfield)

Set Default order field.

Parameters
string$a_defaultorderfieldDefault order field

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

1139 {
1140 $this->defaultorderfield = $a_defaultorderfield;
1141 }

Referenced by ilMailFolderTableGUI\__construct(), ilExAssignmentFileSystemTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilParticipantsTestResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilUserTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTermListTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilContributorTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilForumStatisticsTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilSpecialUsersTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilForumModeratorsTableGUI\__construct(), ilAnswerFrequencyStatisticTableGUI\__construct(), ilMatchingQuestionAnswerFreqStatTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilMailingListsTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilBackgroundTaskTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilBiblFieldFilterTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilWikiContributorsTableGUI\getContributors(), ilWikiPagesTableGUI\getPages(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilObjectivesAlignmentTableGUI\getScos(), ilLOTestAssignmentTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilRoleTableGUI\init(), ilDidacticTemplateSettingsTableGUI\init(), ilLogComponentTableGUI\init(), ilTrashTableGUI\init(), ilUserExportFileTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilLearningSequenceParticipantsTableGUI\initForm(), ilTestManScoringParticipantsTableGUI\initOrdering(), ilTestPassManualScoringOverviewTableGUI\initOrdering(), ilAuthLoginPageEditorTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputColumns(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), and arIndexTableGUI\setOrderAndSegmentation().

+ Here is the caller graph for this function:

◆ setDescription()

◆ setDisableFilterHiding()

ilTable2GUI::setDisableFilterHiding (   $a_val = true)

Set disable filter hiding.

Parameters
booleandisable filter hiding

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

827 {
828 $this->disable_filter_hiding = $a_val;
829 }

Referenced by ilBookingReservationsTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct(), ilMDCopyrightUsageTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilLPTableBaseGUI\initBaseFilter(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilTestManScoringParticipantsTableGUI\initFilter(), ilRoleTableGUI\initFilter(), ilLPObjectStatisticsDailyTableGUI\initFilter(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilLPObjectStatisticsTableGUI\initFilter(), ilLPObjectStatisticsTypesTableGUI\initFilter(), and ilSCORMTrackingUsersTableGUI\initTable().

+ Here is the caller graph for this function:

◆ setDisplayAsBlock()

ilTable2GUI::setDisplayAsBlock (   $a_val)

Set display as block.

Parameters
booleandisplay as block

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

1001 {
1002 $this->display_as_block = $a_val;
1003 }

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

+ Here is the caller graph for this function:

◆ setEnableAllCommand()

ilTable2GUI::setEnableAllCommand (   $a_value)

Enable actions for all entries in current result.

Parameters
bool$a_value

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

3322 {
3323 $this->enable_command_for_all = (bool) $a_value;
3324 }

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

+ Here is the caller graph for this function:

◆ setEnableHeader()

ilTable2GUI::setEnableHeader (   $a_enableheader)

Set Enable Header.

Parameters
boolean$a_enableheaderEnable Header

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

499 {
500 $this->enabled["header"] = $a_enableheader;
501 }

Referenced by ilFileSystemTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilLinksTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilRendererTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilStyleTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilUserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ilBackgroundTaskTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilBiblFieldFilterTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilTrashTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilLinkCheckerTableGUI\prepareHTML(), and ilOrgUnitDefaultPermissionTableGUI\start().

+ Here is the caller graph for this function:

◆ setEnableNumInfo()

ilTable2GUI::setEnableNumInfo (   $a_val)

Set enable num info.

Parameters
booleanenable number of records info

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

519 {
520 $this->num_info = $a_val;
521 }

Referenced by ilCourseParticipantsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), __construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilBiblLibraryTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), ilTestTopListTableGUI\__construct(), ilTrashTableGUI\init(), ilCmiXapiScoringTableGUI\initColumns(), ilLTIConsumerScoringTableGUI\initColumns(), and ilLinkCheckerTableGUI\prepareHTML().

+ Here is the caller graph for this function:

◆ setEnableTitle()

ilTable2GUI::setEnableTitle (   $a_enabletitle)

Set Enable Title.

Parameters
boolean$a_enabletitleEnable Title

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

479 {
480 $this->enabled["title"] = $a_enabletitle;
481 }

Referenced by ilMailFolderTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilRendererTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilStyleTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilUserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilBackgroundTaskTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilTrashTableGUI\init(), and ilLinkCheckerTableGUI\prepareHTML().

+ Here is the caller graph for this function:

◆ setExportFormats()

ilTable2GUI::setExportFormats ( array  $formats)

Set available export formats.

Parameters
array$formats

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

3093 {
3094 $this->export_formats = array();
3095
3096 // #11339
3097 $valid = array(self::EXPORT_EXCEL => "tbl_export_excel",
3098 self::EXPORT_CSV => "tbl_export_csv");
3099
3100 foreach ($formats as $format) {
3101 if (array_key_exists($format, $valid)) {
3102 $this->export_formats[$format] = $valid[$format];
3103 }
3104 }
3105 }
$formats
Definition: date.php:77
$valid

References $format, $formats, and $valid.

Referenced by ilBookingReservationsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), and ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct().

+ Here is the caller graph for this function:

◆ setExternalSegmentation()

ilTable2GUI::setExternalSegmentation (   $a_val)

Set external segmentation.

Parameters
booleandata is segmented externally

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

1107 {
1108 $this->ext_seg = $a_val;
1109 }

Referenced by ilMailFolderTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilUserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\build(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilTrashTableGUI\init(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), ilBuddySystemRelationsTableGUI\populate(), and arIndexTableGUI\setOrderAndSegmentation().

+ Here is the caller graph for this function:

◆ setExternalSorting()

ilTable2GUI::setExternalSorting (   $a_val)

Set external sorting.

Parameters
booleandata is sorted externally

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

1043 {
1044 $this->ext_sort = $a_val;
1045 }

Referenced by ilMailFolderTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilRendererTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilUserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilObjectCopyProgressTableGUI\init(), ilTrashTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilSCORMTrackingUsersTableGUI\parse(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), ilBuddySystemRelationsTableGUI\populate(), and arIndexTableGUI\setOrderAndSegmentation().

+ Here is the caller graph for this function:

◆ setFilterCols()

◆ setFilterCommand()

ilTable2GUI::setFilterCommand (   $a_val,
  $a_caption = null 
)

Set filter command.

Parameters
stringfilter command
stringfilter caption

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

1064 {
1065 $this->filter_cmd = $a_val;
1066 $this->filter_cmd_txt = $a_caption;
1067 }

Referenced by ilMailFolderTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilUserTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), and ilSCORMTrackingUsersTableGUI\initTable().

+ Here is the caller graph for this function:

◆ SetFilterValue()

ilTable2GUI::SetFilterValue ( ilFormPropertyGUI  $a_item,
  $a_value 
)
protected

Set current filter value.

Parameters
ilFormPropertyGUI$a_item
mixed$a_value

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

2903 {
2904 if (method_exists($a_item, "setChecked")) {
2905 $a_item->setChecked($a_value);
2906 } elseif (method_exists($a_item, "setValue")) {
2907 $a_item->setValue($a_value);
2908 } elseif (method_exists($a_item, "setDate")) {
2909 $a_item->setDate(new ilDate($a_value, IL_CAL_DATE));
2910 }
2911 $a_item->writeToSession();
2912 }
Class for single dates.
writeToSession()
Write to session.

References IL_CAL_DATE, and ilFormPropertyGUI\writeToSession().

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

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

◆ setFormAction()

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

Set Form action parameter.

Parameters
string$a_form_actionForm action
bvool$a_multipartForm multipart status

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

937 {
938 $this->form_action = $a_form_action;
939 $this->form_multipart = (bool) $a_multipart;
940 }

Referenced by ilMailFolderTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilLinksTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilStudyProgrammeTypeTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLTIConsumerProviderTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPollUserTableGUI\__construct(), ILIAS\Scorm2004\Editor\ilSCORMMediaOverviewTableGUI\__construct(), ILIAS\Scorm2004\Editor\ilSCORMQuestionOverviewTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilParticipantsTestResultsTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilTaxonomyListTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilStyleTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilUserTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilContributorTableGUI\__construct(), ilForumDraftsTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilSpecialUsersTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilForumModeratorsTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilMailingListsTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilTestRandomQuestionSelectionTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilBackgroundTaskTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilBiblFieldFilterTableGUI\__construct(), ilOrgUnitPositionTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilBiblLibraryTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilContainerFilterTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilObjStudyProgrammeIndividualPlanGUI\appendIndividualPlanActions(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\build(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilLOTestAssignmentTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilAssQuestionSkillAssignmentsTableGUI\init(), ilRoleTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilDidacticTemplateSettingsTableGUI\init(), ilLogComponentTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilObjectCopyCourseGroupSelectionTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilTrashTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilSCGroupTableGUI\init(), ilSCTaskTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilUserExportFileTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), arDeleteGUI\initFormAction(), arIndexTableGUI\initFormAction(), ilForumTopicTableGUI\initMergeThreadsTable(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputCommands(), ilForumTopicTableGUI\initTopicsOverviewTable(), and ilLinkCheckerTableGUI\prepareHTML().

+ Here is the caller graph for this function:

◆ setFormName()

ilTable2GUI::setFormName (   $a_formname = "")

Set Form name.

Parameters
string$a_formnameForm name

Reimplemented from ilTableGUI.

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

958 {
959 $this->formname = $a_formname;
960 }

Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilParticipantsTestResultsTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilBiblFieldFilterTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSessionParticipantsTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilUserExportFileTableGUI\init(), ilLearningSequenceParticipantsTableGUI\initForm(), ilAuthLoginPageEditorTableGUI\initTable(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\setTableIdentifiers(), and ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\setTableIdentifiers().

+ Here is the caller graph for this function:

◆ setHeaderHTML()

ilTable2GUI::setHeaderHTML (   $html)

set header html

Parameters
string$html

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

2786 {
2787 $this->headerHTML = $html;
2788 }

◆ setId()

ilTable2GUI::setId (   $a_val)

Set id.

Parameters
stringelement id

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

978 {
979 $this->id = $a_val;
980 if ($this->getPrefix() == "") {
981 $this->setPrefix($a_val);
982 }
983 }
setPrefix($a_prefix)
set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort...

References getPrefix(), and setPrefix().

Referenced by ilMailFolderTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilPCIIMTriggerTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilNotificationSettingsTable\__construct(), ilStudyProgrammeTypeTableGUI\__construct(), ilSCTaskTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilSCORMTrackingItemPerUserTableGUI\__construct(), ilSCORMTrackingItemsPerScoTableGUI\__construct(), ilSCORMTrackingItemsPerUserTableGUI\__construct(), ilSCORMTrackingItemsScoTableGUI\__construct(), ilSCORMTrackingUsersTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilTimingsManageTableGUI\__construct(), ilTimingsPersonalTableGUI\__construct(), ilRoleTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilLTIConsumerProviderTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilParticipantsTestResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilLOTestAssignmentTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilObjectCopyProgressTableGUI\__construct(), ilObjectTableGUI\__construct(), ilUserClipboardTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilUserTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilRepositoryObjectSearchResultTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilConsultationHourBookingTableGUI\__construct(), ilConsultationHourGroupTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilForumDraftsTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilTrashTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilDidacticTemplateSettingsTableGUI\__construct(), ilLogComponentTableGUI\__construct(), ilSamlIdpTableGUI\__construct(), ilSCGroupTableGUI\__construct(), ilSCTreeDuplicatesTableGUI\__construct(), ilECSServerTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilLDAPServerTableGUI\__construct(), ilUserExportFileTableGUI\__construct(), ilForumModeratorsTableGUI\__construct(), ilAnswerFrequencyStatisticTableGUI\__construct(), ilMDCopyrightUsageTableGUI\__construct(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilMailingListsTableGUI\__construct(), ilSamlIdpSelectionTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilTestRandomQuestionSelectionTableGUI\__construct(), ilLOMemberTestResultTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilCourseReferenceDeleteConfirmationTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilBiblFieldFilterTableGUI\__construct(), arIndexTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilOrgUnitPositionTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilBiblLibraryTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilCalendarRecurrenceTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceParticipantsTableGUI\__construct(), ilLTIConsumerProviderUsageTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilTestTopListTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilExerciseMemberTableGUI\initMode(), ilExParticipantTableGUI\initMode(), ilAuthLoginPageEditorTableGUI\initTable(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\setTableIdentifiers(), and ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\setTableIdentifiers().

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

◆ setIsDataTable()

ilTable2GUI::setIsDataTable (   $a_val)

Set is data table.

Parameters
booleanis data table

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

459 {
460 $this->datatable = $a_val;
461 }

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

+ Here is the caller graph for this function:

◆ setLimit()

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

set max.

datasets displayed per page @access public

Parameters
integerlimit
integerdefault limit

Reimplemented from ilTableGUI.

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

3383 {
3384 parent::setLimit($a_limit, $a_default_limit);
3385
3386 // #17077 - if limit is set "manually" to 9999, force rows selector off
3387 if ($a_limit == 9999 &&
3388 $this->limit_determined) {
3389 $this->rows_selector_off = true;
3390 }
3391 }

Referenced by ilExAssignmentFileSystemTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilRendererTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilStyleTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilSamlIdpSelectionTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilBackgroundTaskTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTestTopListTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\build(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), determineLimit(), ilLogComponentTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilCmiXapiScoringTableGUI\initColumns(), ilLTIConsumerScoringTableGUI\initColumns(), arDeleteGUI\initRowSelector(), and ilLinkCheckerTableGUI\prepareHTML().

+ Here is the caller graph for this function:

◆ setNoEntriesText()

◆ setOpenFormTag()

ilTable2GUI::setOpenFormTag (   $a_val)

Set open form tag.

Parameters
booleanopen form tag

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

171 {
172 $this->open_form_tag = $a_val;
173 }

Referenced by ilUploadDirFilesTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), and ilOrgUnitDefaultPermissionTableGUI\start().

+ Here is the caller graph for this function:

◆ setOrderField()

ilTable2GUI::setOrderField (   $a_order_field)

set order column

Parameters
string(array) field name for ordering

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

567 {
568 $this->order_field = $a_order_field;
569 }

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

+ Here is the caller graph for this function:

◆ setOrderLink()

ilTable2GUI::setOrderLink (   $sort_field,
  $order_dir 
)

Reimplemented from ilTableGUI.

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

1359 {
1360 global $DIC;
1361
1362 $ilUser = $DIC->user();
1363
1365
1366 $hash = "";
1367 if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization")) {
1368 $hash = "#" . $this->getTopAnchor();
1369 }
1370
1371 $old = $_GET[$this->getNavParameter()];
1372
1373 // set order link
1374 $ilCtrl->setParameter(
1375 $this->parent_obj,
1376 $this->getNavParameter(),
1377 $sort_field . ":" . $order_dir . ":" . $this->offset
1378 );
1379 $this->tpl->setVariable(
1380 "TBL_ORDER_LINK",
1381 $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd) . $hash
1382 );
1383
1384 // set old value of nav variable
1385 $ilCtrl->setParameter(
1386 $this->parent_obj,
1387 $this->getNavParameter(),
1388 $old
1389 );
1390 }

References $_GET, $ctrl, $DIC, $ilCtrl, $ilUser, getNavParameter(), and getTopAnchor().

Referenced by fillHeader().

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

◆ setPrefix()

ilTable2GUI::setPrefix (   $a_prefix)
final

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

Parameters
stringprefix

Reimplemented from ilTableGUI.

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

624 {
625 $this->prefix = $a_prefix;
626 }

Referenced by ilMailFolderTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilStudyProgrammeTypeTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilAnswerFrequencyStatisticTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilBiblFieldFilterTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilOrgUnitPositionTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceParticipantsTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), assFileUploadFileTableGUI\initCommand(), setId(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\setTableIdentifiers(), and ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\setTableIdentifiers().

+ Here is the caller graph for this function:

◆ setPreventDoubleSubmission()

ilTable2GUI::setPreventDoubleSubmission (   $a_val)

Set prevent double submission.

Parameters
bool$a_valprevent double submission

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

3368 {
3369 $this->prevent_double_submission = $a_val;
3370 }

◆ setPrintMode()

ilTable2GUI::setPrintMode (   $a_value = false)

Toogle print mode.

Parameters
bool$a_value

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

3112 {
3113 $this->print_mode = (bool) $a_value;
3114 }

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

+ Here is the caller graph for this function:

◆ setResetCommand()

ilTable2GUI::setResetCommand (   $a_val,
  $a_caption = null 
)

Set reset filter command.

Parameters
stringreset command
stringreset caption

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

1086 {
1087 $this->reset_cmd = $a_val;
1088 $this->reset_cmd_txt = $a_caption;
1089 }

Referenced by ilMailFolderTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), and ilSCORMTrackingUsersTableGUI\initTable().

+ Here is the caller graph for this function:

◆ setRowSelectorLabel()

ilTable2GUI::setRowSelectorLabel (   $row_selector_label)
Parameters
string$row_selector_label

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

3349 {
3350 $this->row_selector_label = $row_selector_label;
3351 return $this;
3352 }

References $row_selector_label.

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

+ Here is the caller graph for this function:

◆ setRowTemplate()

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

Set row template.

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

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

1128 {
1129 $this->row_template = $a_template;
1130 $this->row_template_dir = $a_template_dir;
1131 }

Referenced by ilMailFolderTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilLinksTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilPCIIMTriggerTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilNotificationSettingsTable\__construct(), ilStudyProgrammeTypeTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLTIConsumerProviderTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPollUserTableGUI\__construct(), ILIAS\Scorm2004\Editor\ilSCORMMediaOverviewTableGUI\__construct(), ILIAS\Scorm2004\Editor\ilSCORMQuestionOverviewTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilParticipantsTestResultsTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilRendererTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilTaxonomyListTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilStyleTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilUserTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilContributorTableGUI\__construct(), ilForumDraftsTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilForumStatisticsTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilSpecialUsersTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilSamlIdpTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilLDAPServerTableGUI\__construct(), ilForumModeratorsTableGUI\__construct(), ilAnswerFrequencyStatisticTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilMailingListsTableGUI\__construct(), ilSamlIdpSelectionTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilStudyProgrammeAcknowledgeCompletedCoursesTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilTestRandomQuestionSelectionTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilBackgroundTaskTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilBiblFieldFilterTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilOrgUnitPositionTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilBiblLibraryTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilContainerFilterTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilLTIConsumerProviderUsageTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilTestTopListTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\build(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilLOMemberTestResultTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilRoleTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilDidacticTemplateSettingsTableGUI\init(), ilLogComponentTableGUI\init(), ilLTIProviderReleasedObjectsTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilObjectTableGUI\init(), ilTrashTableGUI\init(), ilSCGroupTableGUI\init(), ilSCTaskTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilUserClipboardTableGUI\init(), ilUserExportFileTableGUI\init(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilRepositoryObjectSearchResultTableGUI\initRowTemplate(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilECSServerTableGUI\initTable(), arIndexTableGUI\initTableRowTemplate(), ilForumTopicTableGUI\initTopicsOverviewTable(), and ilLinkCheckerTableGUI\prepareHTML().

+ Here is the caller graph for this function:

◆ setSelectAllCheckbox()

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

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

Parameters
string$a_select_all_checkboxname of the checkbox
bool$a_select_all_on_topShow select all on top of table

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

1032 {
1033 $this->select_all_checkbox = $a_select_all_checkbox;
1034 $this->select_all_on_top = $a_select_all_on_top;
1035 }

Referenced by ilMailFolderTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilNotificationSettingsTable\__construct(), ilConsultationHoursTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilParticipantsTestResultsTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilUserTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilContributorTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilForumModeratorsTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilMailingListsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilExAssignmentFileSystemTableGUI\addColumns(), ilFileSystemTableGUI\addColumns(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilTestQuestionsTableGUI\init(), ilRoleTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilDidacticTemplateSettingsTableGUI\init(), ilTrashTableGUI\init(), ilUserClipboardTableGUI\init(), ilUserExportFileTableGUI\init(), assFileUploadFileTableGUI\initCommand(), ilLearningSequenceParticipantsTableGUI\initForm(), ilExerciseMemberTableGUI\initMode(), ilExParticipantTableGUI\initMode(), arIndexTableGUI\initMultiItemActionsButton(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilForumDraftsTableGUI\initTableColumns(), ilForumTopicTableGUI\initTopicsOverviewTable(), and ilTestParticipantsTableGUI\setManageInviteesCommandsEnabled().

+ Here is the caller graph for this function:

◆ setShowRowsSelector()

ilTable2GUI::setShowRowsSelector (   $a_value)

Toggle rows-per-page selector.

Parameters
bool$a_value

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

2942 {
2943 $this->show_rows_selector = (bool) $a_value;
2944 }

Referenced by ilPresentationListTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilUserTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilSamlIdpSelectionTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilParticipantsTestResultsTableGUI\init(), ilRoleTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilLogComponentTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), arDeleteGUI\initRowSelector(), arIndexTableGUI\initRowSelector(), ilConsultationHourBookingTableGUI\initTable(), and ilForumTopicTableGUI\initTopicsOverviewTable().

+ Here is the caller graph for this function:

◆ setShowTemplates()

◆ setTitle()

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

Set title and title icon.

Reimplemented from ilTableGUI.

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

537 {
538 parent::setTitle($a_title, $a_icon, $a_icon_alt);
539 }

Referenced by ilFileSystemTableGUI\__construct(), ilLinksTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilNotificationSettingsTable\__construct(), ilRepDependenciesTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLTIConsumerProviderTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPollUserTableGUI\__construct(), ILIAS\Scorm2004\Editor\ilSCORMMediaOverviewTableGUI\__construct(), ILIAS\Scorm2004\Editor\ilSCORMQuestionOverviewTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilBuddySystemRelationsTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilObjectConsumerTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilRendererTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilTaxonomyListTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilStyleTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilContributorTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilSamlIdpTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilLDAPServerTableGUI\__construct(), ilForumModeratorsTableGUI\__construct(), ilAnswerFrequencyStatisticTableGUI\__construct(), ilMailingListsTableGUI\__construct(), ilSamlIdpSelectionTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ilBackgroundTaskTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilOrgUnitRecursiveUserAssignmentTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilBiblLibraryTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilContainerFilterTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLTIConsumerProviderUsageTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\build(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilTestRandomQuestionSelectionTableGUI\build(), ilLOMemberTestResultTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilListOfQuestionsTableGUI\init(), ilRoleTableGUI\init(), ilDidacticTemplateSettingsTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilTrashTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilSCGroupTableGUI\init(), ilSCTaskTableGUI\init(), ilUserClipboardTableGUI\init(), ilForumTopicTableGUI\initMergeThreadsTable(), ilExerciseMemberTableGUI\initMode(), ilExParticipantTableGUI\initMode(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilECSServerTableGUI\initTable(), ilTestDynamicQuestionSetStatisticTableGUI\initTitle(), ilLOTestAssignmentTableGUI\initTitle(), ilLPTableBaseGUI\parseTitle(), ilGlobalUnitCategoryTableGUI\populateTitle(), ilLocalUnitCategoryTableGUI\populateTitle(), and ilLinkCheckerTableGUI\prepareHTML().

+ Here is the caller graph for this function:

◆ setTopAnchor()

ilTable2GUI::setTopAnchor (   $a_val)

Set top anchor.

Parameters
stringtop anchor

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

419 {
420 $this->top_anchor = $a_val;
421 }

◆ setTopCommands()

◆ storeNavParameter()

ilTable2GUI::storeNavParameter ( )

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

1596 {
1597 if ($this->getOrderField() != "") {
1598 $this->storeProperty("order", $this->getOrderField());
1599 }
1600 if ($this->getOrderDirection() != "") {
1601 $this->storeProperty("direction", $this->getOrderDirection());
1602 }
1603 //echo "-".$this->getOffset()."-";
1604 if ($this->getOffset() !== "") {
1605 $this->storeProperty("offset", $this->getOffset());
1606 }
1607 }

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

Referenced by ilLPTableBaseGUI\executeCommand(), and getHTML().

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

◆ storeProperty()

ilTable2GUI::storeProperty (   $type,
  $value 
)

Store table property.

Parameters
string$type
mixed$value

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

2797 {
2798 global $DIC;
2799
2800 $ilUser = null;
2801 if (isset($DIC["ilUser"])) {
2802 $ilUser = $DIC["ilUser"];
2803 }
2804
2805 if (is_object($ilUser) && $this->getId() != "") {
2806 include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
2807 $tab_prop = new ilTablePropertiesStorage();
2808
2809 $tab_prop->storeProperty($this->getId(), $ilUser->getId(), $type, $value);
2810 }
2811 }

References $DIC, $ilUser, $type, and getId().

Referenced by determineLimit(), determineSelectedColumns(), determineSelectedFilters(), restoreTemplate(), and storeNavParameter().

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

◆ writeFilterToSession()

ilTable2GUI::writeFilterToSession ( )

Write filter values to session.

Reimplemented in ilMailFolderTableGUI.

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

2045 {
2046 $advmd_record_gui = null;
2047 if (method_exists($this, "getAdvMDRecordGUI")) {
2048 $advmd_record_gui = $this->getAdvMDRecordGUI();
2049 }
2050
2051 foreach ($this->getFilterItems() as $item) {
2052 if ($advmd_record_gui &&
2053 $this->isAdvMDFilter($advmd_record_gui, $item)) {
2054 continue;
2055 }
2056
2057 if ($item->checkInput()) {
2058 $item->setValueByArray($_POST);
2059 $item->writeToSession();
2060 }
2061 }
2062 foreach ($this->getFilterItems(true) as $item) {
2063 if ($advmd_record_gui &&
2064 $this->isAdvMDFilter($advmd_record_gui, $item)) {
2065 continue;
2066 }
2067
2068 if ($item->checkInput()) {
2069 $item->setValueByArray($_POST);
2070 $item->writeToSession();
2071 }
2072 }
2073
2074 if ($advmd_record_gui) {
2075 $advmd_record_gui->importFilter();
2076 }
2077
2078 // #13209
2079 unset($_REQUEST["tbltplcrt"]);
2080 unset($_REQUEST["tbltpldel"]);
2081 }
isAdvMDFilter(ilAdvancedMDRecordGUI $a_gui, $a_element)
Check if filter element is based on adv md.

References $_POST, getFilterItems(), and isAdvMDFilter().

Referenced by arIndexTableGUI\applyFilter(), ilTestQuestionBrowserTableGUI\applyFilterCmd(), and ilLPTableBaseGUI\executeCommand().

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

Field Documentation

◆ $close_command

ilTable2GUI::$close_command = ""
protected

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

◆ $close_form_tag

ilTable2GUI::$close_form_tag = true
protected

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

Referenced by getCloseFormTag().

◆ $columns_determined

ilTable2GUI::$columns_determined = false
protected

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

◆ $context

ilTable2GUI::$context = ""
protected

◆ $ctrl

ilTable2GUI::$ctrl
protected

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

Referenced by ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilSurveySyncTableGUI\buildPath(), executeCommand(), fillFooter(), ilExParticipantTableGUI\fillRow(), ilBookingObjectsTableGUI\fillRow(), ilBookingParticipantsTableGUI\fillRow(), ilBookingReservationsTableGUI\fillRow(), ilBookingSchedulesTableGUI\fillRow(), ilExAssignmentListTextTableGUI\fillRow(), ilExAssignmentPeerReviewTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilExerciseVerificationTableGUI\fillRow(), ilTermUsagesTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilLMGlossaryTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilLMQuestionListTableGUI\fillRow(), ilMediaCastTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilPortfolioPageTableGUI\fillRow(), ilPortfolioTableGUI\fillRow(), ilObjectivesAlignmentTableGUI\fillRow(), ilSCORM2004TrackingTableGUI\fillRow(), ilScormSpecialPagesTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilSurveyQuestionTableGUI\fillRow(), ilFoundUsersTableGUI\fillRow(), ilSpecialUsersTableGUI\fillRow(), ilSurveySkillAssignmentTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilSurveySkillThresholdsTableGUI\fillRow(), ilSurveySyncTableGUI\fillRow(), ilWikiContributorsTableGUI\fillRow(), ilWikiPagesTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilWikiSearchResultsTableGUI\fillRow(), ilTaxAssignedItemsTableGUI\fillRow(), ilTaxonomyListTableGUI\fillRow(), ilTaxonomyTableGUI\fillRow(), ilAssignmentsTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilSCORM2004ExportTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRow(), SurveyMaterialsSourceTableGUI\fillRow(), ilLMMenuItemsTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\fillRow(), ilExerciseMemberTableGUI\fillRow(), ilPublicSubmissionsTableGUI\fillRow(), ilObjWorkspaceFolderTableGUI\fillRow(), ilObjectCopyProgressTableGUI\fillRow(), ilTermQuickListTableGUI\fillRow(), getHTML(), getLinkbar(), ilSurveySkillAssignmentTableGUI\getQuestions(), ilSurveyQuestionTableGUI\importData(), ilObjectCopyProgressTableGUI\init(), ilObjWikiSearchResultTableGUI\parse(), ilExerciseSubmissionTableGUI\parseRow(), ilExerciseSubmissionTableGUI\render(), ilMediaPoolTableGUI\render(), render(), and setOrderLink().

◆ $default_filter_visibility

ilTable2GUI::$default_filter_visibility = false
protected

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

Referenced by getDefaultFilterVisibility().

◆ $disable_filter_hiding

ilTable2GUI::$disable_filter_hiding = false
protected

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

Referenced by getDisableFilterHiding().

◆ $enable_command_for_all

ilTable2GUI::$enable_command_for_all
protected

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

◆ $export_formats

ilTable2GUI::$export_formats = []
protected

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

◆ $export_mode

ilTable2GUI::$export_mode
protected

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

Referenced by getExportMode().

◆ $ext_seg

ilTable2GUI::$ext_seg = false
protected

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

Referenced by getExternalSegmentation().

◆ $ext_sort

ilTable2GUI::$ext_sort = false
protected

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

Referenced by getExternalSorting().

◆ $filter_cmd

ilTable2GUI::$filter_cmd = 'applyFilter'
protected

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

Referenced by getFilterCommand().

◆ $filter_cols

ilTable2GUI::$filter_cols = 5
protected

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

Referenced by getFilterCols().

◆ $filters

ilTable2GUI::$filters = array()
protected

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

Referenced by ilMDCopyrightUsageTableGUI\collectData(), and getFilterItems().

◆ $filters_determined

ilTable2GUI::$filters_determined = false
protected

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

◆ $headerHTML

ilTable2GUI::$headerHTML
private

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

◆ $limit_determined

ilTable2GUI::$limit_determined = false
protected

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

◆ $mi_sel_buttons

ilTable2GUI::$mi_sel_buttons = []
protected

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

◆ $nav_determined

ilTable2GUI::$nav_determined = false
protected

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

◆ $open_form_tag

ilTable2GUI::$open_form_tag = true
protected

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

Referenced by getOpenFormTag().

◆ $optional_filters

ilTable2GUI::$optional_filters = array()
protected

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

Referenced by getFilterItems().

◆ $parent_cmd

◆ $parent_obj

◆ $prevent_double_submission

ilTable2GUI::$prevent_double_submission = true
protected

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

Referenced by getPreventDoubleSubmission().

◆ $print_mode

ilTable2GUI::$print_mode
protected

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

Referenced by getPrintMode().

◆ $reset_cmd

ilTable2GUI::$reset_cmd = 'resetFilter'
protected

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

Referenced by getResetCommand().

◆ $restore_filter

ilTable2GUI::$restore_filter
protected

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

◆ $restore_filter_values

ilTable2GUI::$restore_filter_values
protected

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

◆ $row_selector_label

ilTable2GUI::$row_selector_label
protected

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

Referenced by getRowSelectorLabel(), and setRowSelectorLabel().

◆ $rows_selector_off

ilTable2GUI::$rows_selector_off = false
protected

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

◆ $sel_buttons

ilTable2GUI::$sel_buttons = []
protected

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

◆ $select_all_on_top

ilTable2GUI::$select_all_on_top = false
protected

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

◆ $selectable_columns

ilTable2GUI::$selectable_columns = array()
protected

◆ $selected_column

ilTable2GUI::$selected_column = array()
protected

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

Referenced by getCurrentState().

◆ $selected_filter

ilTable2GUI::$selected_filter = false
protected

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

◆ $show_rows_selector

ilTable2GUI::$show_rows_selector = true
protected

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

Referenced by getShowRowsSelector().

◆ $show_templates

ilTable2GUI::$show_templates = false
protected

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

Referenced by getShowTemplates().

◆ $sortable_fields

ilTable2GUI::$sortable_fields = array()
protected

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

◆ $top_anchor

ilTable2GUI::$top_anchor = "il_table_top"
protected

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

Referenced by getTopAnchor().

◆ $top_commands

ilTable2GUI::$top_commands = true
protected

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

Referenced by getTopCommands().

◆ $tpl

◆ $unique_id

ilTable2GUI::$unique_id
private

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

Referenced by __construct().

◆ ACTION_ALL_LIMIT

const ilTable2GUI::ACTION_ALL_LIMIT = 1000

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

Referenced by getAllCommandLimit().

◆ EXPORT_CSV

const ilTable2GUI::EXPORT_CSV = 2

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

Referenced by exportData().

◆ EXPORT_EXCEL

const ilTable2GUI::EXPORT_EXCEL = 1

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

Referenced by exportData(), and ilObjLanguageExtGUI\statisticsObject().

◆ FILTER_CHECKBOX

const ilTable2GUI::FILTER_CHECKBOX = 9

◆ FILTER_DATE

const ilTable2GUI::FILTER_DATE = 3

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

Referenced by addFilterItemByMetaType().

◆ 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: