ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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)
 
 getData ()
 
 dataExists ()
 
 setPrefix ($a_prefix)
 
 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 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)
 
- Public Member Functions inherited from ilTableGUI
 __construct ($a_data=0, $a_global_tpl=true)
 Constructor. More...
 
 setTemplate ($a_tpl)
 set template public More...
 
getTemplateObject ()
 
 setData ($a_data)
 set table data public More...
 
 getData ()
 
 setTitle ($a_title, $a_icon=0, $a_icon_alt=0)
 set table title public More...
 
 setHelp ($a_help_page, $a_help_icon, $a_help_icon_alt=0)
 set table help page public More...
 
 setHeaderNames ($a_header_names)
 set table header names public More...
 
 getColumnCount ()
 Returns the column count based on the number of the header row columns public. More...
 
 setHeaderVars ($a_header_vars, $a_header_params=0)
 set table header vars public More...
 
 setColumnWidth ($a_column_width)
 set table column widths public More...
 
 setOneColumnWidth ($a_column_width, $a_column_number)
 set one table column width 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) public More...
 
 setOffset ($a_offset)
 set dataset offset public More...
 
 getOffset ()
 Get offset. More...
 
 setOrderColumn ($a_order_column=0, $a_default_column=0)
 set order column public More...
 
 getOrderColumn ()
 Get order column. More...
 
 setOrderDirection ($a_order_direction)
 set order direction public More...
 
 getOrderDirection ()
 Get order direction. More...
 
 setFooter ($a_style, $a_previous=0, $a_next=0)
 set order direction 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 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

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

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

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);
162  $this->determineSelectedColumns();
163  }
$_GET["client_id"]
setEnableNumInfo($a_val)
Set enable num info.
determineSelectedColumns()
Determine selected columns.
setIsDataTable($a_val)
Set is data table.
determineLimit()
Determine the limit.
restoreTemplate($a_name)
Restore state from template.
global $DIC
Definition: goto.php:24
setContext($id)
Set context.
__construct(Container $dic, ilPlugin $plugin)
getId()
Get element id.
+ 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 1327 of file class.ilTable2GUI.php.

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

1335  {
1336  $this->column[] = array(
1337  "text" => $a_text,
1338  "sort_field" => $a_sort_field,
1339  "width" => $a_width,
1340  "is_checkbox_action_column" => $a_is_checkbox_action_column,
1341  "class" => $a_class,
1342  "tooltip" => $a_tooltip,
1343  "tooltip_html" => (bool) $a_tooltip_with_html
1344  );
1345  if ($a_sort_field != "") {
1346  $this->sortable_fields[] = $a_sort_field;
1347  }
1348  $this->column_count = count($this->column);
1349  }
+ 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 1206 of file class.ilTable2GUI.php.

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

1207  {
1208  $this->buttons[] = array("cmd" => $a_cmd, "text" => $a_text, 'onclick' => $a_onclick,
1209  "id" => $a_id, "class" => $a_class);
1210  }
+ 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 1217 of file class.ilTable2GUI.php.

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

1218  {
1219  $this->buttons[] = $a_button;
1220  }
+ 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 636 of file class.ilTable2GUI.php.

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

637  {
638  $a_input_item->setParent($this);
639  if (!$a_optional) {
640  $this->filters[] = $a_input_item;
641  } else {
642  $this->optional_filters[] = $a_input_item;
643  }
644 
645  // restore filter values (from stored view)
646  if ($this->restore_filter) {
647  if (array_key_exists($a_input_item->getFieldId(), $this->restore_filter_values ?? [])) {
648  $this->setFilterValue($a_input_item, $this->restore_filter_values[$a_input_item->getFieldId()]);
649  } else {
650  $this->setFilterValue($a_input_item, null); // #14949
651  }
652  }
653  }
+ 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 664 of file class.ilTable2GUI.php.

References $DIC, ilTableGUI\$lng, $type, addFilterItem(), and ilCombinationInputGUI\COMPARISON_ASCENDING.

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

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

◆ addHeaderCommand()

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

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

Parameters
stringhref
stringtext

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

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

◆ addHiddenInput()

ilTable2GUI::addHiddenInput (   $a_name,
  $a_value 
)

Add Hidden Input field.

Parameters
stringName
stringValue

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

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

1284  {
1285  $this->hidden_inputs[] = array("name" => $a_name, "value" => $a_value);
1286  }
+ Here is the caller graph for this function:

◆ addMultiCommand()

ilTable2GUI::addMultiCommand (   $a_cmd,
  $a_text 
)

Add Command button.

Parameters
stringCommand
stringText

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

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

1273  {
1274  $this->multi[] = array("cmd" => $a_cmd, "text" => $a_text);
1275  }
+ 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 1247 of file class.ilTable2GUI.php.

References addHiddenInput().

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

1248  {
1249  $this->mi_sel_buttons[] = array("sel_var" => $a_sel_var, "options" => $a_options, "selected" => $a_default_selection, "cmd" => $a_cmd, "text" => $a_text);
1250  $this->addHiddenInput("cmd_sv[" . $a_cmd . "]", $a_sel_var);
1251  }
addHiddenInput($a_name, $a_value)
Add Hidden Input field.
+ 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 1232 of file class.ilTable2GUI.php.

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

◆ clearCommandButtons()

ilTable2GUI::clearCommandButtons ( )

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

Referenced by ilObjectCustomUserFieldsTableGUI\parse().

1196  {
1197  $this->buttons = array();
1198  }
+ Here is the caller graph for this function:

◆ dataExists()

ilTable2GUI::dataExists ( )
final

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

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

613  {
614  if (is_array($this->row_data)) {
615  if (count($this->row_data) > 0) {
616  return true;
617  }
618  }
619  return false;
620  }
+ Here is the caller graph for this function:

◆ deleteTemplate()

ilTable2GUI::deleteTemplate (   $a_name)

Delete template.

Parameters
string$a_name
Returns
bool

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

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

Referenced by fillFooter().

3054  {
3055  global $DIC;
3056 
3057  $ilUser = $DIC->user();
3058 
3059  $a_name = ilUtil::prepareFormOutput($a_name, true);
3060 
3061  if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
3062  include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
3063  $storage = new ilTableTemplatesStorage();
3064  $storage->delete($this->getContext(), $ilUser->getId(), $a_name);
3065  return true;
3066  }
3067  return false;
3068  }
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
getContext()
Get context.
const ANONYMOUS_USER_ID
Definition: constants.php:25
Saves (mostly asynchronously) user properties of tables (e.g.
global $DIC
Definition: goto.php:24
$ilUser
Definition: imgupload.php:18
+ 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.

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

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

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  }
$_GET["client_id"]
storeProperty($type, $value)
Store table property.
resetOffset($a_in_determination=false)
Reset offset.
global $DIC
Definition: goto.php:24
$rows
Definition: xhr_table.php:10
loadProperty($type)
Load table property.
$ilUser
Definition: imgupload.php:18
setLimit($a_limit=0, $a_default_limit=0)
+ 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 1540 of file class.ilTable2GUI.php.

References $_GET, $_POST, $_SESSION, $DIC, $ilUser, ANONYMOUS_USER_ID, 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(), ilUserLPTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilUserTableGUI\getItems(), ilUserExportFileTableGUI\init(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilForumTopicTableGUI\numericOrdering(), ilSCORMTrackingUsersTableGUI\parse(), ilTrashTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCoursesTableGUI\parseData(), ILIAS\MyStaff\ListCourses\ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilBiblFieldFilterTableGUI\parseData(), ilBiblAdminFieldTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilFileSystemTableGUI\prepareOutput(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), resetOffset(), and arIndexTableGUI\setOrderAndSegmentation().

1541  {
1542  global $DIC;
1543 
1544  $ilUser = null;
1545  if (isset($DIC["ilUser"])) {
1546  $ilUser = $DIC["ilUser"];
1547  }
1548 
1549  if ($this->nav_determined) {
1550  return true;
1551  }
1552 
1553  if ($_POST[$this->getNavParameter() . "1"] != "") {
1554  if ($_POST[$this->getNavParameter() . "1"] != $_POST[$this->getNavParameter()]) {
1555  $this->nav_value = $_POST[$this->getNavParameter() . "1"];
1556  } elseif ($_POST[$this->getNavParameter() . "2"] != $_POST[$this->getNavParameter()]) {
1557  $this->nav_value = $_POST[$this->getNavParameter() . "2"];
1558  }
1559  } elseif ($_GET[$this->getNavParameter()]) {
1560  $this->nav_value = $_GET[$this->getNavParameter()];
1561  } elseif ($_SESSION[$this->getNavParameter()] != "") {
1562  $this->nav_value = $_SESSION[$this->getNavParameter()];
1563  }
1564 
1565  if ($this->nav_value == "" && $this->getId() != "" && $ilUser->getId() != ANONYMOUS_USER_ID) {
1566  $order = $this->loadProperty("order");
1567  if (in_array($order, $this->sortable_fields)) {
1568  $direction = $this->loadProperty("direction");
1569  } else {
1570  $direction = $this->getDefaultOrderDirection();
1571  }
1572  // get order and direction from db
1573  $this->nav_value =
1574  $order . ":" .
1575  $direction . ":" .
1576  $this->loadProperty("offset");
1577  }
1578  $nav = explode(":", $this->nav_value);
1579 
1580  // $nav[0] is order by
1581  $this->setOrderField(($nav[0] != "") ? $nav[0] : $this->getDefaultOrderField());
1582  $this->setOrderDirection(($nav[1] != "") ? $nav[1] : $this->getDefaultOrderDirection());
1583 
1584  if (!$a_omit_offset) {
1585  // #8904: offset must be discarded when no limit is given
1586  if (!$this->getExternalSegmentation() && $this->limit_determined && $this->limit == 9999) {
1587  $this->resetOffset(true);
1588  } elseif (!$this->getExternalSegmentation() && $nav[2] >= $this->max_count) {
1589  $this->resetOffset(true);
1590  } else {
1591  $this->setOffset($nav[2]);
1592  }
1593  }
1594 
1595  if (!$a_omit_offset) {
1596  $this->nav_determined = true;
1597  }
1598  }
getDefaultOrderField()
Get Default order field.
const ANONYMOUS_USER_ID
Definition: constants.php:25
$_SESSION["AccountId"]
setOffset($a_offset)
set dataset offset public
$_GET["client_id"]
resetOffset($a_in_determination=false)
Reset offset.
getDefaultOrderDirection()
Get Default order direction.
setOrderDirection($a_order_direction)
set order direction public
setOrderField($a_order_field)
set order column
getExternalSegmentation()
Get external segmentation.
global $DIC
Definition: goto.php:24
loadProperty($type)
Load table property.
$ilUser
Definition: imgupload.php:18
getId()
Get element id.
$_POST["username"]
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determineSelectedColumns()

ilTable2GUI::determineSelectedColumns ( )

Determine selected columns.

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

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

Referenced by __construct(), and getCurrentState().

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  if ($old_sel != serialize($this->selected_column) && $set) {
310  $this->storeProperty("selfields", serialize($this->selected_column));
311  }
312 
313  $this->columns_determined = true;
314  }
$c
Definition: cli.php:37
getSelectableColumns()
Get selectable columns.
storeProperty($type, $value)
Store table property.
loadProperty($type)
Load table property.
getId()
Get element id.
$_POST["username"]
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determineSelectedFilters()

ilTable2GUI::determineSelectedFilters ( )

Determine selected filters.

Parameters

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

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

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

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

◆ executeCommand()

ilTable2GUI::executeCommand ( )

Execute command.

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

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

348  {
349  $ilCtrl = $this->ctrl;
350 
351  $next_class = $ilCtrl->getNextClass($this);
352  $cmd = $ilCtrl->getCmd();
353 
354  switch ($next_class) {
355  case 'ilformpropertydispatchgui':
356  include_once './Services/Form/classes/class.ilFormPropertyDispatchGUI.php';
357  $form_prop_dispatch = new ilFormPropertyDispatchGUI();
358  $this->initFilter();
359  $item = $this->getFilterItemByPostVar($_GET["postvar"]);
360  $form_prop_dispatch->setItem($item);
361  return $ilCtrl->forwardCommand($form_prop_dispatch);
362  break;
363 
364  }
365  return false;
366  }
initFilter()
Init filter.
$_GET["client_id"]
getFilterItemByPostVar($a_post_var)
+ 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 3145 of file class.ilTable2GUI.php.

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

Referenced by getHTML().

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

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

Referenced by getHTML().

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

References $c, $ctrl, $DIC, $format, $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().

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

◆ fillHeader()

ilTable2GUI::fillHeader ( )

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

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

Referenced by render().

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

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

References ilTableGUI\$title.

Referenced by exportData().

3293  {
3294  foreach ($this->column as $column) {
3295  $title = strip_tags($column["text"]);
3296  if ($title) {
3297  $a_csv->addColumn($title);
3298  }
3299  }
3300  $a_csv->addRow();
3301  }
+ 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

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

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

Referenced by exportData().

3246  {
3247  $col = 0;
3248  foreach ($this->column as $column) {
3249  $title = strip_tags($column["text"]);
3250  if ($title) {
3251  $a_excel->setCell($a_row, $col++, $title);
3252  }
3253  }
3254  $a_excel->setBold("A" . $a_row . ":" . $a_excel->getColumnCoord($col - 1) . $a_row);
3255  }
getColumnCoord($a_col)
Get column "name" from number.
setBold($a_coords)
Set cell(s) to bold.
setCell($a_row, $a_col, $a_value, $a_datatype=null)
Set cell value.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillHiddenRow()

ilTable2GUI::fillHiddenRow ( )

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

Referenced by getHTML().

2538  {
2539  $hidden_row = false;
2540  if (count($this->hidden_inputs)) {
2541  foreach ($this->hidden_inputs as $hidden_input) {
2542  $this->tpl->setCurrentBlock("tbl_hidden_field");
2543  $this->tpl->setVariable("FIELD_NAME", $hidden_input["name"]);
2544  $this->tpl->setVariable("FIELD_VALUE", $hidden_input["value"]);
2545  $this->tpl->parseCurrentBlock();
2546  }
2547 
2548  $this->tpl->setCurrentBlock("tbl_hidden_row");
2549  $this->tpl->parseCurrentBlock();
2550  }
2551  }
+ 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

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

Referenced by exportData().

3283  {
3284  }
+ 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

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

Referenced by exportData().

3235  {
3236  }
+ 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

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

Referenced by ilMemcacheServerTableGUI\__construct(), ilOrgUnitPositionTableGUI\__construct(), ilDclRecordListTableGUI\addActionRowIfNeeded(), ilBiblFieldFilterTableGUI\addAndReadFilterItem(), ilBiblEntryTableGUI\addAndReadFilterItem(), ilADNNotificationTableGUI\formatDate(), getHTML(), ilOrgUnitPermissionTableGUI\getObjType(), ilQuestionUsagesTableGUI\initColumns(), ilMMSubItemTableGUI\initColumns(), ilRepositoryUserResultTableGUI\initMultiCommands(), ilDclCreateViewTableGUI\parseData(), and ilMMItemTranslationTableGUI\parseData().

2125  {
2126  foreach ($a_set as $key => $value) {
2127  $this->tpl->setVariable("VAL_" . strtoupper($key), $value);
2128  }
2129  }
+ 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

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

Referenced by exportData().

3311  {
3312  foreach ($a_set as $key => $value) {
3313  if (is_array($value)) {
3314  $value = implode(', ', $value);
3315  }
3316  $a_csv->addColumn(strip_tags($value));
3317  }
3318  $a_csv->addRow();
3319  }
+ 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

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

References ilExcel\setCell().

Referenced by exportData().

3266  {
3267  $col = 0;
3268  foreach ($a_set as $value) {
3269  if (is_array($value)) {
3270  $value = implode(', ', $value);
3271  }
3272  $a_excel->setCell($a_row, $col++, $value);
3273  }
3274  }
setCell($a_row, $a_col, $a_value, $a_datatype=null)
Set cell value.
+ 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 3336 of file class.ilTable2GUI.php.

References $DIC, and ilTableGUI\$limit.

3337  {
3338  global $DIC;
3339 
3340  $ilClientIniFile = $DIC["ilClientIniFile"];
3341 
3342  $limit = $ilClientIniFile->readVariable("system", "TABLE_ACTION_ALL_LIMIT");
3343  if (!$limit) {
3344  $limit = self::ACTION_ALL_LIMIT;
3345  }
3346 
3347  return $limit;
3348  }
global $DIC
Definition: goto.php:24

◆ getCloseFormTag()

ilTable2GUI::getCloseFormTag ( )

Get close form tag.

Returns
boolean close form tag

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

References $close_form_tag.

Referenced by getHTML().

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

◆ getContext()

ilTable2GUI::getContext ( )

Get context.

Returns
string

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

References $context.

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

2937  {
2938  return $this->context;
2939  }
+ 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 2847 of file class.ilTable2GUI.php.

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

Referenced by saveTemplate().

2848  {
2849  $this->determineOffsetAndOrder();
2850  $this->determineLimit();
2851  $this->determineSelectedColumns();
2852  $this->determineSelectedFilters();
2853 
2854  // "filter" show/hide is not saved
2855 
2856  $result = array();
2857  $result["order"] = $this->getOrderField();
2858  $result["direction"] = $this->getOrderDirection();
2859  $result["offset"] = $this->getOffset();
2860  $result["rows"] = $this->getLimit();
2861  $result["selfilters"] = $this->getSelectedFilters();
2862 
2863  // #9514 - $this->getSelectedColumns() will omit deselected, leading to
2864  // confusion on restoring template
2865  $result["selfields"] = $this->selected_column;
2866 
2867  // gather filter values
2868  if ($this->filters) {
2869  foreach ($this->filters as $item) {
2870  $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2871  }
2872  }
2873  if ($this->optional_filters && $result["selfilters"]) {
2874  foreach ($this->optional_filters as $item) {
2875  if (in_array($item->getFieldId(), $result["selfilters"])) {
2876  $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2877  }
2878  }
2879  }
2880 
2881  return $result;
2882  }
$result
getFilterValue(ilFormPropertyGUI $a_item)
Get current filter value.
determineSelectedColumns()
Determine selected columns.
determineLimit()
Determine the limit.
getOrderDirection()
Get order direction.
getOffset()
Get offset.
determineOffsetAndOrder($a_omit_offset=false)
Determine offset and order.
determineSelectedFilters()
Determine selected filters.
getSelectedFilters()
Get selected filters.
getLimit()
Get limit.
+ 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 1185 of file class.ilTable2GUI.php.

References $default_filter_visibility.

Referenced by isFilterVisible().

1186  {
1188  }
+ Here is the caller graph for this function:

◆ getDefaultOrderDirection()

ilTable2GUI::getDefaultOrderDirection ( )

Get Default order direction.

Returns
string Default order direction

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

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

1168  {
1169  return $this->defaultorderdirection;
1170  }
+ Here is the caller graph for this function:

◆ getDefaultOrderField()

ilTable2GUI::getDefaultOrderField ( )

Get Default order field.

Returns
string Default order field

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

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

1148  {
1149  return $this->defaultorderfield;
1150  }
+ Here is the caller graph for this function:

◆ getDescription()

ilTable2GUI::getDescription ( )

Get description.

Returns
string description

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

Referenced by render().

556  {
557  return $this->description;
558  }
+ Here is the caller graph for this function:

◆ getDisableFilterHiding()

ilTable2GUI::getDisableFilterHiding ( )

Get disable filter hiding.

Returns
boolean

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

References $disable_filter_hiding.

Referenced by fillFooter(), and renderFilter().

836  {
838  }
+ Here is the caller graph for this function:

◆ getDisplayAsBlock()

ilTable2GUI::getDisplayAsBlock ( )

Get display as block.

Returns
boolean display as block

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

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

1010  {
1011  return $this->display_as_block;
1012  }
+ Here is the caller graph for this function:

◆ getEnableHeader()

ilTable2GUI::getEnableHeader ( )

Get Enable Header.

Returns
boolean Enable Header

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

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

◆ getEnableNumInfo()

ilTable2GUI::getEnableNumInfo ( )

Get enable num info.

Returns
boolean enable number of records info

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

Referenced by fillFooter().

528  {
529  return $this->num_info;
530  }
+ Here is the caller graph for this function:

◆ getEnableTitle()

ilTable2GUI::getEnableTitle ( )

Get Enable Title.

Returns
boolean Enable Title

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

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

◆ getExportMode()

◆ getExternalSegmentation()

ilTable2GUI::getExternalSegmentation ( )

Get external segmentation.

Returns
boolean data is segmented externally

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

References $ext_seg.

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

1116  {
1117  return $this->ext_seg;
1118  }
+ Here is the caller graph for this function:

◆ getExternalSorting()

ilTable2GUI::getExternalSorting ( )

Get external sorting.

Returns
boolean data is sorted externally

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

References $ext_sort.

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

1052  {
1053  return $this->ext_sort;
1054  }
+ Here is the caller graph for this function:

◆ getFilterCols()

ilTable2GUI::getFilterCols ( )

Get filter columns.

Returns
int number of filter columns

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

References $filter_cols.

Referenced by renderFilter().

816  {
817  return $this->filter_cols;
818  }
+ Here is the caller graph for this function:

◆ getFilterCommand()

ilTable2GUI::getFilterCommand ( )

Get filter command.

Returns
string filter command

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

References $filter_cmd.

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

◆ getFilterItemByPostVar()

ilTable2GUI::getFilterItemByPostVar (   $a_post_var)
final

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

References getFilterItems().

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

786  {
787  foreach ($this->getFilterItems() as $item) {
788  if ($item->getPostVar() == $a_post_var) {
789  return $item;
790  }
791  }
792  foreach ($this->getFilterItems(true) as $item) {
793  if ($item->getPostVar() == $a_post_var) {
794  return $item;
795  }
796  }
797  return false;
798  }
getFilterItems($a_optionals=false)
Get filter items.
+ 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 2890 of file class.ilTable2GUI.php.

References IL_CAL_DATE.

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

2891  {
2892  if (method_exists($a_item, "getChecked")) {
2893  return $a_item->getChecked();
2894  } elseif (method_exists($a_item, "getValue")) {
2895  return $a_item->getValue();
2896  } elseif (method_exists($a_item, "getDate")) {
2897  return $a_item->getDate()->get(IL_CAL_DATE);
2898  }
2899  }
const IL_CAL_DATE
+ Here is the caller graph for this function:

◆ getFormAction()

◆ getFormName()

ilTable2GUI::getFormName ( )

Get Form name.

Returns
string Form name

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

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

967  {
968  return $this->formname;
969  }
+ Here is the caller graph for this function:

◆ getHTML()

ilTable2GUI::getHTML ( )

Get HTML.

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

References $ctrl, ilTableGUI\$data, $DIC, $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 ilCmiXapiLrsTypesTableGUI\fillRow(), ilBadgeTableGUI\fillRow(), ilObjectBadgeTableGUI\fillRow(), ilBadgePersonalTableGUI\fillRow(), ilParticipantsTestResultsTableGUI\fillRow(), ilTestParticipantsTableGUI\fillRow(), and arIndexTableGUI\render().

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

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

990  {
991  return $this->id;
992  }
+ Here is the caller graph for this function:

◆ getIsDataTable()

ilTable2GUI::getIsDataTable ( )

Get is data table.

Returns
boolean is data table

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

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

◆ getLimit()

ilTable2GUI::getLimit ( )

Get limit.

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

References getExportMode(), and getPrintMode().

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

3074  {
3075  if ($this->getExportMode() || $this->getPrintMode()) {
3076  return 9999;
3077  }
3078  return parent::getLimit();
3079  }
getPrintMode()
Get print mode.
getExportMode()
Was export activated?
+ 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 2416 of file class.ilTable2GUI.php.

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

Referenced by fillFooter().

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

◆ getNavParameter()

ilTable2GUI::getNavParameter ( )
final

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

Referenced by ilMMItemTranslationTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilBiblFieldFilterTableGUI\__construct(), determineOffsetAndOrder(), getHTML(), getLinkbar(), resetOffset(), and setOrderLink().

1353  {
1354  return $this->prefix . "_table_nav";
1355  }
+ Here is the caller graph for this function:

◆ getNoEntriesText()

ilTable2GUI::getNoEntriesText ( )

Get text for an empty table.

Returns
string Text

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

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

448  {
449  return $this->noentriestext;
450  }
+ Here is the caller graph for this function:

◆ getOffset()

ilTable2GUI::getOffset ( )

Get offset.

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

References getExportMode(), and getPrintMode().

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

3085  {
3086  if ($this->getExportMode() || $this->getPrintMode()) {
3087  return 0;
3088  }
3089  return parent::getOffset();
3090  }
getPrintMode()
Get print mode.
getExportMode()
Was export activated?
+ 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.

References $open_form_tag.

Referenced by getHTML().

181  {
182  return $this->open_form_tag;
183  }
+ Here is the caller graph for this function:

◆ getOrderField()

ilTable2GUI::getOrderField ( )

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

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

571  {
572  return $this->order_field;
573  }
+ Here is the caller graph for this function:

◆ getParentCmd()

◆ getParentObject()

ilTable2GUI::getParentObject ( )

Get parent object.

Returns
object parent GUI object

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

References $parent_obj.

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

398  {
399  return $this->parent_obj;
400  }
+ Here is the caller graph for this function:

◆ getPrefix()

ilTable2GUI::getPrefix ( )
final

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

References ilTableGUI\$prefix.

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

628  {
629  return $this->prefix;
630  }
+ Here is the caller graph for this function:

◆ getPreventDoubleSubmission()

ilTable2GUI::getPreventDoubleSubmission ( )

Get prevent double submission.

Returns
bool prevent double submission

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

References $prevent_double_submission.

Referenced by getHTML().

3383  {
3385  }
+ Here is the caller graph for this function:

◆ getPrintMode()

ilTable2GUI::getPrintMode ( )

Get print mode.

Returns
bool $a_value

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

References $print_mode.

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

3126  {
3127  return $this->print_mode;
3128  }
+ Here is the caller graph for this function:

◆ getResetCommand()

ilTable2GUI::getResetCommand ( )

Get reset filter command.

Returns
string reset command

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

References $reset_cmd.

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

◆ getRowSelectorLabel()

ilTable2GUI::getRowSelectorLabel ( )
Returns
string

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

References $row_selector_label.

Referenced by fillFooter().

3363  {
3365  }
+ Here is the caller graph for this function:

◆ getSelectableColumns()

ilTable2GUI::getSelectableColumns ( )

Get selectable columns.

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

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

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

251  {
252  return array();
253  }
+ 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

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

References ilTableGUI\$select_all_checkbox.

Referenced by fillFooter(), and fillHeader().

1020  {
1022  }
+ Here is the caller graph for this function:

◆ getSelectedColumns()

ilTable2GUI::getSelectedColumns ( )

Get selected columns.

Parameters

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

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

334  {
335  $scol = array();
336  foreach ($this->selected_column as $k => $v) {
337  if ($v) {
338  $scol[$k] = $k;
339  }
340  }
341  return $scol;
342  }
+ Here is the caller graph for this function:

◆ getSelectedFilters()

ilTable2GUI::getSelectedFilters ( )

Get selected filters.

Parameters

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

Referenced by getCurrentState().

858  {
859  $sfil = array();
860  foreach ($this->selected_filter as $k => $v) {
861  if ($v) {
862  $sfil[$k] = $k;
863  }
864  }
865  return $sfil;
866  }
+ Here is the caller graph for this function:

◆ getShowRowsSelector()

ilTable2GUI::getShowRowsSelector ( )

Get rows-per-page selector state.

Returns
bool

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

References $show_rows_selector.

Referenced by fillFooter().

2957  {
2959  }
+ Here is the caller graph for this function:

◆ getShowTemplates()

ilTable2GUI::getShowTemplates ( )

Get template state.

Returns
bool

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

References $show_templates.

Referenced by fillFooter().

2977  {
2978  return $this->show_templates;
2979  }
+ Here is the caller graph for this function:

◆ getTopAnchor()

ilTable2GUI::getTopAnchor ( )

Get top anchor.

Returns
string top anchor

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

References $top_anchor.

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

428  {
429  return $this->top_anchor;
430  }
+ 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 1315 of file class.ilTable2GUI.php.

References $top_commands.

Referenced by fillActionRow().

1316  {
1317  return $this->top_commands;
1318  }
+ Here is the caller graph for this function:

◆ initFilter()

ilTable2GUI::initFilter ( )

Init filter.

Overwrite this to initialize all filter input property objects.

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

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

389  {
390  }
+ 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 2036 of file class.ilTable2GUI.php.

References ilAdvancedMDRecordGUI\getFilterElements().

Referenced by writeFilterToSession().

2037  {
2038  foreach ($a_gui->getFilterElements(false) as $item) {
2039  if ($item === $a_element) {
2040  return true;
2041  }
2042  }
2043  return false;
2044  }
getFilterElements($a_only_non_empty=true)
Get SQL conditions for current filter value(s)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isColumnSelected()

◆ isFilterSelected()

ilTable2GUI::isFilterSelected (   $a_col)

Is given filter selected?

Parameters
stringcolumn name
Returns
boolean

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

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

847  {
848  return $this->selected_filter[$a_col];
849  }
+ 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 2020 of file class.ilTable2GUI.php.

References getDefaultFilterVisibility(), and loadProperty().

Referenced by renderFilter().

2021  {
2022  $prop = $this->loadProperty('filter');
2023  if ($prop === '0' || $prop === '1') {
2024  return (bool) $prop;
2025  }
2026  return $this->getDefaultFilterVisibility();
2027  }
loadProperty($type)
Load table property.
getDefaultFilterVisibility()
Get default filter visibility.
+ 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

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

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

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

2825  {
2826  global $DIC;
2827 
2828  $ilUser = null;
2829  if (isset($DIC["ilUser"])) {
2830  $ilUser = $DIC["ilUser"];
2831  }
2832 
2833  if (is_object($ilUser) && $this->getId() != "") {
2834  include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
2835  $tab_prop = new ilTablePropertiesStorage();
2836 
2837  return $tab_prop->getProperty($this->getId(), $ilUser->getId(), $type);
2838  }
2839  return null;
2840  }
$type
Saves (mostly asynchronously) user properties of tables (e.g.
global $DIC
Definition: goto.php:24
$ilUser
Definition: imgupload.php:18
getId()
Get element id.
+ 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

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

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

1759  {
1760  return false;
1761  }
+ Here is the caller graph for this function:

◆ prepareOutput()

ilTable2GUI::prepareOutput ( )
protected

Anything that must be done before HTML is generated.

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

Referenced by getHTML().

1533  {
1534  }
+ Here is the caller graph for this function:

◆ render()

ilTable2GUI::render ( )

render table public

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

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

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

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

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

Referenced by render().

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

◆ resetFilter()

ilTable2GUI::resetFilter ( )

Reset filter.

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

References ilTableGUI\$lng, and getFilterItems().

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

2092  {
2093  $lng = $this->lng;
2094 
2095  $filter = $this->getFilterItems();
2096  $opt_filter = $this->getFilterItems(true);
2097 
2098  foreach ($filter as $item) {
2099  if ($item->checkInput()) {
2100  // see #26490
2101  $item->setValueByArray([]);
2102  $item->clearFromSession();
2103  }
2104  }
2105  foreach ($opt_filter as $item) {
2106  if ($item->checkInput()) {
2107  // see #26490
2108  $item->setValueByArray([]);
2109  $item->clearFromSession();
2110  }
2111  }
2112 
2113  // #13209
2114  unset($_REQUEST["tbltplcrt"]);
2115  unset($_REQUEST["tbltpldel"]);
2116  }
getFilterItems($a_optionals=false)
Get filter items.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetOffset()

ilTable2GUI::resetOffset (   $a_in_determination = false)

Reset offset.

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

References $_GET, $_POST, determineOffsetAndOrder(), getNavParameter(), ilTableGUI\getOrderDirection(), getOrderField(), and ilTableGUI\setOffset().

Referenced by ilLTIConsumerScoringTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilPresentationListTableGUI\__construct(), arIndexTableGUI\applyFilter(), ilPermission2GUI\applyLogFilter(), determineLimit(), determineOffsetAndOrder(), ilLPTableBaseGUI\executeCommand(), ilMailFolderTableGUI\fetchTableData(), ilUserLPTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilCmiXapiStatementsGUI\initTableData(), ilExerciseManagementGUI\membersApplyObject(), ilExerciseManagementGUI\membersResetObject(), ilForumTopicTableGUI\numericOrdering(), ilTermsOfServiceTableGUI\populate(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilWaitingListTableGUI\readUserData(), arIndexTableGUI\resetFilter(), ilPermission2GUI\resetLogFilter(), and ilCalendarManageTableGUI\resetToDefaults().

372  {
373  if (!$this->nav_determined && !$a_in_determination) {
374  $this->determineOffsetAndOrder();
375  }
376  $this->nav_value = $this->getOrderField() . ":" . $this->getOrderDirection() . ":0";
377  $_GET[$this->getNavParameter()] =
378  $_POST[$this->getNavParameter() . "1"] =
379  $this->nav_value;
380  //echo $this->nav_value;
381  $this->setOffset(0);
382  }
setOffset($a_offset)
set dataset offset public
$_GET["client_id"]
getOrderDirection()
Get order direction.
determineOffsetAndOrder($a_omit_offset=false)
Determine offset and order.
$_POST["username"]
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ restoreTemplate()

ilTable2GUI::restoreTemplate (   $a_name)

Restore state from template.

Parameters
string$a_name
Returns
bool

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

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

Referenced by __construct().

2988  {
2989  global $DIC;
2990 
2991  $ilUser = $DIC->user();
2992 
2993  $a_name = ilUtil::stripSlashes($a_name);
2994 
2995  if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
2996  include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
2997  $storage = new ilTableTemplatesStorage();
2998 
2999  $data = $storage->load($this->getContext(), $ilUser->getId(), $a_name);
3000  if (is_array($data)) {
3001  foreach ($data as $property => $value) {
3002  $this->storeProperty($property, $value);
3003  }
3004  }
3005 
3006  $data["filter_values"] = unserialize($data["filter_values"]);
3007  if ($data["filter_values"]) {
3008  $this->restore_filter_values = $data["filter_values"];
3009  }
3010 
3011  $this->restore_filter = true;
3012 
3013  return true;
3014  }
3015  return false;
3016  }
getContext()
Get context.
const ANONYMOUS_USER_ID
Definition: constants.php:25
storeProperty($type, $value)
Store table property.
Saves (mostly asynchronously) user properties of tables (e.g.
global $DIC
Definition: goto.php:24
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
$ilUser
Definition: imgupload.php:18
+ 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 3024 of file class.ilTable2GUI.php.

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

Referenced by fillFooter().

3025  {
3026  global $DIC;
3027 
3028  $ilUser = $DIC->user();
3029 
3030  $a_name = ilUtil::prepareFormOutput($a_name, true);
3031 
3032  if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
3033  include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
3034  $storage = new ilTableTemplatesStorage();
3035 
3036  $state = $this->getCurrentState();
3037  $state["filter_values"] = serialize($state["filter_values"]);
3038  $state["selfields"] = serialize($state["selfields"]);
3039  $state["selfilters"] = serialize($state["selfilters"]);
3040 
3041  $storage->store($this->getContext(), $ilUser->getId(), $a_name, $state);
3042  return true;
3043  }
3044  return false;
3045  }
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
getContext()
Get context.
const ANONYMOUS_USER_ID
Definition: constants.php:25
Saves (mostly asynchronously) user properties of tables (e.g.
global $DIC
Definition: goto.php:24
getCurrentState()
get current settings for order, limit, columns and filter
$ilUser
Definition: imgupload.php:18
+ 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 1261 of file class.ilTable2GUI.php.

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

◆ setCloseFormTag()

ilTable2GUI::setCloseFormTag (   $a_val)

Set close form tag.

Parameters
booleanclose form tag

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

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

191  {
192  $this->close_form_tag = $a_val;
193  }
+ Here is the caller graph for this function:

◆ setContext()

ilTable2GUI::setContext (   $id)

Set context.

Parameters
string$id

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

Referenced by __construct().

2925  {
2926  if (trim($id)) {
2927  $this->context = $id;
2928  }
2929  }
+ 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 922 of file class.ilTable2GUI.php.

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

◆ setData()

ilTable2GUI::setData (   $a_data)
final

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

References getExternalSorting().

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

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

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

1177  {
1178  $this->default_filter_visibility = $a_status;
1179  }
+ 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 1157 of file class.ilTable2GUI.php.

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

1158  {
1159  $this->defaultorderdirection = $a_defaultorderdirection;
1160  }
+ 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 1137 of file class.ilTable2GUI.php.

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

1138  {
1139  $this->defaultorderfield = $a_defaultorderfield;
1140  }
+ 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 825 of file class.ilTable2GUI.php.

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

826  {
827  $this->disable_filter_hiding = $a_val;
828  }
+ Here is the caller graph for this function:

◆ setDisplayAsBlock()

ilTable2GUI::setDisplayAsBlock (   $a_val)

Set display as block.

Parameters
booleandisplay as block

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

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

1000  {
1001  $this->display_as_block = $a_val;
1002  }
+ 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 3326 of file class.ilTable2GUI.php.

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

3327  {
3328  $this->enable_command_for_all = (bool) $a_value;
3329  }
+ Here is the caller graph for this function:

◆ setEnableHeader()

ilTable2GUI::setEnableHeader (   $a_enableheader)

Set Enable Header.

Parameters
boolean$a_enableheaderEnable Header

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

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

498  {
499  $this->enabled["header"] = $a_enableheader;
500  }
+ 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 517 of file class.ilTable2GUI.php.

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

518  {
519  $this->num_info = $a_val;
520  }
+ Here is the caller graph for this function:

◆ setEnableTitle()

ilTable2GUI::setEnableTitle (   $a_enabletitle)

Set Enable Title.

Parameters
boolean$a_enabletitleEnable Title

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

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

478  {
479  $this->enabled["title"] = $a_enabletitle;
480  }
+ Here is the caller graph for this function:

◆ setExportFormats()

ilTable2GUI::setExportFormats ( array  $formats)

Set available export formats.

Parameters
array$formats

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

References $format, and $valid.

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

3098  {
3099  $this->export_formats = array();
3100 
3101  // #11339
3102  $valid = array(self::EXPORT_EXCEL => "tbl_export_excel",
3103  self::EXPORT_CSV => "tbl_export_csv");
3104 
3105  foreach ($formats as $format) {
3106  if (array_key_exists($format, $valid)) {
3107  $this->export_formats[$format] = $valid[$format];
3108  }
3109  }
3110  }
$valid
$format
Definition: metadata.php:218
$formats
Definition: date.php:77
+ Here is the caller graph for this function:

◆ setExternalSegmentation()

ilTable2GUI::setExternalSegmentation (   $a_val)

Set external segmentation.

Parameters
booleandata is segmented externally

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

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

1106  {
1107  $this->ext_seg = $a_val;
1108  }
+ Here is the caller graph for this function:

◆ setExternalSorting()

ilTable2GUI::setExternalSorting (   $a_val)

Set external sorting.

Parameters
booleandata is sorted externally

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

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

1042  {
1043  $this->ext_sort = $a_val;
1044  }
+ 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 1062 of file class.ilTable2GUI.php.

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

1063  {
1064  $this->filter_cmd = $a_val;
1065  $this->filter_cmd_txt = $a_caption;
1066  }
+ 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 2907 of file class.ilTable2GUI.php.

References IL_CAL_DATE, and ilFormPropertyGUI\writeToSession().

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

2908  {
2909  if (method_exists($a_item, "setChecked")) {
2910  $a_item->setChecked($a_value);
2911  } elseif (method_exists($a_item, "setValue")) {
2912  $a_item->setValue($a_value);
2913  } elseif (method_exists($a_item, "setDate")) {
2914  $a_item->setDate(new ilDate($a_value, IL_CAL_DATE));
2915  }
2916  $a_item->writeToSession();
2917  }
Class for single dates.
const IL_CAL_DATE
writeToSession()
Write to session.
+ 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 935 of file class.ilTable2GUI.php.

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

936  {
937  $this->form_action = $a_form_action;
938  $this->form_multipart = (bool) $a_multipart;
939  }
+ Here is the caller graph for this function:

◆ setFormName()

ilTable2GUI::setFormName (   $a_formname = "")

Set Form name.

Parameters
string$a_formnameForm name

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

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

957  {
958  $this->formname = $a_formname;
959  }
+ Here is the caller graph for this function:

◆ setHeaderHTML()

ilTable2GUI::setHeaderHTML (   $html)

set header html

Parameters
string$html

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

2791  {
2792  $this->headerHTML = $html;
2793  }

◆ setId()

ilTable2GUI::setId (   $a_val)

Set id.

Parameters
stringelement id

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

References getPrefix(), and setPrefix().

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

977  {
978  $this->id = $a_val;
979  if ($this->getPrefix() == "") {
980  $this->setPrefix($a_val);
981  }
982  }
setPrefix($a_prefix)
+ 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 457 of file class.ilTable2GUI.php.

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

458  {
459  $this->datatable = $a_val;
460  }
+ Here is the caller graph for this function:

◆ setLimit()

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

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

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

3388  {
3389  parent::setLimit($a_limit, $a_default_limit);
3390 
3391  // #17077 - if limit is set "manually" to 9999, force rows selector off
3392  if ($a_limit == 9999 &&
3393  $this->limit_determined) {
3394  $this->rows_selector_off = true;
3395  }
3396  }
+ 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.

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

171  {
172  $this->open_form_tag = $a_val;
173  }
+ 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 565 of file class.ilTable2GUI.php.

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

566  {
567  $this->order_field = $a_order_field;
568  }
+ Here is the caller graph for this function:

◆ setOrderLink()

ilTable2GUI::setOrderLink (   $sort_field,
  $order_dir 
)

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

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

Referenced by fillHeader().

1358  {
1359  global $DIC;
1360 
1361  $ilUser = $DIC->user();
1362 
1363  $ilCtrl = $this->ctrl;
1364 
1365  $hash = "";
1366  if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization")) {
1367  $hash = "#" . $this->getTopAnchor();
1368  }
1369 
1370  $old = $_GET[$this->getNavParameter()];
1371 
1372  // set order link
1373  $ilCtrl->setParameter(
1374  $this->parent_obj,
1375  $this->getNavParameter(),
1376  urlencode($sort_field) . ":" . $order_dir . ":" . $this->offset
1377  );
1378  $this->tpl->setVariable(
1379  "TBL_ORDER_LINK",
1380  $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd) . $hash
1381  );
1382 
1383  // set old value of nav variable
1384  $ilCtrl->setParameter(
1385  $this->parent_obj,
1386  $this->getNavParameter(),
1387  $old
1388  );
1389  }
getTopAnchor()
Get top anchor.
$_GET["client_id"]
global $DIC
Definition: goto.php:24
$ilUser
Definition: imgupload.php:18
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPrefix()

ilTable2GUI::setPrefix (   $a_prefix)
final

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

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

623  {
624  $this->prefix = $a_prefix;
625  }
+ 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 3372 of file class.ilTable2GUI.php.

3373  {
3374  $this->prevent_double_submission = $a_val;
3375  }

◆ setPrintMode()

ilTable2GUI::setPrintMode (   $a_value = false)

Toogle print mode.

Parameters
bool$a_value

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

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

3117  {
3118  $this->print_mode = (bool) $a_value;
3119  }
+ 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 1084 of file class.ilTable2GUI.php.

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

1085  {
1086  $this->reset_cmd = $a_val;
1087  $this->reset_cmd_txt = $a_caption;
1088  }
+ Here is the caller graph for this function:

◆ setRowSelectorLabel()

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

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

References $row_selector_label.

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

3354  {
3355  $this->row_selector_label = $row_selector_label;
3356  return $this;
3357  }
+ 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 1126 of file class.ilTable2GUI.php.

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

1127  {
1128  $this->row_template = $a_template;
1129  $this->row_template_dir = $a_template_dir;
1130  }
+ 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 1030 of file class.ilTable2GUI.php.

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

1031  {
1032  $this->select_all_checkbox = $a_select_all_checkbox;
1033  $this->select_all_on_top = $a_select_all_on_top;
1034  }
+ 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 2946 of file class.ilTable2GUI.php.

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

2947  {
2948  $this->show_rows_selector = (bool) $a_value;
2949  }
+ 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.

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

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

536  {
537  parent::setTitle($a_title, $a_icon, $a_icon_alt);
538  }
+ Here is the caller graph for this function:

◆ setTopAnchor()

ilTable2GUI::setTopAnchor (   $a_val)

Set top anchor.

Parameters
stringtop anchor

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

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

◆ setTopCommands()

◆ storeNavParameter()

ilTable2GUI::storeNavParameter ( )

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

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

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

1601  {
1602  if ($this->getOrderField() != "") {
1603  $this->storeProperty("order", $this->getOrderField());
1604  }
1605  if ($this->getOrderDirection() != "") {
1606  $this->storeProperty("direction", $this->getOrderDirection());
1607  }
1608  //echo "-".$this->getOffset()."-";
1609  if ($this->getOffset() !== "") {
1610  $this->storeProperty("offset", $this->getOffset());
1611  }
1612  }
storeProperty($type, $value)
Store table property.
getOrderDirection()
Get order direction.
getOffset()
Get offset.
+ 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 2801 of file class.ilTable2GUI.php.

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

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

2802  {
2803  global $DIC;
2804 
2805  $ilUser = null;
2806  if (isset($DIC["ilUser"])) {
2807  $ilUser = $DIC["ilUser"];
2808  }
2809 
2810  if (is_object($ilUser) && $this->getId() != "") {
2811  include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
2812  $tab_prop = new ilTablePropertiesStorage();
2813 
2814  $tab_prop->storeProperty($this->getId(), $ilUser->getId(), $type, $value);
2815  }
2816  }
$type
Saves (mostly asynchronously) user properties of tables (e.g.
global $DIC
Definition: goto.php:24
$ilUser
Definition: imgupload.php:18
getId()
Get element id.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ writeFilterToSession()

ilTable2GUI::writeFilterToSession ( )

Write filter values to session.

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

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

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

2050  {
2051  $advmd_record_gui = null;
2052  if (method_exists($this, "getAdvMDRecordGUI")) {
2053  $advmd_record_gui = $this->getAdvMDRecordGUI();
2054  }
2055 
2056  foreach ($this->getFilterItems() as $item) {
2057  if ($advmd_record_gui &&
2058  $this->isAdvMDFilter($advmd_record_gui, $item)) {
2059  continue;
2060  }
2061 
2062  if ($item->checkInput()) {
2063  $item->setValueByArray($_POST);
2064  $item->writeToSession();
2065  }
2066  }
2067  foreach ($this->getFilterItems(true) as $item) {
2068  if ($advmd_record_gui &&
2069  $this->isAdvMDFilter($advmd_record_gui, $item)) {
2070  continue;
2071  }
2072 
2073  if ($item->checkInput()) {
2074  $item->setValueByArray($_POST);
2075  $item->writeToSession();
2076  }
2077  }
2078 
2079  if ($advmd_record_gui) {
2080  $advmd_record_gui->importFilter();
2081  }
2082 
2083  // #13209
2084  unset($_REQUEST["tbltplcrt"]);
2085  unset($_REQUEST["tbltpldel"]);
2086  }
isAdvMDFilter(ilAdvancedMDRecordGUI $a_gui, $a_element)
Check if filter element is based on adv md.
getFilterItems($a_optionals=false)
Get filter items.
$_POST["username"]
+ 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

◆ $ctrl

ilTable2GUI::$ctrl
protected

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

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

◆ EXPORT_CSV

const ilTable2GUI::EXPORT_CSV = 2

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

◆ EXPORT_EXCEL

const ilTable2GUI::EXPORT_EXCEL = 1

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

Referenced by ilObjLanguageExtGUI\statisticsObject().

◆ FILTER_CHECKBOX

const ilTable2GUI::FILTER_CHECKBOX = 9

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

Referenced by ilSessionParticipantsTableGUI\initFilter().

◆ FILTER_DATE

const ilTable2GUI::FILTER_DATE = 3

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

◆ FILTER_DATE_RANGE

◆ FILTER_DATETIME_RANGE

const ilTable2GUI::FILTER_DATETIME_RANGE = 8

◆ FILTER_DURATION_RANGE

const ilTable2GUI::FILTER_DURATION_RANGE = 7

◆ FILTER_LANGUAGE

const ilTable2GUI::FILTER_LANGUAGE = 4

◆ FILTER_NUMBER_RANGE

◆ FILTER_SELECT

◆ FILTER_TEXT


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