ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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, 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  }
global $DIC
Definition: saml.php:7
$_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.
special template class to simplify handling of ITX/PEAR
setContext($id)
Set context.
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 1328 of file class.ilTable2GUI.php.

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

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

◆ addCommandButton()

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

Add Command button.

Parameters
stringCommand
stringText

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

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilMMTopItemTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilStyleTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilModulesTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\addCommands(), ilObjStudyProgrammeIndividualPlanGUI\appendIndividualPlanActions(), ilOrgUnitDefaultPermissionTableGUI\end(), ilExAssignmentFileSystemTableGUI\getEntries(), ilSCTreeDuplicatesTableGUI\init(), ilObjectCopyCourseGroupSelectionTableGUI\init(), ilUserClipboardTableGUI\init(), ilLogComponentTableGUI\init(), ilTimingsManageTableGUI\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(), ilObjectTranslation2TableGUI\prepareOutput(), ilMultilingualismTableGUI\prepareOutput(), and ilMediaPoolTableGUI\prepareOutput().

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

◆ addCommandButtonInstance()

ilTable2GUI::addCommandButtonInstance ( ilButtonBase  $a_button)

Add Command button instance.

Parameters
ilButtonBase$a_button

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

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

1219  {
1220  $this->buttons[] = $a_button;
1221  }
+ Here is the caller graph for this function:

◆ addFilterItem()

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

Add filter item.

Filter items are property form inputs that implement the ilTableFilterItem interface

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

References $restore_filter_values.

Referenced by ilMMSubItemTableGUI\addAndReadFilterItem(), ilBiblEntryTableGUI\addAndReadFilterItem(), ilBiblFieldFilterTableGUI\addAndReadFilterItem(), ilBiblAdminFieldTableGUI\addAndReadFilterItem(), arIndexTableGUI\addFilterField(), addFilterItemByMetaType(), ilUserTableGUI\addFilterItemByUdfType(), ilLPTableBaseGUI\initBaseFilter(), ilRoleAssignmentTableGUI\initFilter(), ilWorkflowEngineDefinitionsTableGUI\initFilter(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilLPObjectStatisticsDailyTableGUI\initFilter(), ilLPObjectStatisticsTableGUI\initFilter(), ilTestManScoringParticipantsTableGUI\initFilter(), ilLPObjectStatisticsTypesTableGUI\initFilter(), ilPDNewsTableGUI\initFilter(), ilLanguageExtTableGUI\initFilter(), ilMStListCoursesTableGUI\initFilter(), ilMStListUsersTableGUI\initFilter(), ilTestDynamicQuestionSetStatisticTableGUI\initFilter(), ilMStShowUserCoursesTableGUI\initFilter(), ilBuddySystemRelationsTableGUI\initFilter(), ilSurveyQuestionblockbrowserTableGUI\initFilter(), ilTestPassDetailsOverviewTableGUI\initFilter(), ilAccountCodesTableGUI\initFilter(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilSurveyQuestionsTableGUI\initFilter(), ilSurveyQuestionbrowserTableGUI\initFilter(), ilPresentationListTableGUI\initFilter(), ilRoleTableGUI\initFilter(), ilRegistrationCodesTableGUI\initFilter(), ilTermListTableGUI\initFilter(), ilTestParticipantsTableGUI\initFilter(), ilEvaluationAllTableGUI\initFilter(), ilTermsOfServiceAcceptanceHistoryTableGUI\initFilter(), ilTrUserObjectsPropsTableGUI\initFilter(), ilMediaPoolTableGUI\initFilter(), ilSessionMaterialsTableGUI\initFilter(), ilQuestionBrowserTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), ilTestQuestionBrowserTableGUI\initFilter(), ilUserTableGUI\initFilter(), and ilMailFolderTableGUI\initFilter().

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

◆ addFilterItemByMetaType()

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

Add filter by standard type.

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

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

References $DIC, $id, ilTableGUI\$lng, PHPMailer\PHPMailer\$options, $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(), ilSCORMTrackingUsersTableGUI\initFilter(), ilBadgeTableGUI\initFilter(), ilObjectBadgeTableGUI\initFilter(), ilMDCopyrightUsageTableGUI\initFilter(), ilBookingParticipantsTableGUI\initFilter(), ilBadgeUserTableGUI\initFilter(), ilBookingObjectsTableGUI\initFilter(), ilTrMatrixTableGUI\initFilter(), ilWorkspaceShareTableGUI\initFilter(), ilExerciseSubmissionTableGUI\initFilter(), ilCourseParticipantsGroupsTableGUI\initFilter(), ilObjectRolePermissionTableGUI\initFilter(), ilSessionParticipantsTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), ilTrObjectUsersPropsTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), and ilBadgePersonalTableGUI\initFilters().

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

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

◆ addHiddenInput()

ilTable2GUI::addHiddenInput (   $a_name,
  $a_value 
)

Add Hidden Input field.

Parameters
stringName
stringValue

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

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

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

◆ addMultiCommand()

ilTable2GUI::addMultiCommand (   $a_cmd,
  $a_text 
)

Add Command button.

Parameters
stringCommand
stringText

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

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

1274  {
1275  $this->multi[] = array("cmd" => $a_cmd, "text" => $a_text);
1276  }
+ Here is the caller graph for this function:

◆ addMultiItemSelectionButton()

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

Add Selection List + Command button for selected items.

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

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

References addHiddenInput().

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

1249  {
1250  $this->mi_sel_buttons[] = array("sel_var" => $a_sel_var, "options" => $a_options, "selected" => $a_default_selection, "cmd" => $a_cmd, "text" => $a_text);
1251  $this->addHiddenInput("cmd_sv[" . $a_cmd . "]", $a_sel_var);
1252  }
addHiddenInput($a_name, $a_value)
Add Hidden Input field.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addSelectionButton()

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

Add Selection List + Command button.

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

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

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

◆ clearCommandButtons()

ilTable2GUI::clearCommandButtons ( )

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

Referenced by ilObjectCustomUserFieldsTableGUI\parse().

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

◆ dataExists()

ilTable2GUI::dataExists ( )
final

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

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

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

◆ deleteTemplate()

ilTable2GUI::deleteTemplate (   $a_name)

Delete template.

Parameters
string$a_name
Returns
bool

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

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

Referenced by fillFooter().

3047  {
3048  global $DIC;
3049 
3050  $ilUser = $DIC->user();
3051 
3052  $a_name = ilUtil::prepareFormOutput($a_name, true);
3053 
3054  if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
3055  include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
3056  $storage = new ilTableTemplatesStorage();
3057  $storage->delete($this->getContext(), $ilUser->getId(), $a_name);
3058  return true;
3059  }
3060  return false;
3061  }
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
getContext()
Get context.
global $DIC
Definition: saml.php:7
Saves (mostly asynchronously) user properties of tables (e.g.
$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(), ilMStListUsersTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStShowUserCoursesTableGUI\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  }
global $DIC
Definition: saml.php:7
$_GET["client_id"]
storeProperty($type, $value)
Store table property.
resetOffset($a_in_determination=false)
Reset offset.
$ilUser
Definition: imgupload.php:18
$rows
Definition: xhr_table.php:10
loadProperty($type)
Load table property.
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 1535 of file class.ilTable2GUI.php.

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

Referenced by ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilLPTableBaseGUI\executeCommand(), exportData(), ilMailFolderTableGUI\fetchTableData(), getCurrentState(), getHTML(), ilTestManScoringParticipantsTableGUI\getInternalyOrderedDataValues(), ilUserLPTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilUserTableGUI\getItems(), ilForumTopicTableGUI\numericOrdering(), ilSCORMTrackingUsersTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilMStListUsersTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilBiblFieldFilterTableGUI\parseData(), ilBiblAdminFieldTableGUI\parseData(), ilTermsOfServiceTableGUI\populate(), ilFileSystemTableGUI\prepareOutput(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), resetOffset(), and arIndexTableGUI\setOrderAndSegmentation().

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

◆ 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 
310  if ($old_sel != serialize($this->selected_column) && $set) {
311  $this->storeProperty("selfields", serialize($this->selected_column));
312  }
313 
314  $this->columns_determined = true;
315  }
getSelectableColumns()
Get selectable columns.
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 875 of file class.ilTable2GUI.php.

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

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

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

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

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

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

Referenced by getHTML().

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

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

Referenced by getHTML().

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

References $c, $ctrl, $DIC, $end, $format, $ilCtrl, $ilUser, ilTableGUI\$limit, ilTableGUI\$lng, ilTableGUI\$max_count, $name, PHPMailer\PHPMailer\$options, $start, $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().

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

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

Referenced by render().

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

References ilTableGUI\$title.

Referenced by exportData().

3286  {
3287  foreach ($this->column as $column) {
3288  $title = strip_tags($column["text"]);
3289  if ($title) {
3290  $a_csv->addColumn($title);
3291  }
3292  }
3293  $a_csv->addRow();
3294  }
+ 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 3238 of file class.ilTable2GUI.php.

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

Referenced by exportData().

3239  {
3240  $col = 0;
3241  foreach ($this->column as $column) {
3242  $title = strip_tags($column["text"]);
3243  if ($title) {
3244  $a_excel->setCell($a_row, $col++, $title);
3245  }
3246  }
3247  $a_excel->setBold("A" . $a_row . ":" . $a_excel->getColumnCoord($col - 1) . $a_row);
3248  }
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 2530 of file class.ilTable2GUI.php.

Referenced by getHTML().

2531  {
2532  $hidden_row = false;
2533  if (count($this->hidden_inputs)) {
2534  foreach ($this->hidden_inputs as $hidden_input) {
2535  $this->tpl->setCurrentBlock("tbl_hidden_field");
2536  $this->tpl->setVariable("FIELD_NAME", $hidden_input["name"]);
2537  $this->tpl->setVariable("FIELD_VALUE", $hidden_input["value"]);
2538  $this->tpl->parseCurrentBlock();
2539  }
2540 
2541  $this->tpl->setCurrentBlock("tbl_hidden_row");
2542  $this->tpl->parseCurrentBlock();
2543  }
2544  }
+ 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 3275 of file class.ilTable2GUI.php.

Referenced by exportData().

3276  {
3277  }
+ 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 3227 of file class.ilTable2GUI.php.

Referenced by exportData().

3228  {
3229  }
+ 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 2117 of file class.ilTable2GUI.php.

References $key.

Referenced by ilMemcacheServerTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilOrgUnitPositionTableGUI\__construct(), ilBiblFieldFilterTableGUI\addAndReadFilterItem(), ilDclRecordListTableGUI\buildData(), getHTML(), ilOrgUnitPermissionTableGUI\getObjType(), ilQuestionUsagesTableGUI\initColumns(), ilMMSubItemTableGUI\initColumns(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilRepositoryUserResultTableGUI\initMultiCommands(), and ilMMItemTranslationTableGUI\parseData().

2118  {
2119  foreach ($a_set as $key => $value) {
2120  $this->tpl->setVariable("VAL_" . strtoupper($key), $value);
2121  }
2122  }
$key
Definition: croninfo.php:18
+ 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 3303 of file class.ilTable2GUI.php.

References $key.

Referenced by exportData().

3304  {
3305  foreach ($a_set as $key => $value) {
3306  if (is_array($value)) {
3307  $value = implode(', ', $value);
3308  }
3309  $a_csv->addColumn(strip_tags($value));
3310  }
3311  $a_csv->addRow();
3312  }
$key
Definition: croninfo.php:18
+ 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 3258 of file class.ilTable2GUI.php.

References ilExcel\setCell().

Referenced by exportData().

3259  {
3260  $col = 0;
3261  foreach ($a_set as $value) {
3262  if (is_array($value)) {
3263  $value = implode(', ', $value);
3264  }
3265  $a_excel->setCell($a_row, $col++, $value);
3266  }
3267  }
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 3329 of file class.ilTable2GUI.php.

References $DIC, and ilTableGUI\$limit.

3330  {
3331  global $DIC;
3332 
3333  $ilClientIniFile = $DIC["ilClientIniFile"];
3334 
3335  $limit = $ilClientIniFile->readVariable("system", "TABLE_ACTION_ALL_LIMIT");
3336  if (!$limit) {
3337  $limit = self::ACTION_ALL_LIMIT;
3338  }
3339 
3340  return $limit;
3341  }
global $DIC
Definition: saml.php:7

◆ 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 2929 of file class.ilTable2GUI.php.

References $context.

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

2930  {
2931  return $this->context;
2932  }
+ 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 2840 of file class.ilTable2GUI.php.

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

Referenced by saveTemplate().

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

References $default_filter_visibility.

Referenced by isFilterVisible().

1187  {
1189  }
+ Here is the caller graph for this function:

◆ getDefaultOrderDirection()

ilTable2GUI::getDefaultOrderDirection ( )

Get Default order direction.

Returns
string Default order direction

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

Referenced by determineOffsetAndOrder().

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

◆ getDefaultOrderField()

ilTable2GUI::getDefaultOrderField ( )

Get Default order field.

Returns
string Default order field

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

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

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

◆ getDescription()

ilTable2GUI::getDescription ( )

Get description.

Returns
string description

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

References $description.

Referenced by render().

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

◆ getDisableFilterHiding()

ilTable2GUI::getDisableFilterHiding ( )

Get disable filter hiding.

Returns
boolean

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

References $disable_filter_hiding.

Referenced by fillFooter(), and renderFilter().

837  {
839  }
+ Here is the caller graph for this function:

◆ getDisplayAsBlock()

ilTable2GUI::getDisplayAsBlock ( )

Get display as block.

Returns
boolean display as block

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

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

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

◆ getEnableHeader()

ilTable2GUI::getEnableHeader ( )

Get Enable Header.

Returns
boolean Enable Header

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

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

◆ getEnableNumInfo()

ilTable2GUI::getEnableNumInfo ( )

Get enable num info.

Returns
boolean enable number of records info

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

Referenced by fillFooter().

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

◆ getEnableTitle()

ilTable2GUI::getEnableTitle ( )

Get Enable Title.

Returns
boolean Enable Title

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

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

◆ getExportMode()

ilTable2GUI::getExportMode ( )

Was export activated?

Returns
int

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

References $export_mode.

Referenced by ilMStListUsersTableGUI\addColumns(), ilMStListCoursesTableGUI\addColumns(), getHTML(), getLimit(), and getOffset().

3129  {
3130  return $this->export_mode;
3131  }
+ Here is the caller graph for this function:

◆ getExternalSegmentation()

ilTable2GUI::getExternalSegmentation ( )

Get external segmentation.

Returns
boolean data is segmented externally

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

References $ext_seg.

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

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

◆ getExternalSorting()

ilTable2GUI::getExternalSorting ( )

Get external sorting.

Returns
boolean data is sorted externally

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

References $ext_sort.

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

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

◆ getFilterCols()

ilTable2GUI::getFilterCols ( )

Get filter columns.

Returns
int number of filter columns

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

References $filter_cols.

Referenced by renderFilter().

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

◆ getFilterCommand()

ilTable2GUI::getFilterCommand ( )

Get filter command.

Returns
string filter command

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

References $filter_cmd.

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

◆ getFilterItemByPostVar()

ilTable2GUI::getFilterItemByPostVar (   $a_post_var)
final

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

References getFilterItems().

Referenced by ilLanguageExtTableGUI\__construct(), ilLPTableBaseGUI\executeCommand(), executeCommand(), ilLPTableBaseGUI\getCurrentFilter(), ilObjectRolePermissionTableGUI\initColumns(), ilWorkflowEngineDefinitionsTableGUI\isFiltered(), and ilRoleTableGUI\parse().

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

References IL_CAL_DATE.

Referenced by getCurrentState().

2884  {
2885  if (method_exists($a_item, "getChecked")) {
2886  return $a_item->getChecked();
2887  } elseif (method_exists($a_item, "getValue")) {
2888  return $a_item->getValue();
2889  } elseif (method_exists($a_item, "getDate")) {
2890  return $a_item->getDate()->get(IL_CAL_DATE);
2891  }
2892  }
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 967 of file class.ilTable2GUI.php.

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

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

◆ getHTML()

ilTable2GUI::getHTML ( )

Get HTML.

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

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

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

1614  {
1615  global $DIC;
1616 
1617  $ilUser = null;
1618  if (isset($DIC["ilUser"])) {
1619  $ilUser = $DIC["ilUser"];
1620  }
1621 
1622  $lng = $this->lng;
1623  $ilCtrl = $this->ctrl;
1624 
1625 
1626  if ($this->getExportMode()) {
1627  $this->exportData($this->getExportMode(), true);
1628  }
1629 
1630  $this->prepareOutput();
1631 
1632  if (is_object($ilCtrl) && $this->getId() == "") {
1633  $ilCtrl->saveParameter($this->getParentObject(), $this->getNavParameter());
1634  }
1635 
1636  if (!$this->getPrintMode()) {
1637  // set form action
1638  if ($this->form_action != "" && $this->getOpenFormTag()) {
1639  $hash = "";
1640  if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization")) {
1641  $hash = "#" . $this->getTopAnchor();
1642  }
1643 
1644  if ((bool) $this->form_multipart) {
1645  $this->tpl->touchBlock("form_multipart_bl");
1646  }
1647 
1648  if ($this->getPreventDoubleSubmission()) {
1649  $this->tpl->touchBlock("pdfs");
1650  }
1651 
1652  $this->tpl->setCurrentBlock("tbl_form_header");
1653  $this->tpl->setVariable("FORMACTION", $this->getFormAction() . $hash);
1654  $this->tpl->setVariable("FORMNAME", $this->getFormName());
1655  $this->tpl->parseCurrentBlock();
1656  }
1657 
1658  if ($this->form_action != "" && $this->getCloseFormTag()) {
1659  $this->tpl->touchBlock("tbl_form_footer");
1660  }
1661  }
1662 
1663  if (!$this->enabled['content']) {
1664  return $this->render();
1665  }
1666 
1667  if (!$this->getExternalSegmentation()) {
1668  $this->setMaxCount(count($this->row_data));
1669  }
1670 
1671  $this->determineOffsetAndOrder();
1672 
1673  $this->setFooter("tblfooter", $this->lng->txt("previous"), $this->lng->txt("next"));
1674 
1675  $data = $this->getData();
1676  if ($this->dataExists()) {
1677  // sort
1678  if (!$this->getExternalSorting() && $this->enabled["sort"]) {
1679  $data = ilUtil::sortArray(
1680  $data,
1681  $this->getOrderField(),
1682  $this->getOrderDirection(),
1683  $this->numericOrdering($this->getOrderField())
1684  );
1685  }
1686 
1687  // slice
1688  if (!$this->getExternalSegmentation()) {
1689  $data = array_slice($data, $this->getOffset(), $this->getLimit());
1690  }
1691  }
1692 
1693  // fill rows
1694  if ($this->dataExists()) {
1695  if ($this->getPrintMode()) {
1697  }
1698 
1699  $this->tpl->addBlockFile(
1700  "TBL_CONTENT",
1701  "tbl_content",
1702  $this->row_template,
1703  $this->row_template_dir
1704  );
1705 
1706  foreach ($data as $set) {
1707  $this->tpl->setCurrentBlock("tbl_content");
1708  $this->css_row = ($this->css_row != "tblrow1")
1709  ? "tblrow1"
1710  : "tblrow2";
1711  $this->tpl->setVariable("CSS_ROW", $this->css_row);
1712 
1713  $this->fillRow($set);
1714  $this->tpl->setCurrentBlock("tbl_content");
1715  $this->tpl->parseCurrentBlock();
1716  }
1717  } else {
1718  // add standard no items text (please tell me, if it messes something up, alex, 29.8.2008)
1719  $no_items_text = (trim($this->getNoEntriesText()) != '')
1720  ? $this->getNoEntriesText()
1721  : $lng->txt("no_items");
1722 
1723  $this->css_row = ($this->css_row != "tblrow1")
1724  ? "tblrow1"
1725  : "tblrow2";
1726 
1727  $this->tpl->setCurrentBlock("tbl_no_entries");
1728  $this->tpl->setVariable('TBL_NO_ENTRY_CSS_ROW', $this->css_row);
1729  $this->tpl->setVariable('TBL_NO_ENTRY_COLUMN_COUNT', $this->column_count);
1730  $this->tpl->setVariable('TBL_NO_ENTRY_TEXT', trim($no_items_text));
1731  $this->tpl->parseCurrentBlock();
1732  }
1733 
1734 
1735  if (!$this->getPrintMode()) {
1736  $this->fillFooter();
1737 
1738  $this->fillHiddenRow();
1739 
1740  $this->fillActionRow();
1741 
1742  $this->storeNavParameter();
1743  }
1744 
1745  return $this->render();
1746  }
static 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.
global $DIC
Definition: saml.php:7
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.
global $ilCtrl
Definition: ilias.php:18
fillActionRow()
Fill Action Row.
getOffset()
Get offset.
numericOrdering($a_field)
Should this field be sorted numeric?
getExternalSegmentation()
Get external segmentation.
$ilUser
Definition: imgupload.php:18
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.
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 990 of file class.ilTable2GUI.php.

References $id.

Referenced by ilLearningSequenceParticipantsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__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().

991  {
992  return $this->id;
993  }
if(!array_key_exists('StateId', $_REQUEST)) $id
+ Here is the caller graph for this function:

◆ getIsDataTable()

ilTable2GUI::getIsDataTable ( )

Get is data table.

Returns
boolean is data table

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

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

◆ getLimit()

ilTable2GUI::getLimit ( )

Get limit.

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

References getExportMode(), and getPrintMode().

Referenced by ilStudyProgrammeMembersTableGUI\__construct(), ilMailFolderTableGUI\fetchTableData(), getCurrentState(), getHTML(), ilUserLPTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilUserTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), getLinkbar(), ilUserTableGUI\getUserIdsForFilter(), ilForumTopicTableGUI\numericOrdering(), ilMStListUsersTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilBiblFieldFilterTableGUI\parseData(), ilTermsOfServiceTableGUI\populate(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilCalendarChangedAppointmentsTableGUI\setAppointments(), and arIndexTableGUI\setOrderAndSegmentation().

3067  {
3068  if ($this->getExportMode() || $this->getPrintMode()) {
3069  return 9999;
3070  }
3071  return parent::getLimit();
3072  }
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 2409 of file class.ilTable2GUI.php.

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

Referenced by fillFooter().

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

◆ getNavParameter()

ilTable2GUI::getNavParameter ( )
final

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

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

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

◆ getNoEntriesText()

ilTable2GUI::getNoEntriesText ( )

Get text for an empty table.

Returns
string Text

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

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

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

◆ getOffset()

ilTable2GUI::getOffset ( )

◆ 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()

◆ getParentCmd()

◆ getParentObject()

ilTable2GUI::getParentObject ( )

Get parent object.

Returns
object parent GUI object

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

References $parent_obj.

Referenced by ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilQuestionPoolExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilTestExportTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilMailFolderTableGUI\__construct(), ilMailFolderTableGUI\addPrintRowAction(), ilMailFolderTableGUI\addViewRowAction(), ilAnswerFrequencyStatisticTableGUI\buildAddAnswerModalGui(), ilTestQuestionsTableGUI\buildQuestionRemoveButton(), ilTestQuestionsTableGUI\buildQuestionTitleLink(), ilMailFolderTableGUI\fetchTableData(), ilConditionHandlerTableGUI\fillRow(), ilForumDraftsTableGUI\fillRow(), ilLDAPServerTableGUI\fillRow(), ilECSServerTableGUI\fillRow(), ilLDAPRoleMappingTableGUI\fillRow(), ilSCGroupTableGUI\fillRow(), ilConsultationHourGroupTableGUI\fillRow(), ilObjectCustomUserFieldsTableGUI\fillRow(), ilSCORMTrackingItemsPerScoTableGUI\fillRow(), ilAuthLoginPageEditorTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilMemberExportFileTableGUI\fillRow(), ilDclExportTableGUI\fillRow(), SurveyMaterialsSourceTableGUI\fillRow(), ilConsultationHourBookingTableGUI\fillRow(), ilSCORMOfflineModeUsersTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilPCFileListTableGUI\fillRow(), ilECSCategoryMappingTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\fillRow(), ilShibbolethRoleAssignmentTableGUI\fillRow(), ilECSNodeMappingTreeTableGUI\fillRow(), ilObjectCopyProgressTableGUI\fillRow(), ilSamlIdpTableGUI\fillRow(), ilSCORMTrackingItemsPerUserTableGUI\fillRow(), ilLDAPRoleAssignmentTableGUI\fillRow(), ilBadgeImageTemplateTableGUI\fillRow(), ilMDCopyrightTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilSCORMTrackingItemsScoTableGUI\fillRow(), ilObjectConsumerTableGUI\fillRow(), ilConsultationHoursTableGUI\fillRow(), ilContSkillTableGUI\fillRow(), ilTestPassOverviewTableGUI\fillRow(), ilECSCommunityTableGUI\fillRow(), ilCalendarCategoryTableGUI\fillRow(), ilSCORM2004ExportTableGUI\fillRow(), ilDidacticTemplateSettingsTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilSurveyAppraiseesTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilBadgeTableGUI\fillRow(), ilWebResourceLinkTableGUI\fillRow(), ilExportTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilAssignedUsersTableGUI\fillRow(), ilUserRoleStartingPointTableGUI\fillRow(), ilObjectBadgeTableGUI\fillRow(), ilBadgePersonalTableGUI\fillRow(), ilWebResourceEditableLinkTableGUI\fillRow(), ilRoleTableGUI\fillRow(), ilForumTopicTableGUI\fillRow(), ilCronManagerTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilMailTemplateTableGUI\formatActionsDropDown(), ilTermsOfServiceDocumentTableGUI\formatActionsDropDown(), ilStudyProgrammeIndividualPlanTableGUI\getDeadlineInput(), ilMailFolderTableGUI\getHTML(), getHTML(), ilPollUserTableGUI\getItems(), ilContainerStartObjectsContentTableGUI\getItems(), ilStudyProgrammeMembersTableGUI\getLinkTargetForAction(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilStudyProgrammeIndividualPlanTableGUI\getRequiredPointsInput(), ilSCTreeDuplicatesTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilTestPassOverviewTableGUI\initColumns(), ilObjectRolePermissionTableGUI\initColumns(), ilParticipantTableGUI\initFilter(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilMStListCoursesTableGUI\initFilter(), ilMStShowUserCoursesTableGUI\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().

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

◆ getPrefix()

ilTable2GUI::getPrefix ( )
final

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

References ilTableGUI\$prefix.

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

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

◆ getPreventDoubleSubmission()

ilTable2GUI::getPreventDoubleSubmission ( )

Get prevent double submission.

Returns
bool prevent double submission

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

References $prevent_double_submission.

Referenced by getHTML().

3376  {
3378  }
+ Here is the caller graph for this function:

◆ getPrintMode()

ilTable2GUI::getPrintMode ( )

Get print mode.

Returns
bool $a_value

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

References $print_mode.

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

3119  {
3120  return $this->print_mode;
3121  }
+ Here is the caller graph for this function:

◆ getResetCommand()

ilTable2GUI::getResetCommand ( )

Get reset filter command.

Returns
string reset command

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

References $reset_cmd.

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

◆ getRowSelectorLabel()

ilTable2GUI::getRowSelectorLabel ( )
Returns
string

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

References $row_selector_label.

Referenced by fillFooter().

3356  {
3358  }
+ 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 1020 of file class.ilTable2GUI.php.

References ilTableGUI\$select_all_checkbox.

Referenced by fillFooter(), and fillHeader().

1021  {
1023  }
+ Here is the caller graph for this function:

◆ getSelectedColumns()

ilTable2GUI::getSelectedColumns ( )

Get selected columns.

Parameters

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

Referenced by ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilTermsOfServiceTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilUserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilTermListTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSubscriberTableGUI\__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(), ilStudyProgrammeMembersTableGUI\fillRow(), ilLearningSequenceParticipantsTableGUI\fillRow(), ilSearchResultTableGUI\fillRow(), ilGroupParticipantsTableGUI\fillRow(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilCourseParticipantsTableGUI\fillRow(), ilSubscriberTableGUI\fillRow(), ilWaitingListTableGUI\fillRow(), ilWorkflowEngineDefinitionsTableGUI\fillRow(), ilSurveyResultsCumulatedTableGUI\fillRow(), ilTermListTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilBookingObjectsTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\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(), ilMStShowUserCoursesTableGUI\getFieldValuesForExport(), ilMStListUsersTableGUI\getFieldValuesForExport(), ilMStListCoursesTableGUI\getFieldValuesForExport(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilExerciseMemberTableGUI\getModeColumns(), ilBookingReservationsTableGUI\getSelectedUserColumns(), ilSessionParticipantsTableGUI\init(), ilQuestionPoolPrintViewTableGUI\initColumns(), ilWorkflowEngineDefinitionsTableGUI\initColumns(), ilLearningSequenceParticipantsTableGUI\initForm(), ilRepositoryUserResultTableGUI\initMultiCommands(), ilQuestionBrowserTableGUI\isCommentsColumnSelected(), ilLearningSequenceParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilExerciseSubmissionTableGUI\parseRow(), ilRepositoryUserResultTableGUI\parseUserIds(), ilMailFolderTableGUI\prepareHTML(), ilSubscriberTableGUI\readSubscriberData(), and ilWaitingListTableGUI\readUserData().

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

◆ getSelectedFilters()

ilTable2GUI::getSelectedFilters ( )

Get selected filters.

Parameters

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

Referenced by getCurrentState().

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

◆ getShowRowsSelector()

ilTable2GUI::getShowRowsSelector ( )

Get rows-per-page selector state.

Returns
bool

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

References $show_rows_selector.

Referenced by fillFooter().

2950  {
2952  }
+ Here is the caller graph for this function:

◆ getShowTemplates()

ilTable2GUI::getShowTemplates ( )

Get template state.

Returns
bool

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

References $show_templates.

Referenced by fillFooter().

2970  {
2971  return $this->show_templates;
2972  }
+ Here is the caller graph for this function:

◆ getTopAnchor()

ilTable2GUI::getTopAnchor ( )

Get top anchor.

Returns
string top anchor

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

References $top_anchor.

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

429  {
430  return $this->top_anchor;
431  }
+ Here is the caller graph for this function:

◆ getTopCommands()

ilTable2GUI::getTopCommands ( )

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

Returns
boolean top commands true/false

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

References $top_commands.

Referenced by fillActionRow().

1317  {
1318  return $this->top_commands;
1319  }
+ 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 389 of file class.ilTable2GUI.php.

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

390  {
391  }
+ Here is the caller graph for this function:

◆ isAdvMDFilter()

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

Check if filter element is based on adv md.

Parameters
ilAdvancedMDRecordGUI$a_gui
type$a_element
Returns
boolean

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

References ilAdvancedMDRecordGUI\getFilterElements().

Referenced by writeFilterToSession().

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

◆ isColumnSelected()

◆ isFilterSelected()

ilTable2GUI::isFilterSelected (   $a_col)

Is given filter selected?

Parameters
stringcolumn name
Returns
boolean

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

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

848  {
849  return $this->selected_filter[$a_col];
850  }
+ Here is the caller graph for this function:

◆ isFilterVisible()

ilTable2GUI::isFilterVisible ( )
protected

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

Returns
bool

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

References getDefaultFilterVisibility(), and loadProperty().

Referenced by renderFilter().

2016  {
2017  $prop = $this->loadProperty('filter');
2018  if ($prop === '0' || $prop === '1') {
2019  return (bool) $prop;
2020  }
2021  return $this->getDefaultFilterVisibility();
2022  }
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 2817 of file class.ilTable2GUI.php.

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

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

2818  {
2819  global $DIC;
2820 
2821  $ilUser = null;
2822  if (isset($DIC["ilUser"])) {
2823  $ilUser = $DIC["ilUser"];
2824  }
2825 
2826  if (is_object($ilUser) && $this->getId() != "") {
2827  include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
2828  $tab_prop = new ilTablePropertiesStorage();
2829 
2830  return $tab_prop->getProperty($this->getId(), $ilUser->getId(), $type);
2831  }
2832  return null;
2833  }
$type
global $DIC
Definition: saml.php:7
Saves (mostly asynchronously) user properties of tables (e.g.
$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 1753 of file class.ilTable2GUI.php.

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

1754  {
1755  return false;
1756  }
+ Here is the caller graph for this function:

◆ prepareOutput()

ilTable2GUI::prepareOutput ( )
protected

Anything that must be done before HTML is generated.

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

Referenced by getHTML().

1528  {
1529  }
+ Here is the caller graph for this function:

◆ render()

ilTable2GUI::render ( )

render table public

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

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

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

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

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

Referenced by render().

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

◆ resetFilter()

ilTable2GUI::resetFilter ( )

Reset filter.

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

References $_POST, ilTableGUI\$lng, and getFilterItems().

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

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

◆ resetOffset()

ilTable2GUI::resetOffset (   $a_in_determination = false)

Reset offset.

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

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

Referenced by arIndexTableGUI\applyFilter(), determineLimit(), determineOffsetAndOrder(), ilLPTableBaseGUI\executeCommand(), ilMailFolderTableGUI\fetchTableData(), ilUserLPTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilExerciseManagementGUI\membersApplyObject(), ilExerciseManagementGUI\membersResetObject(), ilForumTopicTableGUI\numericOrdering(), ilTermsOfServiceTableGUI\populate(), ilWaitingListTableGUI\readUserData(), arIndexTableGUI\resetFilter(), and ilCalendarManageTableGUI\resetToDefaults().

373  {
374  if (!$this->nav_determined && !$a_in_determination) {
375  $this->determineOffsetAndOrder();
376  }
377  $this->nav_value = $this->getOrderField() . ":" . $this->getOrderDirection() . ":0";
378  $_GET[$this->getNavParameter()] =
379  $_POST[$this->getNavParameter() . "1"] =
380  $this->nav_value;
381  //echo $this->nav_value;
382  $this->setOffset(0);
383  }
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 2980 of file class.ilTable2GUI.php.

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

Referenced by __construct().

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

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

Referenced by fillFooter().

3018  {
3019  global $DIC;
3020 
3021  $ilUser = $DIC->user();
3022 
3023  $a_name = ilUtil::prepareFormOutput($a_name, true);
3024 
3025  if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
3026  include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
3027  $storage = new ilTableTemplatesStorage();
3028 
3029  $state = $this->getCurrentState();
3030  $state["filter_values"] = serialize($state["filter_values"]);
3031  $state["selfields"] = serialize($state["selfields"]);
3032  $state["selfilters"] = serialize($state["selfilters"]);
3033 
3034  $storage->store($this->getContext(), $ilUser->getId(), $a_name, $state);
3035  return true;
3036  }
3037  return false;
3038  }
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
getContext()
Get context.
global $DIC
Definition: saml.php:7
Saves (mostly asynchronously) user properties of tables (e.g.
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10
$ilUser
Definition: imgupload.php:18
getCurrentState()
get current settings for order, limit, columns and filter
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCloseCommand()

ilTable2GUI::setCloseCommand (   $a_link)

Add command for closing table.

Parameters
string$a_linkclosing link
Deprecated:

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

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

◆ setCloseFormTag()

ilTable2GUI::setCloseFormTag (   $a_val)

Set close form tag.

Parameters
booleanclose form tag

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

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

References $id.

Referenced by __construct().

2918  {
2919  if (trim($id)) {
2920  $this->context = $id;
2921  }
2922  }
if(!array_key_exists('StateId', $_REQUEST)) $id
+ Here is the caller graph for this function:

◆ setCustomPreviousNext()

ilTable2GUI::setCustomPreviousNext (   $a_prev_link,
  $a_next_link 
)

Set custom previous/next links.

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

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

◆ setData()

ilTable2GUI::setData (   $a_data)
final

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

References getExternalSorting().

Referenced by ilCourseStartObjectsTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilStudyProgrammeAcknowledgeCompletedCoursesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilExportTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilStyleTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilTermListTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\addColumns(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\addColumns(), ilTestQuestionBrowserTableGUI\browseQuestionsCmd(), ilOrgUnitPositionTableGUI\buildData(), ilDclRecordListTableGUI\buildData(), arIndexTableGUI\checkColumnVisibile(), ilOrgUnitPermissionTableGUI\collectData(), ilSurveyEvaluationGUI\evaluationuser(), ilMailFolderTableGUI\fetchTableData(), ilBiblEntryTableGUI\fillRow(), ilHelpMappingTableGUI\getChapters(), ilClientListTableGUI\getClients(), ilBackgroundTaskTableGUI\getClients(), ilComponentsTableGUI\getComponents(), ilPluginsOverviewTableGUI\getComponents(), ilModulesTableGUI\getComponents(), ilWikiContributorsTableGUI\getContributors(), ilHistoryTableGUI\getDataFromDb(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLMDownloadTableGUI\getDownloadFiles(), ilMemberExportFileTableGUI\getFiles(), ilNewItemGroupTableGUI\getGroups(), ilHelpModuleTableGUI\getHelpModules(), ilSurveyParticipantsTableGUI\getItems(), ilRoleDesktopItemsTableGUI\getItems(), ilLPObjectStatisticsAdminTableGUI\getItems(), ilCourseGroupingAssignmentTableGUI\getItems(), ilTermUsagesTableGUI\getItems(), ilExAssignmentTeamLogTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilPCImageMapTableGUI\getItems(), ilMediaPoolPageUsagesTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilExcCriteriaTableGUI\getItems(), ilCourseVerificationTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilObjWorkspaceFolderTableGUI\getItems(), ilSCORMVerificationTableGUI\getItems(), ilTestVerificationTableGUI\getItems(), ilCourseGroupingTableGUI\getItems(), ilRatingCategoryTableGUI\getItems(), ilUserRoleStartingPointTableGUI\getItems(), ilSamlIdpTableGUI\getItems(), ilBadgeTypesTableGUI\getItems(), ilPortfolioTableGUI\getItems(), ilBadgeImageTemplateTableGUI\getItems(), ilContributorTableGUI\getItems(), ilPollAnswerTableGUI\getItems(), ilLanguageTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilObjectConsumerTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilExerciseVerificationTableGUI\getItems(), ilBookingSchedulesTableGUI\getItems(), ilWikiExportOrderTableGUI\getItems(), ilPortfolioPageTableGUI\getItems(), ilMediaObjectUsagesTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilStyleImageTableGUI\getItems(), ilExAssignmentPeerReviewOverviewTableGUI\getItems(), ilClipboardTableGUI\getItems(), ilLDAPRoleMappingTableGUI\getItems(), ilExAssignmentPeerReviewTableGUI\getItems(), ilContainerStartObjectsContentTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilSessionOverviewTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilTableTemplatesTableGUI\getItems(), ilStyleMediaQueryTableGUI\getItems(), ilStyleColorTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilBadgeTableGUI\getItems(), ilImageMapTableGUI\getItems(), ilPCIIMTriggerTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilBadgePersonalTableGUI\getItems(), ilBadgeUserTableGUI\getItems(), ilBookingAssignObjectsTableGUI\getItems(), ilBookingAssignParticipantsTableGUI\getItems(), ilLPObjectStatisticsDailyTableGUI\getItems(), ilSurveyResultsCumulatedTableGUI\getItems(), ilLPObjectStatisticsTableGUI\getItems(), ilLPProgressTableGUI\getItems(), ilLPObjectStatisticsTypesTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilAdminSubItemsTableGUI\getItems(), ilBookingParticipantsTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilLPObjectStatisticsLPTableGUI\getItems(), ilCronManagerTableGUI\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(), ilFileVersionsTableGUI\initData(), ilMarkSchemaTableGUI\initData(), ilSurveyQuestionblockbrowserTableGUI\initData(), ilSurveyQuestionbrowserTableGUI\initData(), ilTaxonomyAdministrationRepositoryTableGUI\initItems(), SurveyConstraintsTableGUI\initItems(), ilObjectOwnershipManagementTableGUI\initItems(), ilForumTopicTableGUI\numericOrdering(), ilTestEvaluationGUI\outEvaluation(), ilObjForumSearchResultTableGUI\parse(), ilObjWikiSearchResultTableGUI\parse(), ilAuthLoginPageEditorTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilLTIProviderReleasedObjectsTableGUI\parse(), ilSCTreeDuplicatesTableGUI\parse(), ilSCORMOfflineModeUsersTableGUI\parse(), ilLPCollectionSettingsTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilDidacticTemplateSettingsTableGUI\parse(), ilMDCopyrightUsageTableGUI\parse(), ilObjectCustomUserFieldsTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilExAssignmentListTextTableGUI\parse(), ilUserClipboardTableGUI\parse(), ilLuceneAdvancedSearchActivationTableGUI\parse(), ilLogComponentTableGUI\parse(), ilECSCategoryMappingTableGUI\parse(), ilRoleSelectionTableGUI\parse(), ilCalendarSharedUserListTableGUI\parse(), ilCalendarSharedRoleListTableGUI\parse(), ilSCGroupTableGUI\parse(), ilShibbolethRoleAssignmentTableGUI\parse(), ilWebResourceLinkTableGUI\parse(), ilConsultationHourGroupTableGUI\parse(), ilConsultationHourBookingTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilLDAPRoleAssignmentTableGUI\parse(), ilObjectCopyProgressTableGUI\parse(), ilECSNodeMappingTreeTableGUI\parse(), ilSCTaskTableGUI\parse(), ilCalendarInboxSharedTableGUI\parse(), ilECSServerTableGUI\parse(), ilLOMemberTestResultTableGUI\parse(), ilWebResourceEditableLinkTableGUI\parse(), ilCourseObjectiveMaterialAssignmentTableGUI\parse(), ilObjectRoleTemplateOptionsTableGUI\parse(), ilECSReleasedContentTableGUI\parse(), ilObjectTableGUI\parse(), ilCalendarCategoryTableGUI\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(), ilObjectRolePermissionTableGUI\parse(), ilCourseObjectivesTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilExportSelectionTableGUI\parseContainer(), ilDclTableViewEditFieldsTableGUI\parseData(), ilMStListUsersTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilBiblTranslationTableGUI\parseData(), ilOrgUnitOtherRolesTableGUI\parseData(), ilOrgUnitStaffTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilOrgUnitUserAssignmentTableGUI\parseData(), ilMMItemTranslationTableGUI\parseData(), ilMemcacheServerTableGUI\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(), ilTermsOfServiceTableGUI\populate(), ilWorkflowEngineDefinitionsTableGUI\populateTable(), ilLinkCheckerTableGUI\prepareHTML(), ilFileSystemTableGUI\prepareOutput(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilCalendarAppointmentsTableGUI\setAppointments(), ilCalendarChangedAppointmentsTableGUI\setAppointments(), ilConditionHandlerTableGUI\setConditions(), ilSessionMaterialsTableGUI\setMaterials(), ilQuestionBrowserTableGUI\setQuestionData(), ilAssQuestionSkillUsagesTableGUI\showCmd(), ilOrgUnitDefaultPermissionTableGUI\start(), and ilWebResourceEditableLinkTableGUI\updateFromPost().

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

Referenced by ilParticipantTableGUI\initFilter().

1178  {
1179  $this->default_filter_visibility = $a_status;
1180  }
+ Here is the caller graph for this function:

◆ setDefaultOrderDirection()

ilTable2GUI::setDefaultOrderDirection (   $a_defaultorderdirection)

Set Default order direction.

Parameters
string$a_defaultorderdirectionDefault order direction

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

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

1159  {
1160  $this->defaultorderdirection = $a_defaultorderdirection;
1161  }
+ Here is the caller graph for this function:

◆ setDefaultOrderField()

ilTable2GUI::setDefaultOrderField (   $a_defaultorderfield)

Set Default order field.

Parameters
string$a_defaultorderfieldDefault order field

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

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

1139  {
1140  $this->defaultorderfield = $a_defaultorderfield;
1141  }
+ Here is the caller graph for this function:

◆ setDescription()

◆ setDisableFilterHiding()

ilTable2GUI::setDisableFilterHiding (   $a_val = true)

◆ setDisplayAsBlock()

ilTable2GUI::setDisplayAsBlock (   $a_val)

Set display as block.

Parameters
booleandisplay as block

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

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

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

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

3320  {
3321  $this->enable_command_for_all = (bool) $a_value;
3322  }
+ Here is the caller graph for this function:

◆ setEnableHeader()

ilTable2GUI::setEnableHeader (   $a_enableheader)

Set Enable Header.

Parameters
boolean$a_enableheaderEnable Header

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

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

499  {
500  $this->enabled["header"] = $a_enableheader;
501  }
+ Here is the caller graph for this function:

◆ setEnableNumInfo()

◆ setEnableTitle()

ilTable2GUI::setEnableTitle (   $a_enabletitle)

Set Enable Title.

Parameters
boolean$a_enabletitleEnable Title

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

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

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

◆ setExportFormats()

ilTable2GUI::setExportFormats ( array  $formats)

Set available export formats.

Parameters
array$formats

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

References $format, and $valid.

Referenced by ilUserLPTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStListUsersTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), and ilBookingReservationsTableGUI\__construct().

3091  {
3092  $this->export_formats = array();
3093 
3094  // #11339
3095  $valid = array(self::EXPORT_EXCEL => "tbl_export_excel",
3096  self::EXPORT_CSV => "tbl_export_csv");
3097 
3098  foreach ($formats as $format) {
3099  if (array_key_exists($format, $valid)) {
3100  $this->export_formats[$format] = $valid[$format];
3101  }
3102  }
3103  }
$format
Definition: metadata.php:141
$valid
$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 1106 of file class.ilTable2GUI.php.

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilUserTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilMailFolderTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\build(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilMStListUsersTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilBuddySystemRelationsTableGUI\populate(), and arIndexTableGUI\setOrderAndSegmentation().

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

◆ setExternalSorting()

ilTable2GUI::setExternalSorting (   $a_val)

Set external sorting.

Parameters
booleandata is sorted externally

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

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilMMItemTranslationTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilRendererTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilMMTopItemTableGUI\__construct(), ilUserTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilBiblAdminFieldTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilMMSubItemTableGUI\__construct(), ilModulesTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilMailFolderTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilSCTreeDuplicatesTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilSCORMTrackingUsersTableGUI\parse(), ilMStListUsersTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilBuddySystemRelationsTableGUI\populate(), and arIndexTableGUI\setOrderAndSegmentation().

1043  {
1044  $this->ext_sort = $a_val;
1045  }
+ Here is the caller graph for this function:

◆ setFilterCols()

ilTable2GUI::setFilterCols (   $a_val)

Set filter columns.

Parameters
intnumber of filter columns

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

Referenced by ilMStListCoursesTableGUI\__construct(), ilMStListUsersTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), and arIndexTableGUI\getSelectableColumns().

807  {
808  $this->filter_cols = $a_val;
809  }
+ Here is the caller graph for this function:

◆ setFilterCommand()

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

Set filter command.

Parameters
stringfilter command
stringfilter caption

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

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

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

References IL_CAL_DATE, and ilFormPropertyGUI\writeToSession().

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

2901  {
2902  if (method_exists($a_item, "setChecked")) {
2903  $a_item->setChecked($a_value);
2904  } elseif (method_exists($a_item, "setValue")) {
2905  $a_item->setValue($a_value);
2906  } elseif (method_exists($a_item, "setDate")) {
2907  $a_item->setDate(new ilDate($a_value, IL_CAL_DATE));
2908  }
2909  $a_item->writeToSession();
2910  }
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 936 of file class.ilTable2GUI.php.

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

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

◆ setFormName()

ilTable2GUI::setFormName (   $a_formname = "")

Set Form name.

Parameters
string$a_formnameForm name

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

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

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

◆ setHeaderHTML()

ilTable2GUI::setHeaderHTML (   $html)

set header html

Parameters
string$html

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

References $html.

2784  {
2785  $this->headerHTML = $html;
2786  }
$html
Definition: example_001.php:87

◆ setId()

ilTable2GUI::setId (   $a_val)

Set id.

Parameters
stringelement id

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

References getPrefix(), and setPrefix().

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

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

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

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

◆ setLimit()

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

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

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

3381  {
3382  parent::setLimit($a_limit, $a_default_limit);
3383 
3384  // #17077 - if limit is set "manually" to 9999, force rows selector off
3385  if ($a_limit == 9999 &&
3386  $this->limit_determined) {
3387  $this->rows_selector_off = true;
3388  }
3389  }
+ 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(), 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 566 of file class.ilTable2GUI.php.

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

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

◆ setOrderLink()

ilTable2GUI::setOrderLink (   $sort_field,
  $order_dir 
)

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

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

Referenced by fillHeader().

1359  {
1360  global $DIC;
1361 
1362  $ilUser = $DIC->user();
1363 
1364  $ilCtrl = $this->ctrl;
1365 
1366  $hash = "";
1367  if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization")) {
1368  $hash = "#" . $this->getTopAnchor();
1369  }
1370 
1371  $old = $_GET[$this->getNavParameter()];
1372 
1373  // set order link
1374  $ilCtrl->setParameter(
1375  $this->parent_obj,
1376  $this->getNavParameter(),
1377  $sort_field . ":" . $order_dir . ":" . $this->offset
1378  );
1379  $this->tpl->setVariable(
1380  "TBL_ORDER_LINK",
1381  $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd) . $hash
1382  );
1383 
1384  // set old value of nav variable
1385  $ilCtrl->setParameter(
1386  $this->parent_obj,
1387  $this->getNavParameter(),
1388  $old
1389  );
1390  }
getTopAnchor()
Get top anchor.
global $DIC
Definition: saml.php:7
$_GET["client_id"]
global $ilCtrl
Definition: ilias.php:18
$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 623 of file class.ilTable2GUI.php.

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

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

3366  {
3367  $this->prevent_double_submission = $a_val;
3368  }

◆ setPrintMode()

ilTable2GUI::setPrintMode (   $a_value = false)

Toogle print mode.

Parameters
bool$a_value

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

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

3110  {
3111  $this->print_mode = (bool) $a_value;
3112  }
+ Here is the caller graph for this function:

◆ setResetCommand()

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

◆ setRowSelectorLabel()

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

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

References $row_selector_label.

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

3347  {
3348  $this->row_selector_label = $row_selector_label;
3349  return $this;
3350  }
+ Here is the caller graph for this function:

◆ setRowTemplate()

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

Set row template.

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

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

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

1128  {
1129  $this->row_template = $a_template;
1130  $this->row_template_dir = $a_template_dir;
1131  }
+ Here is the caller graph for this function:

◆ setSelectAllCheckbox()

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

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

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

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

Referenced by ilQuestionPoolImportVerificationTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilForumModeratorsTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilNotificationSettingsTable\__construct(), ilRoleDesktopItemsTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilMailAttachmentTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilParticipantsTestResultsTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilContributorTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilMailingListsTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilDclFieldListTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilUserTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilMailTemplateTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilTrashTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilFileVersionsTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyInvitedUsersTableGUI\__construct(), ilTermsOfServiceDocumentTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilMailFolderTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilExAssignmentFileSystemTableGUI\addColumns(), ilFileSystemTableGUI\addColumns(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilDidacticTemplateSettingsTableGUI\init(), ilUserClipboardTableGUI\init(), ilRoleTableGUI\init(), ilTestQuestionsTableGUI\init(), ilSessionParticipantsTableGUI\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().

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

Referenced by ilDclTableViewEditFieldsTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilSamlIdpSelectionTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStListUsersTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilUserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilTermListTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilBiblEntryTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilObjQuestionPoolGUI\deleteQuestionsObject(), ilLogComponentTableGUI\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().

2940  {
2941  $this->show_rows_selector = (bool) $a_value;
2942  }
+ 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 536 of file class.ilTable2GUI.php.

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

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

◆ setTopAnchor()

ilTable2GUI::setTopAnchor (   $a_val)

Set top anchor.

Parameters
stringtop anchor

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

Referenced by ilBookmarkAdministrationTableGUI\__construct().

419  {
420  $this->top_anchor = $a_val;
421  }
+ Here is the caller graph for this function:

◆ setTopCommands()

◆ storeNavParameter()

ilTable2GUI::storeNavParameter ( )

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

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

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

1596  {
1597  if ($this->getOrderField() != "") {
1598  $this->storeProperty("order", $this->getOrderField());
1599  }
1600  if ($this->getOrderDirection() != "") {
1601  $this->storeProperty("direction", $this->getOrderDirection());
1602  }
1603  //echo "-".$this->getOffset()."-";
1604  if ($this->getOffset() !== "") {
1605  $this->storeProperty("offset", $this->getOffset());
1606  }
1607  }
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 2794 of file class.ilTable2GUI.php.

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

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

2795  {
2796  global $DIC;
2797 
2798  $ilUser = null;
2799  if (isset($DIC["ilUser"])) {
2800  $ilUser = $DIC["ilUser"];
2801  }
2802 
2803  if (is_object($ilUser) && $this->getId() != "") {
2804  include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
2805  $tab_prop = new ilTablePropertiesStorage();
2806 
2807  $tab_prop->storeProperty($this->getId(), $ilUser->getId(), $type, $value);
2808  }
2809  }
$type
global $DIC
Definition: saml.php:7
Saves (mostly asynchronously) user properties of tables (e.g.
$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 2044 of file class.ilTable2GUI.php.

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

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

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

ilTable2GUI::$context = ""
protected

◆ $ctrl

ilTable2GUI::$ctrl
protected

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

Referenced by ilObjLearningSequenceContentTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilSurveySyncTableGUI\buildPath(), executeCommand(), fillFooter(), ilTermQuickListTableGUI\fillRow(), ilPublicSubmissionsTableGUI\fillRow(), ilScormSpecialPagesTableGUI\fillRow(), ilLMGlossaryTableGUI\fillRow(), ilLMMenuItemsTableGUI\fillRow(), ilTaxonomyListTableGUI\fillRow(), ilFoundUsersTableGUI\fillRow(), ilSpecialUsersTableGUI\fillRow(), SurveyMaterialsSourceTableGUI\fillRow(), ilSCORM2004TrackingTableGUI\fillRow(), ilWikiSearchResultsTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\fillRow(), ilObjectCopyProgressTableGUI\fillRow(), ilTermUsagesTableGUI\fillRow(), ilMediaCastTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilPortfolioTableGUI\fillRow(), ilBookingSchedulesTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilObjWorkspaceFolderTableGUI\fillRow(), ilObjectivesAlignmentTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilWikiContributorsTableGUI\fillRow(), ilTaxAssignedItemsTableGUI\fillRow(), ilExerciseVerificationTableGUI\fillRow(), ilTaxonomyTableGUI\fillRow(), ilPortfolioPageTableGUI\fillRow(), ilSurveySkillAssignmentTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilSCORM2004ExportTableGUI\fillRow(), ilExAssignmentListTextTableGUI\fillRow(), ilSurveySkillThresholdsTableGUI\fillRow(), ilAssignmentsTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilLMQuestionListTableGUI\fillRow(), ilSurveySyncTableGUI\fillRow(), ilExParticipantTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilExAssignmentPeerReviewTableGUI\fillRow(), ilWikiPagesTableGUI\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.

Referenced by addFilterItem().

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