ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilTable2GUI Class Reference

Class ilTable2GUI. More...

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

Public Member Functions

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

Static Public Member Functions

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

Data Fields

const FILTER_TEXT = 1
 
const FILTER_SELECT = 2
 
const FILTER_DATE = 3
 
const FILTER_LANGUAGE = 4
 
const FILTER_NUMBER_RANGE = 5
 
const FILTER_DATE_RANGE = 6
 
const FILTER_DURATION_RANGE = 7
 
const FILTER_DATETIME_RANGE = 8
 
const FILTER_CHECKBOX = 9
 
const EXPORT_EXCEL = 1
 
const EXPORT_CSV = 2
 
const ACTION_ALL_LIMIT = 1000
 
- Data Fields inherited from ilTableGUI
 $title
 
 $icon
 
 $icon_alt
 
 $help_page
 
 $help_icon
 
 $help_icon_alt
 
 $header_names
 
 $header_vars
 
 $linkbar_vars
 
 $data
 
 $column_count
 
 $column_width
 
 $max_count
 
 $limit
 
 $max_limit = false
 
 $offset
 
 $order_column
 
 $order_direction
 
 $footer_style
 
 $footer_previous
 
 $footer_next
 
 $lang_support = true
 
 $global_tpl
 
 $form_name
 
 $select_all_checkbox
 
 $action_buttons
 
 $prefix
 
 $base = ""
 
 $enabled
 
 $styles
 

Protected Member Functions

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

Protected Attributes

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

Private Member Functions

 renderFilter ()
 Render Filter section. More...
 

Private Attributes

 $unique_id
 
 $headerHTML
 

Detailed Description

Class ilTable2GUI.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Sascha Hofmann shofm.nosp@m.ann@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Version
Id
class.ilTableGUI.php 12818 2006-12-10 13:14:43Z akill

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

Constructor & Destructor Documentation

◆ __construct()

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

ilTable2GUI constructor.

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

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

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

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

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

+ Here is the call graph for this function:

Member Function Documentation

◆ addColumn()

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

Add a column to the header.

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

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

1317 {
1318 $this->column[] = array(
1319 "text" => $a_text,
1320 "sort_field" => $a_sort_field,
1321 "width" => $a_width,
1322 "is_checkbox_action_column" => $a_is_checkbox_action_column,
1323 "class" => $a_class,
1324 "tooltip" => $a_tooltip,
1325 "tooltip_html" => (bool) $a_tooltip_with_html
1326 );
1327 if ($a_sort_field != "") {
1328 $this->sortable_fields[] = $a_sort_field;
1329 }
1330 $this->column_count = count($this->column);
1331 }

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

+ Here is the caller graph for this function:

◆ addCommandButton()

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

Add Command button.

Parameters
stringCommand
stringText

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

1189 {
1190 $this->buttons[] = array("cmd" => $a_cmd, "text" => $a_text, 'onclick' => $a_onclick,
1191 "id" => $a_id, "class" => $a_class);
1192 }

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

+ Here is the caller graph for this function:

◆ addCommandButtonInstance()

ilTable2GUI::addCommandButtonInstance ( ilButtonBase  $a_button)

Add Command button instance.

Parameters
ilButtonBase$a_button

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

1200 {
1201 $this->buttons[] = $a_button;
1202 }

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

+ Here is the caller graph for this function:

◆ addFilterItem()

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

Add filter item.

Filter items are property form inputs that implement the ilTableFilterItem interface

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

621 {
622 $a_input_item->setParent($this);
623 if (!$a_optional) {
624 $this->filters[] = $a_input_item;
625 } else {
626 $this->optional_filters[] = $a_input_item;
627 }
628
629 // restore filter values (from stored view)
630 if ($this->restore_filter) {
631 if (array_key_exists($a_input_item->getFieldId(), $this->restore_filter_values)) {
632 $this->setFilterValue($a_input_item, $this->restore_filter_values[$a_input_item->getFieldId()]);
633 } else {
634 $this->setFilterValue($a_input_item, null); // #14949
635 }
636 }
637 }

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

+ Here is the caller graph for this function:

◆ addFilterItemByMetaType()

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

Add filter by standard type.

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

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

649 {
650 global $DIC;
651
652 $lng = $DIC->language(); // constructor may not be called here, if initFilter is being called in subclasses before parent::__construct
653
654 if (!$caption) {
655 $caption = $lng->txt($id);
656 }
657
658 include_once("./Services/Form/classes/class.ilPropertyFormGUI.php");
659
660 switch ($type) {
662 $item = new ilCheckboxInputGUI($caption, $id);
663 break;
664
666 include_once("./Services/Form/classes/class.ilSelectInputGUI.php");
667 $item = new ilSelectInputGUI($caption, $id);
668 break;
669
671 include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
672 $item = new ilDateTimeInputGUI($caption, $id);
673 break;
674
676 include_once("./Services/Form/classes/class.ilTextInputGUI.php");
677 $item = new ilTextInputGUI($caption, $id);
678 $item->setMaxLength(64);
679 $item->setSize(20);
680 // $item->setSubmitFormOnEnter(true);
681 break;
682
684 $lng->loadLanguageModule("meta");
685 include_once("./Services/Form/classes/class.ilSelectInputGUI.php");
686 $item = new ilSelectInputGUI($caption, $id);
687 $options = array("" => $lng->txt("trac_all"));
688 foreach ($lng->getInstalledLanguages() as $lang_key) {
689 $options[$lang_key] = $lng->txt("meta_l_" . $lang_key);
690 }
691 $item->setOptions($options);
692 break;
693
695 include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
696 include_once("./Services/Form/classes/class.ilNumberInputGUI.php");
697 $item = new ilCombinationInputGUI($caption, $id);
698 $combi_item = new ilNumberInputGUI("", $id . "_from");
699 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
700 $combi_item = new ilNumberInputGUI("", $id . "_to");
701 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
702 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
703 $item->setMaxLength(7);
704 $item->setSize(20);
705 break;
706
708 include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
709 include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
710 $item = new ilCombinationInputGUI($caption, $id);
711 $combi_item = new ilDateTimeInputGUI("", $id . "_from");
712 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
713 $combi_item = new ilDateTimeInputGUI("", $id . "_to");
714 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
715 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
716 break;
717
719 include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
720 include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
721 $item = new ilCombinationInputGUI($caption, $id);
722 $combi_item = new ilDateTimeInputGUI("", $id . "_from");
723 $combi_item->setShowTime(true);
724 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
725 $combi_item = new ilDateTimeInputGUI("", $id . "_to");
726 $combi_item->setShowTime(true);
727 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
728 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
729 break;
730
732 $lng->loadLanguageModule("form");
733 include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
734 include_once("./Services/Form/classes/class.ilDurationInputGUI.php");
735 $item = new ilCombinationInputGUI($caption, $id);
736 $combi_item = new ilDurationInputGUI("", $id . "_from");
737 $combi_item->setShowMonths(false);
738 $combi_item->setShowDays(true);
739 $combi_item->setShowSeconds(true);
740 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
741 $combi_item = new ilDurationInputGUI("", $id . "_to");
742 $combi_item->setShowMonths(false);
743 $combi_item->setShowDays(true);
744 $combi_item->setShowSeconds(true);
745 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
746 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
747 break;
748
749 default:
750 return false;
751 }
752
753 $this->addFilterItem($item, $a_optional);
754 $item->readFromSession();
755 return $item;
756 }
if(!isset( $_REQUEST[ 'ReturnTo'])) if(!isset($_REQUEST['AuthId'])) $options
Definition: as_login.php:20
This class represents a checkbox property in a property form.
This class represents a number property in a property form.
This class represents a date/time property in a property form.
This class represents a duration (typical hh:mm:ss) property in a property form.
This class represents a number property in a property form.
This class represents a selection list property in a property form.
addFilterItem($a_input_item, $a_optional=false)
Add filter item.
const FILTER_DURATION_RANGE
const FILTER_NUMBER_RANGE
const FILTER_DATETIME_RANGE
This class represents a text property in a property form.
if(!array_key_exists('StateId', $_REQUEST)) $id
$type

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

Referenced by arIndexTableGUI\addFilterField(), ilBookingObjectsTableGUI\initFilter(), ilCourseParticipantsGroupsTableGUI\initFilter(), ilExerciseSubmissionTableGUI\initFilter(), ilSCORMTrackingUsersTableGUI\initFilter(), ilSessionParticipantsTableGUI\initFilter(), ilObjectRolePermissionTableGUI\initFilter(), ilRbacLogTableGUI\initFilter(), ilBadgeTableGUI\initFilter(), ilBadgeUserTableGUI\initFilter(), ilObjectBadgeTableGUI\initFilter(), ilParticipantTableGUI\initFilter(), ilWorkspaceShareTableGUI\initFilter(), ilTrMatrixTableGUI\initFilter(), ilTrObjectUsersPropsTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), and ilBadgePersonalTableGUI\initFilters().

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

◆ addHeaderCommand()

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

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

Parameters
stringhref
stringtext

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

1277 {
1278 $this->header_commands[] = array("href" => $a_href, "text" => $a_text,
1279 "target" => $a_target, "img" => $a_img);
1280 }

◆ addHiddenInput()

ilTable2GUI::addHiddenInput (   $a_name,
  $a_value 
)

Add Hidden Input field.

Parameters
stringName
stringValue

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

1266 {
1267 $this->hidden_inputs[] = array("name" => $a_name, "value" => $a_value);
1268 }

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

+ Here is the caller graph for this function:

◆ addMultiCommand()

ilTable2GUI::addMultiCommand (   $a_cmd,
  $a_text 
)

Add Command button.

Parameters
stringCommand
stringText

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

1255 {
1256 $this->multi[] = array("cmd" => $a_cmd, "text" => $a_text);
1257 }

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

+ Here is the caller graph for this function:

◆ addMultiItemSelectionButton()

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

Add Selection List + Command button for selected items.

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

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

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

References addHiddenInput().

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

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

◆ addSelectionButton()

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

Add Selection List + Command button.

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

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

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

◆ clearCommandButtons()

ilTable2GUI::clearCommandButtons ( )

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

1178 {
1179 $this->buttons = array();
1180 }

Referenced by ilObjectCustomUserFieldsTableGUI\parse().

+ Here is the caller graph for this function:

◆ dataExists()

ilTable2GUI::dataExists ( )
final

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

597 {
598 if (is_array($this->row_data)) {
599 if (count($this->row_data) > 0) {
600 return true;
601 }
602 }
603 return false;
604 }

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

+ Here is the caller graph for this function:

◆ deleteTemplate()

ilTable2GUI::deleteTemplate (   $a_name)

Delete template.

Parameters
string$a_name
Returns
bool

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

3005 {
3006 global $DIC;
3007
3008 $ilUser = $DIC->user();
3009
3010 $a_name = ilUtil::prepareFormOutput($a_name, true);
3011
3012 if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
3013 include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
3014 $storage = new ilTableTemplatesStorage();
3015 $storage->delete($this->getContext(), $ilUser->getId(), $a_name);
3016 return true;
3017 }
3018 return false;
3019 }
getContext()
Get context.
Saves (mostly asynchronously) user properties of tables (e.g.
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public
$ilUser
Definition: imgupload.php:18

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

Referenced by fillFooter().

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

◆ determineLimit()

ilTable2GUI::determineLimit ( )

Determine the limit.

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

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

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

Referenced by __construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), getCurrentState(), ilMStListCoursesTableGUI\parseData(), ilMStListUsersTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), and arIndexTableGUI\setOrderAndSegmentation().

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

◆ determineOffsetAndOrder()

ilTable2GUI::determineOffsetAndOrder (   $a_omit_offset = false)

Determine offset and order.

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

1494 {
1495 global $DIC;
1496
1497 $ilUser = null;
1498 if (isset($DIC["ilUser"])) {
1499 $ilUser = $DIC["ilUser"];
1500 }
1501
1502 if ($this->nav_determined) {
1503 return true;
1504 }
1505
1506 if ($_POST[$this->getNavParameter() . "1"] != "") {
1507 if ($_POST[$this->getNavParameter() . "1"] != $_POST[$this->getNavParameter()]) {
1508 $this->nav_value = $_POST[$this->getNavParameter() . "1"];
1509 } elseif ($_POST[$this->getNavParameter() . "2"] != $_POST[$this->getNavParameter()]) {
1510 $this->nav_value = $_POST[$this->getNavParameter() . "2"];
1511 }
1512 } elseif ($_GET[$this->getNavParameter()]) {
1513 $this->nav_value = $_GET[$this->getNavParameter()];
1514 } elseif ($_SESSION[$this->getNavParameter()] != "") {
1515 $this->nav_value = $_SESSION[$this->getNavParameter()];
1516 }
1517
1518 if ($this->nav_value == "" && $this->getId() != "" && $ilUser->getId() != ANONYMOUS_USER_ID) {
1519 $order = $this->loadProperty("order");
1520 if (in_array($order, $this->sortable_fields)) {
1521 $direction = $this->loadProperty("direction");
1522 } else {
1523 $direction = $this->getDefaultOrderDirection();
1524 }
1525 // get order and direction from db
1526 $this->nav_value =
1527 $order . ":" .
1528 $direction . ":" .
1529 $this->loadProperty("offset");
1530 }
1531 $nav = explode(":", $this->nav_value);
1532
1533 // $nav[0] is order by
1534 $this->setOrderField(($nav[0] != "") ? $nav[0] : $this->getDefaultOrderField());
1535 $this->setOrderDirection(($nav[1] != "") ? $nav[1] : $this->getDefaultOrderDirection());
1536
1537 if (!$a_omit_offset) {
1538 // #8904: offset must be discarded when no limit is given
1539 if (!$this->getExternalSegmentation() && $this->limit_determined && $this->limit == 9999) {
1540 $this->resetOffset(true);
1541 } elseif (!$this->getExternalSegmentation() && $nav[2] >= $this->max_count) {
1542 $this->resetOffset(true);
1543 } else {
1544 $this->setOffset($nav[2]);
1545 }
1546 }
1547
1548 if (!$a_omit_offset) {
1549 $this->nav_determined = true;
1550 }
1551 }
$_POST["username"]
$_SESSION["AccountId"]
getDefaultOrderDirection()
Get Default order direction.
getExternalSegmentation()
Get external segmentation.
setOrderField($a_order_field)
set order column
getDefaultOrderField()
Get Default order field.
setOrderDirection($a_order_direction)
set order direction @access public
setOffset($a_offset)
set dataset offset @access public

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

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

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

◆ determineSelectedColumns()

ilTable2GUI::determineSelectedColumns ( )

Determine selected columns.

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

251 {
252 if ($this->columns_determined) {
253 return;
254 }
255
256 $old_sel = $this->loadProperty("selfields");
257
258 $stored = false;
259 if ($old_sel != "") {
260 $sel_fields =
261 @unserialize($old_sel);
262 $stored = true;
263 }
264 if (!is_array($sel_fields)) {
265 $stored = false;
266 $sel_fields = array();
267 }
268
269 $this->selected_columns = array();
270 $set = false;
271 foreach ($this->getSelectableColumns() as $k => $c) {
272 $this->selected_column[$k] = false;
273
274 $new_column = ($sel_fields[$k] === null);
275
276 if ($_POST["tblfsh" . $this->getId()]) {
277 $set = true;
278 if (is_array($_POST["tblfs" . $this->getId()]) && in_array($k, $_POST["tblfs" . $this->getId()])) {
279 $this->selected_column[$k] = true;
280 }
281 } elseif ($stored && !$new_column) { // take stored values
282 $this->selected_column[$k] = $sel_fields[$k];
283 } else { // take default values
284 if ($new_column) {
285 $set = true;
286 }
287 if ($c["default"]) {
288 $this->selected_column[$k] = true;
289 }
290 }
291 }
292
293 if ($old_sel != serialize($this->selected_column) && $set) {
294 $this->storeProperty("selfields", serialize($this->selected_column));
295 }
296
297 $this->columns_determined = true;
298 }
getSelectableColumns()
Get selectable columns.

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

Referenced by __construct(), and getCurrentState().

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

◆ determineSelectedFilters()

ilTable2GUI::determineSelectedFilters ( )

Determine selected filters.

Parameters

return

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

859 {
860 if ($this->filters_determined) {
861 return;
862 }
863
864 $old_sel = $this->loadProperty("selfilters");
865 $stored = false;
866 if ($old_sel != "") {
867 $sel_filters =
868 @unserialize($old_sel);
869 $stored = true;
870 }
871 if (!is_array($sel_filters)) {
872 $stored = false;
873 $sel_filters = array();
874 }
875
876 $this->selected_filter = array();
877 $set = false;
878 foreach ($this->getFilterItems(true) as $item) {
879 $k = $item->getPostVar();
880
881 $this->selected_filter[$k] = false;
882
883 if ($_POST["tblfsf" . $this->getId()]) {
884 $set = true;
885 if (is_array($_POST["tblff" . $this->getId()]) && in_array($k, $_POST["tblff" . $this->getId()])) {
886 $this->selected_filter[$k] = true;
887 } else {
888 $item->setValue(null);
889 $item->writeToSession();
890 }
891 } elseif ($stored) { // take stored values
892 $this->selected_filter[$k] = $sel_filters[$k];
893 }
894 }
895
896 if ($old_sel != serialize($this->selected_filter) && $set) {
897 $this->storeProperty("selfilters", serialize($this->selected_filter));
898 }
899
900 $this->filters_determined = true;
901 }
getFilterItems($a_optionals=false)
Get filter items.

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

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

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

◆ executeCommand()

ilTable2GUI::executeCommand ( )

Execute command.

Reimplemented in ilTestQuestionBrowserTableGUI, ilAssQuestionSkillUsagesTableGUI, and ilLPTableBaseGUI.

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

332 {
334
335 $next_class = $ilCtrl->getNextClass($this);
336 $cmd = $ilCtrl->getCmd();
337
338 switch ($next_class) {
339 case 'ilformpropertydispatchgui':
340 include_once './Services/Form/classes/class.ilFormPropertyDispatchGUI.php';
341 $form_prop_dispatch = new ilFormPropertyDispatchGUI();
342 $this->initFilter();
343 $item = $this->getFilterItemByPostVar($_GET["postvar"]);
344 $form_prop_dispatch->setItem($item);
345 return $ilCtrl->forwardCommand($form_prop_dispatch);
346 break;
347
348 }
349 return false;
350 }
initFilter()
Init filter.
getFilterItemByPostVar($a_post_var)
global $ilCtrl
Definition: ilias.php:18

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

+ Here is the call graph for this function:

◆ exportData()

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

Export and optionally send current table data.

Parameters
int$format

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

3097 {
3098 if ($this->dataExists()) {
3099 // #9640: sort
3100 if (!$this->getExternalSorting() && $this->enabled["sort"]) {
3101 $this->determineOffsetAndOrder(true);
3102
3103 $this->row_data = ilUtil::sortArray(
3104 $this->row_data,
3105 $this->getOrderField(),
3106 $this->getOrderDirection(),
3107 $this->numericOrdering($this->getOrderField())
3108 );
3109 }
3110
3111 $filename = "export";
3112
3113 switch ($format) {
3114 case self::EXPORT_EXCEL:
3115 include_once "./Services/Excel/classes/class.ilExcel.php";
3116 $excel = new ilExcel();
3117 $excel->addSheet($this->title
3118 ? $this->title
3119 : $this->lng->txt("export"));
3120 $row = 1;
3121
3122 ob_start();
3123 $this->fillMetaExcel($excel, $row); // row must be increment in fillMetaExcel()! (optional method)
3124
3125 // #14813
3126 $pre = $row;
3127 $this->fillHeaderExcel($excel, $row); // row should NOT be incremented in fillHeaderExcel()! (required method)
3128 if ($pre == $row) {
3129 $row++;
3130 }
3131
3132 foreach ($this->row_data as $set) {
3133 $this->fillRowExcel($excel, $row, $set);
3134 $row++; // #14760
3135 }
3136 ob_end_clean();
3137
3138 if ($send) {
3139 $excel->sendToClient($filename);
3140 } else {
3141 $excel->writeToFile($filename);
3142 }
3143 break;
3144
3145 case self::EXPORT_CSV:
3146 include_once "./Services/Utilities/classes/class.ilCSVWriter.php";
3147 $csv = new ilCSVWriter();
3148 $csv->setSeparator(";");
3149
3150 ob_start();
3151 $this->fillMetaCSV($csv);
3152 $this->fillHeaderCSV($csv);
3153 foreach ($this->row_data as $set) {
3154 $this->fillRowCSV($csv, $set);
3155 }
3156 ob_end_clean();
3157
3158 if ($send) {
3159 $filename .= ".csv";
3160 header("Content-type: text/comma-separated-values");
3161 header("Content-Disposition: attachment; filename=\"" . $filename . "\"");
3162 header("Expires: 0");
3163 header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
3164 header("Pragma: public");
3165 echo $csv->getCSVString();
3166 } else {
3167 file_put_contents($filename, $csv->getCSVString());
3168 }
3169 break;
3170 }
3171
3172 if ($send) {
3173 exit();
3174 }
3175 }
3176 }
Helper class to generate CSV files.
fillHeaderCSV($a_csv)
CSV Version of Fill Header.
fillHeaderExcel(ilExcel $a_excel, &$a_row)
Excel Version of Fill Header.
fillMetaCSV($a_csv)
Add meta information to csv export.
determineOffsetAndOrder($a_omit_offset=false)
Determine offset and order.
fillRowCSV($a_csv, $a_set)
CSV Version of Fill Row.
fillRowExcel(ilExcel $a_excel, &$a_row, $a_set)
Excel Version of Fill Row.
getExternalSorting()
Get external sorting.
fillMetaExcel(ilExcel $a_excel, &$a_row)
Add meta information to excel export.
numericOrdering($a_field)
Should this field be sorted numeric?
getOrderDirection()
Get order direction.
static sortArray( $array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray
$format
Definition: metadata.php:141

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

Referenced by getHTML().

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

◆ fillActionRow()

ilTable2GUI::fillActionRow ( )

Fill Action Row.

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

2508 {
2509 $lng = $this->lng;
2510
2511 // action row
2512 $action_row = false;
2513 $arrow = false;
2514
2515 // add selection buttons
2516 if (count($this->sel_buttons) > 0) {
2517 foreach ($this->sel_buttons as $button) {
2518 $this->tpl->setCurrentBlock("sel_button");
2519 $this->tpl->setVariable(
2520 "SBUTTON_SELECT",
2522 $button["selected"],
2523 $button["sel_var"],
2524 $button["options"],
2525 false,
2526 true
2527 )
2528 );
2529 $this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
2530 $this->tpl->setVariable("SBTN_VALUE", $button["text"]);
2531 $this->tpl->parseCurrentBlock();
2532
2533 if ($this->getTopCommands()) {
2534 $this->tpl->setCurrentBlock("sel_top_button");
2535 $this->tpl->setVariable(
2536 "SBUTTON_SELECT",
2538 $button["selected"],
2539 $button["sel_var"],
2540 $button["options"],
2541 false,
2542 true
2543 )
2544 );
2545 $this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
2546 $this->tpl->setVariable("SBTN_VALUE", $button["text"]);
2547 $this->tpl->parseCurrentBlock();
2548 }
2549 }
2550 $buttons = true;
2551 $action_row = true;
2552 }
2553 $this->sel_buttons[] = array("options" => $a_options, "cmd" => $a_cmd, "text" => $a_text);
2554
2555 // add buttons
2556 if (count($this->buttons) > 0) {
2557 foreach ($this->buttons as $button) {
2558 if (!is_array($button)) {
2559 if ($button instanceof ilButtonBase) {
2560 $this->tpl->setVariable('BUTTON_OBJ', $button->render());
2561
2562 // this will remove id - should be unique
2563 $button = clone $button;
2564
2565 $this->tpl->setVariable('BUTTON_TOP_OBJ', $button->render());
2566 }
2567 continue;
2568 }
2569
2570 if (strlen($button['onclick'])) {
2571 $this->tpl->setCurrentBlock('cmdonclick');
2572 $this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
2573 $this->tpl->parseCurrentBlock();
2574 }
2575 $this->tpl->setCurrentBlock("plain_button");
2576 if ($button["id"] != "") {
2577 $this->tpl->setVariable("PBID", ' id="' . $button["id"] . '" ');
2578 }
2579 if ($button["class"] != "") {
2580 $this->tpl->setVariable("PBBT_CLASS", ' ' . $button["class"]);
2581 }
2582 $this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
2583 $this->tpl->setVariable("PBTN_VALUE", $button["text"]);
2584 $this->tpl->parseCurrentBlock();
2585
2586 if ($this->getTopCommands()) {
2587 if (strlen($button['onclick'])) {
2588 $this->tpl->setCurrentBlock('top_cmdonclick');
2589 $this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
2590 $this->tpl->parseCurrentBlock();
2591 }
2592 $this->tpl->setCurrentBlock("plain_top_button");
2593 $this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
2594 $this->tpl->setVariable("PBTN_VALUE", $button["text"]);
2595 if ($button["class"] != "") {
2596 $this->tpl->setVariable("PBBT_CLASS", ' ' . $button["class"]);
2597 }
2598 $this->tpl->parseCurrentBlock();
2599 }
2600 }
2601
2602 $buttons = true;
2603 $action_row = true;
2604 }
2605
2606 // multi selection
2607 if (count($this->mi_sel_buttons)) {
2608 foreach ($this->mi_sel_buttons as $button) {
2609 $this->tpl->setCurrentBlock("mi_sel_button");
2610 $this->tpl->setVariable(
2611 "MI_BUTTON_SELECT",
2613 $button["selected"],
2614 $button["sel_var"],
2615 $button["options"],
2616 false,
2617 true
2618 )
2619 );
2620 $this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
2621 $this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
2622 $this->tpl->parseCurrentBlock();
2623
2624 if ($this->getTopCommands()) {
2625 $this->tpl->setCurrentBlock("mi_top_sel_button");
2626 $this->tpl->setVariable(
2627 "MI_BUTTON_SELECT",
2629 $button["selected"],
2630 $button["sel_var"] . "_2",
2631 $button["options"],
2632 false,
2633 true
2634 )
2635 );
2636 $this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
2637 $this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
2638 $this->tpl->parseCurrentBlock();
2639 }
2640 }
2641 $arrow = true;
2642 $action_row = true;
2643 }
2644
2645
2646 if (count($this->multi) > 1 && $this->dataExists()) {
2647 if ($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit()) {
2648 $this->tpl->setCurrentBlock("tbl_cmd_select_all");
2649 $this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
2650 $this->tpl->parseCurrentBlock();
2651 }
2652
2653 $this->tpl->setCurrentBlock("tbl_cmd_select");
2654 $sel = array();
2655 foreach ($this->multi as $mc) {
2656 $sel[$mc["cmd"]] = $mc["text"];
2657 }
2658 $this->tpl->setVariable(
2659 "SELECT_CMDS",
2660 ilUtil::formSelect("", "selected_cmd", $sel, false, true)
2661 );
2662 $this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
2663 $this->tpl->parseCurrentBlock();
2664 $arrow = true;
2665 $action_row = true;
2666
2667 if ($this->getTopCommands()) {
2668 if ($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit()) {
2669 $this->tpl->setCurrentBlock("tbl_top_cmd_select_all");
2670 $this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
2671 $this->tpl->parseCurrentBlock();
2672 }
2673
2674 $this->tpl->setCurrentBlock("tbl_top_cmd_select");
2675 $sel = array();
2676 foreach ($this->multi as $mc) {
2677 $sel[$mc["cmd"]] = $mc["text"];
2678 }
2679 $this->tpl->setVariable(
2680 "SELECT_CMDS",
2681 ilUtil::formSelect("", "selected_cmd2", $sel, false, true)
2682 );
2683 $this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
2684 $this->tpl->parseCurrentBlock();
2685 }
2686 } elseif (count($this->multi) == 1 && $this->dataExists()) {
2687 $this->tpl->setCurrentBlock("tbl_single_cmd");
2688 $sel = array();
2689 foreach ($this->multi as $mc) {
2690 $cmd = $mc['cmd'];
2691 $txt = $mc['text'];
2692 }
2693 $this->tpl->setVariable("TXT_SINGLE_CMD", $txt);
2694 $this->tpl->setVariable("SINGLE_CMD", $cmd);
2695 $this->tpl->parseCurrentBlock();
2696 $arrow = true;
2697 $action_row = true;
2698
2699 if ($this->getTopCommands()) {
2700 $this->tpl->setCurrentBlock("tbl_top_single_cmd");
2701 $sel = array();
2702 foreach ($this->multi as $mc) {
2703 $cmd = $mc['cmd'];
2704 $txt = $mc['text'];
2705 }
2706 $this->tpl->setVariable("TXT_SINGLE_CMD", $txt);
2707 $this->tpl->setVariable("SINGLE_CMD", $cmd);
2708 $this->tpl->parseCurrentBlock();
2709 }
2710 }
2711
2712 if ($arrow) {
2713 $this->tpl->setCurrentBlock("tbl_action_img_arrow");
2714 $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_downright.svg"));
2715 $this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
2716 $this->tpl->parseCurrentBlock();
2717
2718 if ($this->getTopCommands()) {
2719 $this->tpl->setCurrentBlock("tbl_top_action_img_arrow");
2720 $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_upright.svg"));
2721 $this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
2722 $this->tpl->parseCurrentBlock();
2723 }
2724 }
2725
2726 if ($action_row) {
2727 $this->tpl->setCurrentBlock("tbl_action_row");
2728 $this->tpl->parseCurrentBlock();
2729 if ($this->getTopCommands()) {
2730 $this->tpl->setCurrentBlock("tbl_top_action_row");
2731 $this->tpl->parseCurrentBlock();
2732 }
2733 }
2734 }
getTopCommands()
Get top commands (display command buttons on top of table, too)
static formSelect( $selected, $varname, $options, $multiple=false, $direct_text=false, $size="0", $style_class="", $attribs="", $disabled=false)
Builds a select form field with options and shows the selected option first.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
$txt
Definition: error.php:11

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

Referenced by getHTML().

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

◆ fillFooter()

ilTable2GUI::fillFooter ( )

Fill footer row.

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

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

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

Referenced by getHTML().

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

◆ fillHeader()

ilTable2GUI::fillHeader ( )

Reimplemented in ilTestQuestionsTableGUI, and ilQuestionBrowserTableGUI.

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

1374 {
1375 $lng = $this->lng;
1376
1377 $allcolumnswithwidth = true;
1378 foreach ((array) $this->column as $idx => $column) {
1379 if (!strlen($column["width"])) {
1380 $allcolumnswithwidth = false;
1381 } elseif ($column["width"] == "1") {
1382 // IE does not like 1 but seems to work with 1%
1383 $this->column[$idx]["width"] = "1%";
1384 }
1385 }
1386 if ($allcolumnswithwidth) {
1387 foreach ((array) $this->column as $column) {
1388 $this->tpl->setCurrentBlock("tbl_colgroup_column");
1389 $this->tpl->setVariable("COLGROUP_COLUMN_WIDTH", $column["width"]);
1390 $this->tpl->parseCurrentBlock();
1391 }
1392 }
1393 $ccnt = 0;
1394 foreach ((array) $this->column as $column) {
1395 $ccnt++;
1396 //tooltip
1397 if ($column["tooltip"] != "") {
1398 include_once("./Services/UIComponent/Tooltip/classes/class.ilTooltipGUI.php");
1400 "thc_" . $this->getId() . "_" . $ccnt,
1401 $column["tooltip"],
1402 "",
1403 "bottom center",
1404 "top center",
1405 !$column["tooltip_html"]
1406 );
1407 }
1408 if (!$this->enabled["sort"] || $column["sort_field"] == "" || $column["is_checkbox_action_column"]) {
1409 $this->tpl->setCurrentBlock("tbl_header_no_link");
1410 if ($column["width"] != "") {
1411 $this->tpl->setVariable("TBL_COLUMN_WIDTH_NO_LINK", " width=\"" . $column["width"] . "\"");
1412 }
1413 if ($column["class"] != "") {
1414 $this->tpl->setVariable("TBL_COLUMN_CLASS_NO_LINK", " class=\"" . $column["class"] . "\"");
1415 }
1416 if (!$column["is_checkbox_action_column"]) {
1417 $this->tpl->setVariable(
1418 "TBL_HEADER_CELL_NO_LINK",
1419 $column["text"]
1420 );
1421 } else {
1422 $this->tpl->setVariable(
1423 "TBL_HEADER_CELL_NO_LINK",
1424 ilUtil::img(ilUtil::getImagePath("spacer.png"), $lng->txt("action"))
1425 );
1426 }
1427 $this->tpl->setVariable("HEAD_CELL_NL_ID", "thc_" . $this->getId() . "_" . $ccnt);
1428 if ($column["class"] != "") {
1429 $this->tpl->setVariable("TBL_HEADER_CLASS", " " . $column["class"]);
1430 }
1431 $this->tpl->parseCurrentBlock();
1432 $this->tpl->touchBlock("tbl_header_th");
1433 continue;
1434 }
1435 if (($column["sort_field"] == $this->order_field) && ($this->order_direction != "")) {
1436 $this->tpl->setCurrentBlock("tbl_order_image");
1437 if ($this->order_direction == "asc") {
1438 $this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-up");
1439 } else {
1440 $this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-down");
1441 }
1442 $this->tpl->setVariable("IMG_ORDER_ALT", $this->lng->txt("change_sort_direction"));
1443 $this->tpl->parseCurrentBlock();
1444 }
1445
1446 $this->tpl->setCurrentBlock("tbl_header_cell");
1447 $this->tpl->setVariable("TBL_HEADER_CELL", $column["text"]);
1448 $this->tpl->setVariable("HEAD_CELL_ID", "thc_" . $this->getId() . "_" . $ccnt);
1449
1450 // only set width if a value is given for that column
1451 if ($column["width"] != "") {
1452 $this->tpl->setVariable("TBL_COLUMN_WIDTH", " width=\"" . $column["width"] . "\"");
1453 }
1454 if ($column["class"] != "") {
1455 $this->tpl->setVariable("TBL_COLUMN_CLASS", " class=\"" . $column["class"] . "\"");
1456 }
1457
1458 $lng_sort_column = $this->lng->txt("sort_by_this_column");
1459 $this->tpl->setVariable("TBL_ORDER_ALT", $lng_sort_column);
1460
1461 $order_dir = "asc";
1462
1463 if ($column["sort_field"] == $this->order_field) {
1464 $order_dir = $this->sort_order;
1465
1466 $lng_change_sort = $this->lng->txt("change_sort_direction");
1467 $this->tpl->setVariable("TBL_ORDER_ALT", $lng_change_sort);
1468 }
1469
1470 if ($column["class"] != "") {
1471 $this->tpl->setVariable("TBL_HEADER_CLASS", " " . $column["class"]);
1472 }
1473 $this->setOrderLink($column["sort_field"], $order_dir);
1474 $this->tpl->parseCurrentBlock();
1475 $this->tpl->touchBlock("tbl_header_th");
1476 }
1477
1478 $this->tpl->setCurrentBlock("tbl_header");
1479 $this->tpl->parseCurrentBlock();
1480 }
$column
Definition: 39dropdown.php:62
setOrderLink($sort_field, $order_dir)
static addTooltip( $a_el_id, $a_text, $a_container="", $a_my="bottom center", $a_at="top center", $a_use_htmlspecialchars=true)
Adds a tooltip to an HTML element.
static img($a_src, $a_alt="", $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.

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

Referenced by render().

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

◆ fillHeaderCSV()

ilTable2GUI::fillHeaderCSV (   $a_csv)
protected

CSV Version of Fill Header.

Likely to be overwritten by derived class.

Parameters
object$a_csvcurrent file

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

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

3244 {
3245 foreach ($this->column as $column) {
3246 $title = strip_tags($column["text"]);
3247 if ($title) {
3248 $a_csv->addColumn($title);
3249 }
3250 }
3251 $a_csv->addRow();
3252 }

References $column, and ilTableGUI\$title.

Referenced by exportData().

+ Here is the caller graph for this function:

◆ fillHeaderExcel()

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

Excel Version of Fill Header.

Likely to be overwritten by derived class.

Parameters
ilExcel$a_excelexcel wrapper
int$a_rowrow counter

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

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

3197 {
3198 $col = 0;
3199 foreach ($this->column as $column) {
3200 $title = strip_tags($column["text"]);
3201 if ($title) {
3202 $a_excel->setCell($a_row, $col++, $title);
3203 }
3204 }
3205 $a_excel->setBold("A" . $a_row . ":" . $a_excel->getColumnCoord($col-1) . $a_row);
3206 }
setCell($a_row, $a_col, $a_value, $a_datatype=null)
Set cell value.
setBold($a_coords)
Set cell(s) to bold.
getColumnCoord($a_col)
Get column "name" from number.

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

Referenced by exportData().

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

◆ fillHiddenRow()

ilTable2GUI::fillHiddenRow ( )

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

2489 {
2490 $hidden_row = false;
2491 if (count($this->hidden_inputs)) {
2492 foreach ($this->hidden_inputs as $hidden_input) {
2493 $this->tpl->setCurrentBlock("tbl_hidden_field");
2494 $this->tpl->setVariable("FIELD_NAME", $hidden_input["name"]);
2495 $this->tpl->setVariable("FIELD_VALUE", $hidden_input["value"]);
2496 $this->tpl->parseCurrentBlock();
2497 }
2498
2499 $this->tpl->setCurrentBlock("tbl_hidden_row");
2500 $this->tpl->parseCurrentBlock();
2501 }
2502 }

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ fillMetaCSV()

ilTable2GUI::fillMetaCSV (   $a_csv)
protected

Add meta information to csv export.

Likely to be overwritten by derived class.

Parameters
object$a_csvcurrent file

Reimplemented in ilLPTableBaseGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsTableGUI, and ilLPObjectStatisticsTypesTableGUI.

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

3234 {
3235 }

Referenced by exportData().

+ Here is the caller graph for this function:

◆ fillMetaExcel()

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

Add meta information to excel export.

Likely to be overwritten by derived class.

Parameters
ilExcel$a_excelexcel wrapper
int$a_rowrow counter

Reimplemented in ilLPTableBaseGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsTableGUI, and ilLPObjectStatisticsTypesTableGUI.

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

3186 {
3187 }

Referenced by exportData().

+ Here is the caller graph for this function:

◆ fillRow()

ilTable2GUI::fillRow (   $a_set)
protected

Standard Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
array$a_setdata array

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

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

2076 {
2077 foreach ($a_set as $key => $value) {
2078 $this->tpl->setVariable("VAL_" . strtoupper($key), $value);
2079 }
2080 }
$key
Definition: croninfo.php:18

References $key.

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ fillRowCSV()

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

CSV Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
object$a_csvcurrent file
array$a_setdata array

Reimplemented in ilBookingReservationsTableGUI, ilPollAnswerTableGUI, ilPollUserTableGUI, ilSCORM2004TrackingItemsTableGUI, ilSCORMTrackingItemsTableGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilLPProgressTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, ilTrUserObjectsPropsTableGUI, ilMStListCoursesTableGUI, ilMStShowUserCoursesTableGUI, and ilMStListUsersTableGUI.

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

3262 {
3263 foreach ($a_set as $key => $value) {
3264 if (is_array($value)) {
3265 $value = implode(', ', $value);
3266 }
3267 $a_csv->addColumn(strip_tags($value));
3268 }
3269 $a_csv->addRow();
3270 }

References $key.

Referenced by exportData().

+ Here is the caller graph for this function:

◆ fillRowExcel()

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

Excel Version of Fill Row.

Most likely to be overwritten by derived class.

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

Reimplemented in ilBookingReservationsTableGUI, ilPollAnswerTableGUI, ilPollUserTableGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilLPProgressTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, ilTrUserObjectsPropsTableGUI, ilUserLPTableGUI, ilMStListCoursesTableGUI, ilMStShowUserCoursesTableGUI, ilMStListUsersTableGUI, ilSCORM2004TrackingItemsTableGUI, and ilSCORMTrackingItemsTableGUI.

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

3217 {
3218 $col = 0;
3219 foreach ($a_set as $value) {
3220 if (is_array($value)) {
3221 $value = implode(', ', $value);
3222 }
3223 $a_excel->setCell($a_row, $col++, $value);
3224 }
3225 }

References ilExcel\setCell().

Referenced by exportData().

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

◆ getAllCommandLimit()

static ilTable2GUI::getAllCommandLimit ( )
static

Get maximum number of entries to enable actions for all.

Returns
int

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

3288 {
3289 global $DIC;
3290
3291 $ilClientIniFile = $DIC["ilClientIniFile"];
3292
3293 $limit = $ilClientIniFile->readVariable("system", "TABLE_ACTION_ALL_LIMIT");
3294 if (!$limit) {
3296 }
3297
3298 return $limit;
3299 }

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

◆ getCloseFormTag()

ilTable2GUI::getCloseFormTag ( )

Get close form tag.

Returns
boolean close form tag

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

193 {
195 }

References $close_form_tag.

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ getContext()

ilTable2GUI::getContext ( )

Get context.

Returns
string

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

2888 {
2889 return $this->context;
2890 }

References $context.

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

+ Here is the caller graph for this function:

◆ getCurrentState()

ilTable2GUI::getCurrentState ( )

get current settings for order, limit, columns and filter

Returns
array

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

2799 {
2800 $this->determineOffsetAndOrder();
2801 $this->determineLimit();
2802 $this->determineSelectedColumns();
2803 $this->determineSelectedFilters();
2804
2805 // "filter" show/hide is not saved
2806
2807 $result = array();
2808 $result["order"] = $this->getOrderField();
2809 $result["direction"] = $this->getOrderDirection();
2810 $result["offset"] = $this->getOffset();
2811 $result["rows"] = $this->getLimit();
2812 $result["selfilters"] = $this->getSelectedFilters();
2813
2814 // #9514 - $this->getSelectedColumns() will omit deselected, leading to
2815 // confusion on restoring template
2816 $result["selfields"] = $this->selected_column;
2817
2818 // gather filter values
2819 if ($this->filters) {
2820 foreach ($this->filters as $item) {
2821 $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2822 }
2823 }
2824 if ($this->optional_filters && $result["selfilters"]) {
2825 foreach ($this->optional_filters as $item) {
2826 if (in_array($item->getFieldId(), $result["selfilters"])) {
2827 $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2828 }
2829 }
2830 }
2831
2832 return $result;
2833 }
$result
getFilterValue(ilFormPropertyGUI $a_item)
Get current filter value.
getLimit()
Get limit.
getSelectedFilters()
Get selected filters.
getOffset()
Get offset.
determineSelectedFilters()
Determine selected filters.

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

Referenced by saveTemplate().

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

◆ getData()

◆ getDefaultFilterVisibility()

ilTable2GUI::getDefaultFilterVisibility ( )

Get default filter visibility.

Returns
bool

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

1168 {
1170 }

References $default_filter_visibility.

Referenced by isFilterVisible().

+ Here is the caller graph for this function:

◆ getDefaultOrderDirection()

ilTable2GUI::getDefaultOrderDirection ( )

Get Default order direction.

Returns
string Default order direction

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

1150 {
1151 return $this->defaultorderdirection;
1152 }

Referenced by determineOffsetAndOrder().

+ Here is the caller graph for this function:

◆ getDefaultOrderField()

ilTable2GUI::getDefaultOrderField ( )

Get Default order field.

Returns
string Default order field

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

1130 {
1131 return $this->defaultorderfield;
1132 }

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

+ Here is the caller graph for this function:

◆ getDescription()

ilTable2GUI::getDescription ( )

Get description.

Returns
string description

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

540 {
541 return $this->description;
542 }

References $description.

Referenced by render().

+ Here is the caller graph for this function:

◆ getDisableFilterHiding()

ilTable2GUI::getDisableFilterHiding ( )

Get disable filter hiding.

Returns
boolean

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

820 {
822 }

References $disable_filter_hiding.

Referenced by fillFooter(), and renderFilter().

+ Here is the caller graph for this function:

◆ getDisplayAsBlock()

ilTable2GUI::getDisplayAsBlock ( )

Get display as block.

Returns
boolean display as block

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

994 {
995 return $this->display_as_block;
996 }

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

+ Here is the caller graph for this function:

◆ getEnableHeader()

ilTable2GUI::getEnableHeader ( )

Get Enable Header.

Returns
boolean Enable Header

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

492 {
493 return $this->enabled["header"];
494 }

◆ getEnableNumInfo()

ilTable2GUI::getEnableNumInfo ( )

Get enable num info.

Returns
boolean enable number of records info

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

512 {
513 return $this->num_info;
514 }

Referenced by fillFooter().

+ Here is the caller graph for this function:

◆ getEnableTitle()

ilTable2GUI::getEnableTitle ( )

Get Enable Title.

Returns
boolean Enable Title

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

472 {
473 return $this->enabled["title"];
474 }

◆ getExportMode()

ilTable2GUI::getExportMode ( )

Was export activated?

Returns
int

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

3087 {
3088 return $this->export_mode;
3089 }

References $export_mode.

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

+ Here is the caller graph for this function:

◆ getExternalSegmentation()

ilTable2GUI::getExternalSegmentation ( )

Get external segmentation.

Returns
boolean data is segmented externally

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

1098 {
1099 return $this->ext_seg;
1100 }

References $ext_seg.

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

+ Here is the caller graph for this function:

◆ getExternalSorting()

ilTable2GUI::getExternalSorting ( )

Get external sorting.

Returns
boolean data is sorted externally

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

1034 {
1035 return $this->ext_sort;
1036 }

References $ext_sort.

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

+ Here is the caller graph for this function:

◆ getFilterCols()

ilTable2GUI::getFilterCols ( )

Get filter columns.

Returns
int number of filter columns

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

800 {
801 return $this->filter_cols;
802 }

References $filter_cols.

Referenced by renderFilter().

+ Here is the caller graph for this function:

◆ getFilterCommand()

ilTable2GUI::getFilterCommand ( )

Get filter command.

Returns
string filter command

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

1056 {
1057 return $this->filter_cmd;
1058 }

References $filter_cmd.

◆ getFilterItemByPostVar()

ilTable2GUI::getFilterItemByPostVar (   $a_post_var)
final

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

770 {
771 foreach ($this->getFilterItems() as $item) {
772 if ($item->getPostVar() == $a_post_var) {
773 return $item;
774 }
775 }
776 foreach ($this->getFilterItems(true) as $item) {
777 if ($item->getPostVar() == $a_post_var) {
778 return $item;
779 }
780 }
781 return false;
782 }

References getFilterItems().

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

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

◆ getFilterItems()

ilTable2GUI::getFilterItems (   $a_optionals = false)
final

◆ getFilterValue()

ilTable2GUI::getFilterValue ( ilFormPropertyGUI  $a_item)
protected

Get current filter value.

Parameters
ilFormPropertyGUI$a_item
Returns
mixed

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

2842 {
2843 if (method_exists($a_item, "getChecked")) {
2844 return $a_item->getChecked();
2845 } elseif (method_exists($a_item, "getValue")) {
2846 return $a_item->getValue();
2847 } elseif (method_exists($a_item, "getDate")) {
2848 return $a_item->getDate()->get(IL_CAL_DATE);
2849 }
2850 }
const IL_CAL_DATE

References IL_CAL_DATE.

Referenced by getCurrentState().

+ Here is the caller graph for this function:

◆ getFormAction()

ilTable2GUI::getFormAction ( )
final

◆ getFormName()

ilTable2GUI::getFormName ( )

Get Form name.

Returns
string Form name

Reimplemented from ilTableGUI.

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

951 {
952 return $this->formname;
953 }

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

+ Here is the caller graph for this function:

◆ getHTML()

ilTable2GUI::getHTML ( )

Get HTML.

Reimplemented in ilMediaPoolTableGUI.

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

1572 {
1573 global $DIC;
1574
1575 $ilUser = null;
1576 if (isset($DIC["ilUser"])) {
1577 $ilUser = $DIC["ilUser"];
1578 }
1579
1580 $lng = $this->lng;
1582
1583
1584 if ($this->getExportMode()) {
1585 $this->exportData($this->getExportMode(), true);
1586 }
1587
1588 $this->prepareOutput();
1589
1590 if (is_object($ilCtrl) && $this->getId() == "") {
1591 $ilCtrl->saveParameter($this->getParentObject(), $this->getNavParameter());
1592 }
1593
1594 if (!$this->getPrintMode()) {
1595 // set form action
1596 if ($this->form_action != "" && $this->getOpenFormTag()) {
1597 $hash = "";
1598 if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization")) {
1599 $hash = "#" . $this->getTopAnchor();
1600 }
1601
1602 if ((bool) $this->form_multipart) {
1603 $this->tpl->touchBlock("form_multipart_bl");
1604 }
1605
1606 if ($this->getPreventDoubleSubmission()) {
1607 $this->tpl->touchBlock("pdfs");
1608 }
1609
1610 $this->tpl->setCurrentBlock("tbl_form_header");
1611 $this->tpl->setVariable("FORMACTION", $this->getFormAction() . $hash);
1612 $this->tpl->setVariable("FORMNAME", $this->getFormName());
1613 $this->tpl->parseCurrentBlock();
1614 }
1615
1616 if ($this->form_action != "" && $this->getCloseFormTag()) {
1617 $this->tpl->touchBlock("tbl_form_footer");
1618 }
1619 }
1620
1621 if (!$this->enabled['content']) {
1622 return $this->render();
1623 }
1624
1625 if (!$this->getExternalSegmentation()) {
1626 $this->setMaxCount(count($this->row_data));
1627 }
1628
1629 $this->determineOffsetAndOrder();
1630
1631 $this->setFooter("tblfooter", $this->lng->txt("previous"), $this->lng->txt("next"));
1632
1633 $data = $this->getData();
1634 if ($this->dataExists()) {
1635 // sort
1636 if (!$this->getExternalSorting() && $this->enabled["sort"]) {
1638 $data,
1639 $this->getOrderField(),
1640 $this->getOrderDirection(),
1641 $this->numericOrdering($this->getOrderField())
1642 );
1643 }
1644
1645 // slice
1646 if (!$this->getExternalSegmentation()) {
1647 $data = array_slice($data, $this->getOffset(), $this->getLimit());
1648 }
1649 }
1650
1651 // fill rows
1652 if ($this->dataExists()) {
1653 if ($this->getPrintMode()) {
1655 }
1656
1657 $this->tpl->addBlockFile(
1658 "TBL_CONTENT",
1659 "tbl_content",
1660 $this->row_template,
1661 $this->row_template_dir
1662 );
1663
1664 foreach ($data as $set) {
1665 $this->tpl->setCurrentBlock("tbl_content");
1666 $this->css_row = ($this->css_row != "tblrow1")
1667 ? "tblrow1"
1668 : "tblrow2";
1669 $this->tpl->setVariable("CSS_ROW", $this->css_row);
1670
1671 $this->fillRow($set);
1672 $this->tpl->setCurrentBlock("tbl_content");
1673 $this->tpl->parseCurrentBlock();
1674 }
1675 } else {
1676 // add standard no items text (please tell me, if it messes something up, alex, 29.8.2008)
1677 $no_items_text = (trim($this->getNoEntriesText()) != '')
1678 ? $this->getNoEntriesText()
1679 : $lng->txt("no_items");
1680
1681 $this->css_row = ($this->css_row != "tblrow1")
1682 ? "tblrow1"
1683 : "tblrow2";
1684
1685 $this->tpl->setCurrentBlock("tbl_no_entries");
1686 $this->tpl->setVariable('TBL_NO_ENTRY_CSS_ROW', $this->css_row);
1687 $this->tpl->setVariable('TBL_NO_ENTRY_COLUMN_COUNT', $this->column_count);
1688 $this->tpl->setVariable('TBL_NO_ENTRY_TEXT', trim($no_items_text));
1689 $this->tpl->parseCurrentBlock();
1690 }
1691
1692
1693 if (!$this->getPrintMode()) {
1694 $this->fillFooter();
1695
1696 $this->fillHiddenRow();
1697
1698 $this->fillActionRow();
1699
1700 $this->storeNavParameter();
1701 }
1702
1703 return $this->render();
1704 }
static setUseRelativeDates($a_status)
set use relative dates
getExportMode()
Was export activated?
getOpenFormTag()
Get open form tag.
prepareOutput()
Anything that must be done before HTML is generated.
getNoEntriesText()
Get text for an empty table.
getParentObject()
Get parent object.
fillRow($a_set)
Standard Version of Fill Row.
getFormAction()
Get Form action parameter.
exportData($format, $send=false)
Export and optionally send current table data.
render()
render table @access public
fillFooter()
Fill footer row.
getPrintMode()
Get print mode.
getCloseFormTag()
Get close form tag.
getTopAnchor()
Get top anchor.
fillActionRow()
Fill Action Row.
getPreventDoubleSubmission()
Get prevent double submission.
setMaxCount($a_max_count)
set max.
setFooter($a_style, $a_previous=0, $a_next=0)
set order direction @access public

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

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

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

◆ getId()

ilTable2GUI::getId ( )

Get element id.

Returns
string id

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

974 {
975 return $this->id;
976 }

References $id.

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

+ Here is the caller graph for this function:

◆ getIsDataTable()

ilTable2GUI::getIsDataTable ( )

Get is data table.

Returns
boolean is data table

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

452 {
453 return $this->datatable;
454 }

Referenced by render().

+ Here is the caller graph for this function:

◆ getLimit()

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

2368 {
2369 global $DIC;
2370
2371 $ilUser = $DIC->user();
2372
2374 $lng = $this->lng;
2375
2376 $hash = "";
2377 if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization")) {
2378 $hash = "#" . $this->getTopAnchor();
2379 }
2380
2381 $link = $ilCtrl->getLinkTargetByClass(get_class($this->parent_obj), $this->parent_cmd) .
2382 "&" . $this->getNavParameter() . "=" .
2383 $this->getOrderField() . ":" . $this->getOrderDirection() . ":";
2384
2385 $LinkBar = "";
2386 $layout_prev = $lng->txt("previous");
2387 $layout_next = $lng->txt("next");
2388
2389 // if more entries then entries per page -> show link bar
2390 if ($this->max_count > $this->getLimit() || $this->custom_prev_next) {
2391 $sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
2392
2393 // calculate number of pages
2394 $pages = intval($this->max_count / $this->getLimit());
2395
2396 // add a page if a rest remains
2397 if (($this->max_count % $this->getLimit())) {
2398 $pages++;
2399 }
2400
2401 // links to other pages
2402 $offset_arr = array();
2403 for ($i = 1 ;$i <= $pages ; $i++) {
2404 $newoffset = $this->getLimit() * ($i-1);
2405
2406 $nav_value = $this->getOrderField() . ":" . $this->getOrderDirection() . ":" . $newoffset;
2407 $offset_arr[$nav_value] = $i;
2408 }
2409
2410 $sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
2411
2412 // previous link
2413 if ($this->custom_prev_next && $this->custom_prev != "") {
2414 if ($LinkBar != "") {
2415 $LinkBar .= $sep;
2416 }
2417 $LinkBar .= "<a href=\"" . $this->custom_prev . $hash . "\">" . $layout_prev . "</a>";
2418 } elseif ($this->getOffset() >= 1 && !$this->custom_prev_next) {
2419 if ($LinkBar != "") {
2420 $LinkBar .= $sep;
2421 }
2422 $prevoffset = $this->getOffset() - $this->getLimit();
2423 $LinkBar .= "<a href=\"" . $link . $prevoffset . $hash . "\">" . $layout_prev . "</a>";
2424 } else {
2425 if ($LinkBar != "") {
2426 $LinkBar .= $sep;
2427 }
2428 $LinkBar .= '<span class="ilTableFootLight">' . $layout_prev . "</span>";
2429 }
2430
2431 // current value
2432 if ($a_num == "1") {
2433 $LinkBar .= '<input type="hidden" name="' . $this->getNavParameter() .
2434 '" value="' . $this->getOrderField() . ":" . $this->getOrderDirection() . ":" . $this->getOffset() . '" />';
2435 }
2436
2437 $sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
2438
2439 // show next link (if not last page)
2440 if ($this->custom_prev_next && $this->custom_next != "") {
2441 if ($LinkBar != "") {
2442 $LinkBar .= $sep;
2443 }
2444 $LinkBar .= "<a href=\"" . $this->custom_next . $hash . "\">" . $layout_next . "</a>";
2445 } elseif (!(($this->getOffset() / $this->getLimit())==($pages-1)) && ($pages!=1) &&
2446 !$this->custom_prev_next) {
2447 if ($LinkBar != "") {
2448 $LinkBar .= $sep;
2449 }
2450 $newoffset = $this->getOffset() + $this->getLimit();
2451 $LinkBar .= "<a href=\"" . $link . $newoffset . $hash . "\">" . $layout_next . "</a>";
2452 } else {
2453 if ($LinkBar != "") {
2454 $LinkBar .= $sep;
2455 }
2456 $LinkBar .= '<span class="ilTableFootLight">' . $layout_next . "</span>";
2457 }
2458
2459 $sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
2460
2461 if (count($offset_arr) && !$this->getDisplayAsBlock() && !$this->custom_prev_next) {
2462 if ($LinkBar != "") {
2463 $LinkBar .= $sep;
2464 }
2465 $LinkBar .= "" .
2466 '<label for="tab_page_sel_' . $a_num . '">' . $lng->txt("page") . '</label> ' .
2468 $this->nav_value,
2469 $this->getNavParameter() . $a_num,
2470 $offset_arr,
2471 false,
2472 true,
2473 0,
2474 "small",
2475 array("id" => "tab_page_sel_" . $a_num,
2476 "onchange" => "ilTablePageSelection(this, 'cmd[" . $this->parent_cmd . "]')")
2477 );
2478 //' <input class="submit" type="submit" name="cmd['.$this->parent_cmd.']" value="'.
2479 //$lng->txt("ok").'" />';
2480 }
2481
2482 return $LinkBar;
2483 } else {
2484 return false;
2485 }
2486 }
$i
Definition: disco.tpl.php:19

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

Referenced by fillFooter().

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

◆ getNavParameter()

ilTable2GUI::getNavParameter ( )
final

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

1335 {
1336 return $this->prefix . "_table_nav";
1337 }

Referenced by determineOffsetAndOrder(), getHTML(), getLinkbar(), resetOffset(), and setOrderLink().

+ Here is the caller graph for this function:

◆ getNoEntriesText()

ilTable2GUI::getNoEntriesText ( )

Get text for an empty table.

Returns
string Text

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

432 {
433 return $this->noentriestext;
434 }

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

+ Here is the caller graph for this function:

◆ getOffset()

◆ getOpenFormTag()

ilTable2GUI::getOpenFormTag ( )

Get open form tag.

Returns
boolean open form tag

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

173 {
175 }

References $open_form_tag.

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ getOrderField()

◆ getParentCmd()

◆ getParentObject()

ilTable2GUI::getParentObject ( )

Get parent object.

Returns
object parent GUI object

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

382 {
383 return $this->parent_obj;
384 }

References $parent_obj.

Referenced by ilPollUserTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilConditionHandlerTableGUI\fillRow(), ilDclExportTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilSCORMOfflineModeUsersTableGUI\fillRow(), ilSCORMTrackingItemsPerScoTableGUI\fillRow(), ilSCORMTrackingItemsPerUserTableGUI\fillRow(), ilSCORMTrackingItemsScoTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilWebResourceEditableLinkTableGUI\fillRow(), ilWebResourceLinkTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilAuthLoginPageEditorTableGUI\fillRow(), ilShibbolethRoleAssignmentTableGUI\fillRow(), ilBadgeImageTemplateTableGUI\fillRow(), ilBadgePersonalTableGUI\fillRow(), ilBadgeTableGUI\fillRow(), ilObjectBadgeTableGUI\fillRow(), ilCalendarCategoryTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilConsultationHourGroupTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilContSkillTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilPCFileListTableGUI\fillRow(), ilCronManagerTableGUI\fillRow(), ilExportTableGUI\fillRow(), ilLDAPRoleAssignmentTableGUI\fillRow(), ilLDAPRoleMappingTableGUI\fillRow(), ilLDAPServerTableGUI\fillRow(), ilObjectConsumerTableGUI\fillRow(), ilMemberExportFileTableGUI\fillRow(), ilMDCopyrightTableGUI\fillRow(), ilSamlIdpTableGUI\fillRow(), ilUserRoleStartingPointTableGUI\fillRow(), ilECSCategoryMappingTableGUI\fillRow(), ilECSCommunityTableGUI\fillRow(), ilECSNodeMappingTreeTableGUI\fillRow(), ilSCORM2004ExportTableGUI\fillRow(), ilSurveyAppraiseesTableGUI\fillRow(), SurveyMaterialsSourceTableGUI\fillRow(), ilForumDraftsTableGUI\fillRow(), ilExcDeliveredFilesTableGUI\fillRow(), ilTestPassOverviewTableGUI\fillRow(), ilConsultationHourBookingTableGUI\fillRow(), ilConsultationHoursTableGUI\fillRow(), ilMailTemplateTableGUI\fillRow(), ilObjectCustomUserFieldsTableGUI\fillRow(), ilSCGroupTableGUI\fillRow(), ilRoleTableGUI\fillRow(), ilDidacticTemplateSettingsTableGUI\fillRow(), ilObjectCopyProgressTableGUI\fillRow(), ilECSServerTableGUI\fillRow(), ilForumTopicTableGUI\fillRow(), ilAssignedUsersTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilStudyProgrammeIndividualPlanTableGUI\getDeadlineInput(), getHTML(), ilContainerStartObjectsContentTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilStudyProgrammeMembersTableGUI\getLinkTargetForAction(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilStudyProgrammeIndividualPlanTableGUI\getRequiredPointsInput(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilObjectCopyCourseGroupSelectionTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilTestPassOverviewTableGUI\initColumns(), ilObjectRolePermissionTableGUI\initColumns(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilParticipantTableGUI\initFilter(), ilMStListCoursesTableGUI\initFilter(), ilMStShowUserCoursesTableGUI\initFilter(), ilWebResourceLinkTableGUI\initSorting(), ilConsultationHourBookingTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilExerciseSubmissionTableGUI\parseRow(), ilLocalUnitCategoryTableGUI\populateTitle(), ilLinkCheckerTableGUI\prepareHTML(), ilTermsOfServiceAcceptanceHistoryTableGUI\prepareRow(), ilTermsOfServiceAgreementByLanguageTableGUI\prepareRow(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilExerciseSubmissionTableGUI\render(), ilSubscriberTableGUI\showActionLinks(), and ilWaitingListTableGUI\showActionLinks().

+ Here is the caller graph for this function:

◆ getPrefix()

ilTable2GUI::getPrefix ( )
final

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

612 {
613 return $this->prefix;
614 }

References ilTableGUI\$prefix.

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

+ Here is the caller graph for this function:

◆ getPreventDoubleSubmission()

ilTable2GUI::getPreventDoubleSubmission ( )

Get prevent double submission.

Returns
bool prevent double submission

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

3334 {
3336 }

References $prevent_double_submission.

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ getPrintMode()

ilTable2GUI::getPrintMode ( )

Get print mode.

Returns
bool $a_value

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

3077 {
3078 return $this->print_mode;
3079 }

References $print_mode.

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

+ Here is the caller graph for this function:

◆ getResetCommand()

ilTable2GUI::getResetCommand ( )

Get reset filter command.

Returns
string reset command

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

1078 {
1079 return $this->reset_cmd;
1080 }

References $reset_cmd.

◆ getRowSelectorLabel()

ilTable2GUI::getRowSelectorLabel ( )
Returns
string

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

3314 {
3316 }

References $row_selector_label.

Referenced by fillFooter().

+ Here is the caller graph for this function:

◆ getSelectableColumns()

◆ getSelectAllCheckbox()

ilTable2GUI::getSelectAllCheckbox ( )

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

Returns
string name of the checkbox

Reimplemented from ilTableGUI.

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

1004 {
1006 }

References ilTableGUI\$select_all_checkbox.

Referenced by fillFooter().

+ Here is the caller graph for this function:

◆ getSelectedColumns()

ilTable2GUI::getSelectedColumns ( )

Get selected columns.

Parameters

return

Reimplemented in ilEvaluationAllTableGUI, and ilRegistrationCodesTableGUI.

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

318 {
319 $scol = array();
320 foreach ($this->selected_column as $k => $v) {
321 if ($v) {
322 $scol[$k] = $k;
323 }
324 }
325 return $scol;
326 }

Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilUserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\fillHeaderCSV(), ilSCORMTrackingItemsTableGUI\fillHeaderCSV(), ilTrMatrixTableGUI\fillHeaderCSV(), ilTrObjectUsersPropsTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderCSV(), ilTrUserObjectsPropsTableGUI\fillHeaderCSV(), ilTrMatrixTableGUI\fillHeaderExcel(), ilTrObjectUsersPropsTableGUI\fillHeaderExcel(), ilTrSummaryTableGUI\fillHeaderExcel(), ilTrUserObjectsPropsTableGUI\fillHeaderExcel(), ilSCORM2004TrackingItemsTableGUI\fillHeaderExcel(), ilSCORMTrackingItemsTableGUI\fillHeaderExcel(), ilBookingObjectsTableGUI\fillRow(), ilBookingReservationsTableGUI\fillRow(), ilCourseParticipantsTableGUI\fillRow(), ilGroupParticipantsTableGUI\fillRow(), ilSessionParticipantsTableGUI\fillRow(), ilStudyProgrammeIndividualPlanTableGUI\fillRow(), ilStudyProgrammeMembersTableGUI\fillRow(), ilSubscriberTableGUI\fillRow(), ilWaitingListTableGUI\fillRow(), ilSearchResultTableGUI\fillRow(), ilTrMatrixTableGUI\fillRow(), ilTrSummaryTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRow(), ilSurveyResultsCumulatedTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilWorkflowEngineDefinitionsTableGUI\fillRow(), ilTermListTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRowCSV(), ilSCORMTrackingItemsTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowCSV(), ilTrObjectUsersPropsTableGUI\fillRowCSV(), ilTrSummaryTableGUI\fillRowCSV(), ilTrUserObjectsPropsTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowExcel(), ilTrObjectUsersPropsTableGUI\fillRowExcel(), ilTrSummaryTableGUI\fillRowExcel(), ilTrUserObjectsPropsTableGUI\fillRowExcel(), ilSCORM2004TrackingItemsTableGUI\fillRowExcel(), ilSCORMTrackingItemsTableGUI\fillRowExcel(), ilMStListCoursesTableGUI\getFieldValuesForExport(), ilMStShowUserCoursesTableGUI\getFieldValuesForExport(), ilMStListUsersTableGUI\getFieldValuesForExport(), ilTrSummaryTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilExerciseMemberTableGUI\getModeColumns(), ilSessionParticipantsTableGUI\init(), ilQuestionPoolPrintViewTableGUI\initColumns(), ilWorkflowEngineDefinitionsTableGUI\initColumns(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilExerciseSubmissionTableGUI\parseRow(), ilRepositoryUserResultTableGUI\parseUserIds(), ilSubscriberTableGUI\readSubscriberData(), and ilWaitingListTableGUI\readUserData().

+ Here is the caller graph for this function:

◆ getSelectedFilters()

ilTable2GUI::getSelectedFilters ( )

Get selected filters.

Parameters

return

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

842 {
843 $sfil = array();
844 foreach ($this->selected_filter as $k => $v) {
845 if ($v) {
846 $sfil[$k] = $k;
847 }
848 }
849 return $sfil;
850 }

Referenced by getCurrentState().

+ Here is the caller graph for this function:

◆ getShowRowsSelector()

ilTable2GUI::getShowRowsSelector ( )

Get rows-per-page selector state.

Returns
bool

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

2908 {
2910 }

References $show_rows_selector.

Referenced by fillFooter().

+ Here is the caller graph for this function:

◆ getShowTemplates()

ilTable2GUI::getShowTemplates ( )

Get template state.

Returns
bool

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

2928 {
2929 return $this->show_templates;
2930 }

References $show_templates.

Referenced by fillFooter().

+ Here is the caller graph for this function:

◆ getTopAnchor()

ilTable2GUI::getTopAnchor ( )

Get top anchor.

Returns
string top anchor

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

412 {
413 return $this->top_anchor;
414 }

References $top_anchor.

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

+ Here is the caller graph for this function:

◆ getTopCommands()

ilTable2GUI::getTopCommands ( )

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

Returns
boolean top commands true/false

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

1298 {
1299 return $this->top_commands;
1300 }

References $top_commands.

Referenced by fillActionRow().

+ Here is the caller graph for this function:

◆ initFilter()

ilTable2GUI::initFilter ( )

Init filter.

Overwrite this to initialize all filter input property objects.

Reimplemented in ilBookingObjectsTableGUI, ilCourseParticipantsGroupsTableGUI, ilDclRecordListTableGUI, ilExerciseSubmissionTableGUI, ilPresentationListTableGUI, ilTermListTableGUI, ilMediaPoolTableGUI, ilSCORMTrackingUsersTableGUI, ilSessionParticipantsTableGUI, ilSurveyQuestionblockbrowserTableGUI, ilSurveyQuestionbrowserTableGUI, ilSurveyQuestionsTableGUI, ilEvaluationAllTableGUI, ilTestDynamicQuestionSetStatisticTableGUI, ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI, ilTestManScoringParticipantsTableGUI, ilTestParticipantsTableGUI, ilTestPassDetailsOverviewTableGUI, ilTestQuestionBrowserTableGUI, ilQuestionBrowserTableGUI, ilObjectRolePermissionTableGUI, ilRbacLogTableGUI, ilRoleTableGUI, ilBadgeTableGUI, ilBadgeUserTableGUI, ilObjectBadgeTableGUI, ilBuddySystemRelationsTableGUI, ilLanguageExtTableGUI, ilMailFolderTableGUI, ilParticipantTableGUI, ilMStListCoursesTableGUI, ilMStListUsersTableGUI, ilMStShowUserCoursesTableGUI, ilPDNewsTableGUI, ilWorkspaceShareTableGUI, ilRegistrationCodesTableGUI, ilTermsOfServiceAcceptanceHistoryTableGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsLPTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, ilTrUserObjectsPropsTableGUI, ilAccountCodesTableGUI, ilRoleAssignmentTableGUI, ilUserTableGUI, and ilWorkflowEngineDefinitionsTableGUI.

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

373 {
374 }

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

+ Here is the caller graph for this function:

◆ isAdvMDFilter()

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

Check if filter element is based on adv md.

Parameters
ilAdvancedMDRecordGUI$a_gui
type$a_element
Returns
boolean

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

1990 {
1991 foreach ($a_gui->getFilterElements(false) as $item) {
1992 if ($item === $a_element) {
1993 return true;
1994 }
1995 }
1996 return false;
1997 }
getFilterElements($a_only_non_empty=true)
Get SQL conditions for current filter value(s)

References ilAdvancedMDRecordGUI\getFilterElements().

Referenced by writeFilterToSession().

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

◆ isColumnSelected()

◆ isFilterSelected()

ilTable2GUI::isFilterSelected (   $a_col)

Is given filter selected?

Parameters
stringcolumn name
Returns
boolean

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

831 {
832 return $this->selected_filter[$a_col];
833 }

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

+ Here is the caller graph for this function:

◆ isFilterVisible()

ilTable2GUI::isFilterVisible ( )
protected

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

Returns
bool

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

1974 {
1975 $prop = $this->loadProperty('filter');
1976 if ($prop === '0' || $prop === '1') {
1977 return (bool) $prop;
1978 }
1979 return $this->getDefaultFilterVisibility();
1980 }
getDefaultFilterVisibility()
Get default filter visibility.

References getDefaultFilterVisibility(), and loadProperty().

Referenced by renderFilter().

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

◆ loadProperty()

ilTable2GUI::loadProperty (   $type)

Load table property.

Parameters
string$type
Returns
mixed

Reimplemented in ilDclRecordListTableGUI.

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

2776 {
2777 global $DIC;
2778
2779 $ilUser = null;
2780 if (isset($DIC["ilUser"])) {
2781 $ilUser = $DIC["ilUser"];
2782 }
2783
2784 if (is_object($ilUser) && $this->getId() != "") {
2785 include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
2786 $tab_prop = new ilTablePropertiesStorage();
2787
2788 return $tab_prop->getProperty($this->getId(), $ilUser->getId(), $type);
2789 }
2790 return null;
2791 }
Saves (mostly asynchronously) user properties of tables (e.g.

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

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

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

◆ numericOrdering()

ilTable2GUI::numericOrdering (   $a_field)

Should this field be sorted numeric?

Returns
boolean numeric ordering; default is false

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

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

1712 {
1713 return false;
1714 }

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

+ Here is the caller graph for this function:

◆ prepareOutput()

ilTable2GUI::prepareOutput ( )
protected

Anything that must be done before HTML is generated.

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

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

1486 {
1487 }

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ render()

ilTable2GUI::render ( )

render table @access public

Reimplemented from ilTableGUI.

Reimplemented in ilExerciseSubmissionTableGUI, ilMediaPoolTableGUI, arIndexTableGUI, and ilBuddySystemRelationsTableGUI.

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

1721 {
1722 $lng = $this->lng;
1724
1725 $this->tpl->setVariable("CSS_TABLE", $this->getStyle("table"));
1726 $this->tpl->setVariable("DATA_TABLE", (int) $this->getIsDataTable());
1727 if ($this->getId() != "") {
1728 $this->tpl->setVariable("ID", 'id="' . $this->getId() . '"');
1729 }
1730
1731 // description
1732 if ($this->getDescription() != "") {
1733 $this->tpl->setCurrentBlock("tbl_header_description");
1734 $this->tpl->setVariable("TBL_DESCRIPTION", $this->getDescription());
1735 $this->tpl->parseCurrentBlock();
1736 }
1737
1738 if (!$this->getPrintMode()) {
1739 $this->renderFilter();
1740 }
1741
1742 if ($this->getDisplayAsBlock()) {
1743 $this->tpl->touchBlock("outer_start_1");
1744 $this->tpl->touchBlock("outer_end_1");
1745 } else {
1746 $this->tpl->touchBlock("outer_start_2");
1747 $this->tpl->touchBlock("outer_end_2");
1748 }
1749
1750 // table title and icon
1751 if ($this->enabled["title"] && ($this->title != ""
1752 || $this->icon != "" || count($this->header_commands) > 0 ||
1753 $this->headerHTML != "" || $this->close_command != "")) {
1754 if ($this->enabled["icon"]) {
1755 $this->tpl->setCurrentBlock("tbl_header_title_icon");
1756 $this->tpl->setVariable("TBL_TITLE_IMG", ilUtil::getImagePath($this->icon));
1757 $this->tpl->setVariable("TBL_TITLE_IMG_ALT", $this->icon_alt);
1758 $this->tpl->parseCurrentBlock();
1759 }
1760
1761 if (!$this->getPrintMode()) {
1762 foreach ($this->header_commands as $command) {
1763 if ($command["img"] != "") {
1764 $this->tpl->setCurrentBlock("tbl_header_img_link");
1765 if ($command["target"] != "") {
1766 $this->tpl->setVariable(
1767 "TARGET_IMG_LINK",
1768 'target="' . $command["target"] . '"'
1769 );
1770 }
1771 $this->tpl->setVariable("ALT_IMG_LINK", $command["text"]);
1772 $this->tpl->setVariable("HREF_IMG_LINK", $command["href"]);
1773 $this->tpl->setVariable(
1774 "SRC_IMG_LINK",
1775 $command["img"]
1776 );
1777 $this->tpl->parseCurrentBlock();
1778 } else {
1779 $this->tpl->setCurrentBlock("head_cmd");
1780 $this->tpl->setVariable("TXT_HEAD_CMD", $command["text"]);
1781 $this->tpl->setVariable("HREF_HEAD_CMD", $command["href"]);
1782 $this->tpl->parseCurrentBlock();
1783 }
1784 }
1785 }
1786
1787 if (isset($this->headerHTML)) {
1788 $this->tpl->setCurrentBlock("tbl_header_html");
1789 $this->tpl->setVariable("HEADER_HTML", $this->headerHTML);
1790 $this->tpl->parseCurrentBlock();
1791 }
1792
1793 // close command
1794 if ($this->close_command != "") {
1795 $this->tpl->setCurrentBlock("tbl_header_img_link");
1796 $this->tpl->setVariable("ALT_IMG_LINK", $lng->txt("close"));
1797 $this->tpl->setVariable("HREF_IMG_LINK", $this->close_command);
1798 $this->tpl->parseCurrentBlock();
1799 }
1800
1801 $this->tpl->setCurrentBlock("tbl_header_title");
1802 $this->tpl->setVariable("TBL_TITLE", $this->title);
1803 $this->tpl->setVariable("TOP_ANCHOR", $this->getTopAnchor());
1804 if ($this->getDisplayAsBlock()) {
1805 $this->tpl->setVariable("BLK_CLASS", "Block");
1806 }
1807 $this->tpl->parseCurrentBlock();
1808 }
1809
1810 // table header
1811 if ($this->enabled["header"]) {
1812 $this->fillHeader();
1813 }
1814
1815 $this->tpl->touchBlock("tbl_table_end");
1816
1817 return $this->tpl->get();
1818 }
getDescription()
Get description.
renderFilter()
Render Filter section.
getIsDataTable()
Get is data table.
getStyle($a_element)

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

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

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

◆ renderFilter()

ilTable2GUI::renderFilter ( )
private

Render Filter section.

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

1824 {
1825 global $DIC;
1826
1827 $lng = $this->lng;
1828 $main_tpl = $DIC["tpl"];
1829
1830 $filter = $this->getFilterItems();
1831 $opt_filter = $this->getFilterItems(true);
1832
1833 $main_tpl->addJavascript("./Services/Table/js/ServiceTable.js");
1834
1835 if (count($filter) == 0 && count($opt_filter) == 0) {
1836 return;
1837 }
1838
1839 include_once("./Services/YUI/classes/class.ilYuiUtil.php");
1841
1842 $ccnt = 0;
1843
1844 // render standard filter
1845 if (count($filter) > 0) {
1846 foreach ($filter as $item) {
1847 if ($ccnt >= $this->getFilterCols()) {
1848 $this->tpl->setCurrentBlock("filter_row");
1849 $this->tpl->parseCurrentBlock();
1850 $ccnt = 0;
1851 }
1852 $this->tpl->setCurrentBlock("filter_item");
1853 $this->tpl->setVariable(
1854 "OPTION_NAME",
1855 $item->getTitle()
1856 );
1857 $this->tpl->setVariable(
1858 "F_INPUT_ID",
1859 $item->getFieldId()
1860 );
1861 $this->tpl->setVariable(
1862 "INPUT_HTML",
1863 $item->getTableFilterHTML()
1864 );
1865 $this->tpl->parseCurrentBlock();
1866 $ccnt++;
1867 }
1868 }
1869
1870 // render optional filter
1871 if (count($opt_filter) > 0) {
1872 $this->determineSelectedFilters();
1873
1874 foreach ($opt_filter as $item) {
1875 if ($this->isFilterSelected($item->getPostVar())) {
1876 if ($ccnt >= $this->getFilterCols()) {
1877 $this->tpl->setCurrentBlock("filter_row");
1878 $this->tpl->parseCurrentBlock();
1879 $ccnt = 0;
1880 }
1881 $this->tpl->setCurrentBlock("filter_item");
1882 $this->tpl->setVariable(
1883 "OPTION_NAME",
1884 $item->getTitle()
1885 );
1886 $this->tpl->setVariable(
1887 "F_INPUT_ID",
1888 $item->getFieldId()
1889 );
1890 $this->tpl->setVariable(
1891 "INPUT_HTML",
1892 $item->getTableFilterHTML()
1893 );
1894 $this->tpl->parseCurrentBlock();
1895 $ccnt++;
1896 }
1897 }
1898
1899 // filter selection
1900 $items = array();
1901 foreach ($opt_filter as $item) {
1902 $k = $item->getPostVar();
1903 $items[$k] = array("txt" => $item->getTitle(),
1904 "selected" => $this->isFilterSelected($k));
1905 }
1906
1907 include_once("./Services/UIComponent/CheckboxListOverlay/classes/class.ilCheckboxListOverlayGUI.php");
1908 $cb_over = new ilCheckboxListOverlayGUI("tbl_filters_" . $this->getId());
1909 $cb_over->setLinkTitle($lng->txt("optional_filters"));
1910 $cb_over->setItems($items);
1911
1912 $cb_over->setFormCmd($this->getParentCmd());
1913 $cb_over->setFieldVar("tblff" . $this->getId());
1914 $cb_over->setHiddenVar("tblfsf" . $this->getId());
1915
1916 $cb_over->setSelectionHeaderClass("ilTableMenuItem");
1917 $this->tpl->setCurrentBlock("filter_select");
1918
1919 // apply should be the first submit because of enter/return, inserting hidden submit
1920 $this->tpl->setVariable("HIDDEN_CMD_APPLY", $this->filter_cmd);
1921
1922 $this->tpl->setVariable("FILTER_SELECTOR", $cb_over->getHTML());
1923 $this->tpl->parseCurrentBlock();
1924 }
1925
1926 // if any filter
1927 if ($ccnt > 0 || count($opt_filter) > 0) {
1928 $this->tpl->setVariable("TXT_FILTER", $lng->txt("filter"));
1929
1930 if ($ccnt > 0) {
1931 if ($ccnt < $this->getFilterCols()) {
1932 for ($i = $ccnt; $i<=$this->getFilterCols(); $i++) {
1933 $this->tpl->touchBlock("filter_empty_cell");
1934 }
1935 }
1936 $this->tpl->setCurrentBlock("filter_row");
1937 $this->tpl->parseCurrentBlock();
1938
1939 $this->tpl->setCurrentBlock("filter_buttons");
1940 $this->tpl->setVariable("CMD_APPLY", $this->filter_cmd);
1941 $this->tpl->setVariable("TXT_APPLY", $this->filter_cmd_txt
1942 ? $this->filter_cmd_txt
1943 : $lng->txt("apply_filter"));
1944 $this->tpl->setVariable("CMD_RESET", $this->reset_cmd);
1945 $this->tpl->setVariable("TXT_RESET", $this->reset_cmd_txt
1946 ? $this->reset_cmd_txt
1947 : $lng->txt("reset_filter"));
1948 } elseif (count($opt_filter) > 0) {
1949 $this->tpl->setCurrentBlock("optional_filter_hint");
1950 $this->tpl->setVariable('TXT_OPT_HINT', $lng->txt('optional_filter_hint'));
1951 $this->tpl->parseCurrentBlock();
1952 }
1953
1954 $this->tpl->setCurrentBlock("filter_section");
1955 $this->tpl->setVariable("FIL_ID", $this->getId());
1956 $this->tpl->parseCurrentBlock();
1957
1958 // (keep) filter hidden?
1959 if (!$this->isFilterVisible()) {
1960 if (!$this->getDisableFilterHiding()) {
1961 $this->tpl->setCurrentBlock("filter_hidden");
1962 $this->tpl->setVariable("FI_ID", $this->getId());
1963 $this->tpl->parseCurrentBlock();
1964 }
1965 }
1966 }
1967 }
getFilterCols()
Get filter columns.
isFilterVisible()
Check if filter is visible: manually shown (session, db) or default value set.
isFilterSelected($a_col)
Is given filter selected?
static initConnection(ilTemplate $a_main_tpl=null)
Init YUI Connection module.

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

Referenced by render().

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

◆ resetFilter()

ilTable2GUI::resetFilter ( )

Reset filter.

Reimplemented in arIndexTableGUI, and ilMailFolderTableGUI.

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

2045 {
2046 $lng = $this->lng;
2047
2048 $filter = $this->getFilterItems();
2049 $opt_filter = $this->getFilterItems(true);
2050
2051 foreach ($filter as $item) {
2052 if ($item->checkInput()) {
2053 $item->setValueByArray($_POST);
2054 $item->clearFromSession();
2055 }
2056 }
2057 foreach ($opt_filter as $item) {
2058 if ($item->checkInput()) {
2059 $item->setValueByArray($_POST);
2060 $item->clearFromSession();
2061 }
2062 }
2063
2064 // #13209
2065 unset($_REQUEST["tbltplcrt"]);
2066 unset($_REQUEST["tbltpldel"]);
2067 }

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

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

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

◆ resetOffset()

ilTable2GUI::resetOffset (   $a_in_determination = false)

◆ restoreTemplate()

ilTable2GUI::restoreTemplate (   $a_name)

Restore state from template.

Parameters
string$a_name
Returns
bool

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

2939 {
2940 global $DIC;
2941
2942 $ilUser = $DIC->user();
2943
2944 $a_name = ilUtil::stripSlashes($a_name);
2945
2946 if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
2947 include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
2948 $storage = new ilTableTemplatesStorage();
2949
2950 $data = $storage->load($this->getContext(), $ilUser->getId(), $a_name);
2951 if (is_array($data)) {
2952 foreach ($data as $property => $value) {
2953 $this->storeProperty($property, $value);
2954 }
2955 }
2956
2957 $data["filter_values"] = unserialize($data["filter_values"]);
2958 if ($data["filter_values"]) {
2959 $this->restore_filter_values = $data["filter_values"];
2960 }
2961
2962 $this->restore_filter = true;
2963
2964 return true;
2965 }
2966 return false;
2967 }
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled

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

Referenced by __construct().

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

◆ saveTemplate()

ilTable2GUI::saveTemplate (   $a_name)

Save current state as template.

Parameters
string$a_name
Returns
bool

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

2976 {
2977 global $DIC;
2978
2979 $ilUser = $DIC->user();
2980
2981 $a_name = ilUtil::prepareFormOutput($a_name, true);
2982
2983 if (trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID) {
2984 include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
2985 $storage = new ilTableTemplatesStorage();
2986
2987 $state = $this->getCurrentState();
2988 $state["filter_values"] = serialize($state["filter_values"]);
2989 $state["selfields"] = serialize($state["selfields"]);
2990 $state["selfilters"] = serialize($state["selfilters"]);
2991
2992 $storage->store($this->getContext(), $ilUser->getId(), $a_name, $state);
2993 return true;
2994 }
2995 return false;
2996 }
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10
getCurrentState()
get current settings for order, limit, columns and filter

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

Referenced by fillFooter().

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

◆ setCloseCommand()

ilTable2GUI::setCloseCommand (   $a_link)

Add command for closing table.

Parameters
string$a_linkclosing link
Deprecated:

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

1244 {
1245 $this->close_command = $a_link;
1246 }

◆ setCloseFormTag()

ilTable2GUI::setCloseFormTag (   $a_val)

Set close form tag.

Parameters
booleanclose form tag

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

183 {
184 $this->close_form_tag = $a_val;
185 }

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

+ Here is the caller graph for this function:

◆ setContext()

ilTable2GUI::setContext (   $id)

Set context.

Parameters
string$id

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

2876 {
2877 if (trim($id)) {
2878 $this->context = $id;
2879 }
2880 }

References $id.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setCustomPreviousNext()

ilTable2GUI::setCustomPreviousNext (   $a_prev_link,
  $a_next_link 
)

Set custom previous/next links.

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

907 {
908 $this->custom_prev_next = true;
909 $this->custom_prev = $a_prev_link;
910 $this->custom_next = $a_next_link;
911 }

◆ setData()

ilTable2GUI::setData (   $a_data)
final

set table data @access public

Parameters
arraytable data

Reimplemented from ilTableGUI.

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

560 {
561 // check column names against given data (to ensure proper sorting)
562 if (defined('DEVMODE') && DEVMODE &&
563 $this->enabled["header"] && $this->enabled["sort"] &&
564 $this->columns_determined && is_array($this->column) &&
565 is_array($a_data) && sizeof($a_data) && !$this->getExternalSorting()) {
566 $check = $a_data;
567 $check = array_keys(array_shift($check));
568 foreach ($this->column as $col) {
569 if ($col["sort_field"] && !in_array($col["sort_field"], $check)) {
570 $invalid[] = $col["sort_field"];
571 }
572 }
573
574 // this triggers an error, if some columns are not set for some rows
575 // which may just be a representation of "null" values, e.g.
576 // ilAdvancedMDValues:queryForRecords works that way.
577/* if(sizeof($invalid))
578 {
579 trigger_error("The following columns are defined as sortable but".
580 " cannot be found in the given data: ".implode(", ", $invalid).
581 ". Sorting will not work properly.", E_USER_WARNING);
582 }*/
583 }
584
585 $this->row_data = $a_data;
586 if (!is_array($this->row_data)) {
587 $this->row_data = [];
588 }
589 }
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27

References defined, and getExternalSorting().

Referenced by ilPresentationListTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilStyleTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilContSkillMemberTableGUI\__construct(), ilContSkillTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilIndividualAssessmentMembersTableGUI\__construct(), ilStudyProgrammeAcknowledgeCompletedCoursesTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilTestQuestionBrowserTableGUI\browseQuestionsCmd(), ilDclRecordListTableGUI\buildData(), ilOrgUnitPositionTableGUI\buildData(), ilOrgUnitPermissionTableGUI\collectData(), ilMailFolderTableGUI\fetchTableData(), ilHelpMappingTableGUI\getChapters(), ilBackgroundTaskTableGUI\getClients(), ilClientListTableGUI\getClients(), ilComponentsTableGUI\getComponents(), ilPluginsOverviewTableGUI\getComponents(), ilModulesTableGUI\getComponents(), ilWikiContributorsTableGUI\getContributors(), ilSessionMaterialsTableGUI\getDataFromDb(), ilHistoryTableGUI\getDataFromDb(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLMDownloadTableGUI\getDownloadFiles(), ilMemberExportFileTableGUI\getFiles(), ilNewItemGroupTableGUI\getGroups(), ilHelpModuleTableGUI\getHelpModules(), ilCourseGroupingTableGUI\getItems(), ilCourseGroupingAssignmentTableGUI\getItems(), ilLicenseOverviewTableGUI\getItems(), ilRoleDesktopItemsTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilBadgeTableGUI\getItems(), ilRatingCategoryTableGUI\getItems(), ilBadgeUserTableGUI\getItems(), ilBookingSchedulesTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilBadgePersonalTableGUI\getItems(), ilContributorTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilCourseVerificationTableGUI\getItems(), ilExAssignmentPeerReviewOverviewTableGUI\getItems(), ilExAssignmentPeerReviewTableGUI\getItems(), ilExAssignmentTeamLogTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilExcCriteriaTableGUI\getItems(), ilExerciseVerificationTableGUI\getItems(), ilTermUsagesTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilMediaPoolPageUsagesTableGUI\getItems(), ilMediaPoolTableGUI\getItems(), ilPollAnswerTableGUI\getItems(), ilPortfolioPageTableGUI\getItems(), ilPortfolioTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilSCORMVerificationTableGUI\getItems(), ilTestVerificationTableGUI\getItems(), ilObjWorkspaceFolderTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilBadgeImageTemplateTableGUI\getItems(), ilBadgeTypesTableGUI\getItems(), ilObjectBadgeTableGUI\getItems(), ilClipboardTableGUI\getItems(), ilContainerStartObjectsContentTableGUI\getItems(), ilPCIIMTriggerTableGUI\getItems(), ilPCImageMapTableGUI\getItems(), ilCronManagerTableGUI\getItems(), ilLanguageTableGUI\getItems(), ilLDAPRoleMappingTableGUI\getItems(), ilObjectConsumerTableGUI\getItems(), ilImageMapTableGUI\getItems(), ilMediaObjectUsagesTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAdminSubItemsTableGUI\getItems(), ilSamlIdpTableGUI\getItems(), ilStyleColorTableGUI\getItems(), ilStyleImageTableGUI\getItems(), ilStyleMediaQueryTableGUI\getItems(), ilTableTemplatesTableGUI\getItems(), ilLPObjectStatisticsAdminTableGUI\getItems(), ilLPObjectStatisticsDailyTableGUI\getItems(), ilLPObjectStatisticsLPTableGUI\getItems(), ilLPObjectStatisticsTableGUI\getItems(), ilLPObjectStatisticsTypesTableGUI\getItems(), ilLPProgressTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserRoleStartingPointTableGUI\getItems(), ilUserTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilSessionOverviewTableGUI\getItems(), ilSurveyResultsCumulatedTableGUI\getItems(), ilTrMatrixTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), ilWikiExportOrderTableGUI\getItems(), ilSurveyParticipantsTableGUI\getItems(), ilLinksTableGUI\getLinks(), ilItemGroupItemsTableGUI\getMaterials(), ilPageLayoutTableGUI\getPageLayouts(), ilWikiPagesTableGUI\getPages(), ilMilestoneResponsiblesTableGUI\getParticipantsAndResponsibles(), ilSurveySkillAssignmentTableGUI\getQuestions(), ilCopySelfAssQuestionTableGUI\getQuestions(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilObjectivesAlignmentTableGUI\getScos(), ilSurveySkillChangesTableGUI\getSkillLevelsForAppraisee(), ilSurveySkillTableGUI\getSkills(), ilSysStyleCatAssignmentTableGUI\getStyleCatAssignments(), ilSystemStylesTableGUI\getStyles(), ilSurveyQuestionTableGUI\importData(), ilSurveySyncTableGUI\importData(), ilLDAPServerTableGUI\importData(), ilWorkspaceAccessTableGUI\importData(), ilWorkspaceShareTableGUI\importData(), ilSurveyQuestionblockbrowserTableGUI\initData(), ilSurveyQuestionbrowserTableGUI\initData(), ilBibliographicRecordListTableGUI\initData(), ilMarkSchemaTableGUI\initData(), ilQuestionCumulatedStatisticsTableGUI\initData(), ilObjectOwnershipManagementTableGUI\initItems(), ilTaxonomyAdministrationRepositoryTableGUI\initItems(), SurveyConstraintsTableGUI\initItems(), ilCourseObjectiveMaterialAssignmentTableGUI\parse(), ilCourseObjectiveQuestionAssignmentTableGUI\parse(), ilObjectCustomUserFieldsTableGUI\parse(), ilSCTreeDuplicatesTableGUI\parse(), ilECSReleasedContentTableGUI\parse(), ilCourseObjectiveQuestionsTableGUI\parse(), ilCourseObjectivesTableGUI\parse(), ilECSCommunityTableGUI\parse(), ilECSImportedContentTableGUI\parse(), ilECSCategoryMappingTableGUI\parse(), ilLOTestAssignmentTableGUI\parse(), ilRoleSelectionTableGUI\parse(), ilRoleTableGUI\parse(), ilShibbolethRoleAssignmentTableGUI\parse(), ilLDAPRoleAssignmentTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilLOMemberTestResultTableGUI\parse(), ilExAssignmentListTextTableGUI\parse(), ilObjForumSearchResultTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilSCORMOfflineModeUsersTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilSessionParticipantsTableGUI\parse(), ilWebResourceEditableLinkTableGUI\parse(), ilWebResourceLinkTableGUI\parse(), ilObjWikiSearchResultTableGUI\parse(), ilObjectRolePermissionTableGUI\parse(), ilObjectRoleTemplateOptionsTableGUI\parse(), ilObjectRoleTemplatePermissionTableGUI\parse(), ilAuthLoginPageEditorTableGUI\parse(), ilCalendarCategoryTableGUI\parse(), ilCalendarInboxSharedTableGUI\parse(), ilCalendarManageTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilCalendarSharedRoleListTableGUI\parse(), ilCalendarSharedUserListTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilDidacticTemplateSettingsTableGUI\parse(), ilLogComponentTableGUI\parse(), ilLTIProviderReleasedObjectsTableGUI\parse(), ilObjectCopyProgressTableGUI\parse(), ilObjectTableGUI\parse(), ilSCGroupTableGUI\parse(), ilSCTaskTableGUI\parse(), ilUserClipboardTableGUI\parse(), ilECSNodeMappingTreeTableGUI\parse(), ilConsultationHourBookingTableGUI\parse(), ilConsultationHourGroupTableGUI\parse(), ilECSServerTableGUI\parse(), ilLPCollectionSettingsTableGUI\parse(), ilLuceneAdvancedSearchActivationTableGUI\parse(), ilExportSelectionTableGUI\parseContainer(), ilDclTableViewEditFieldsTableGUI\parseData(), ilOrgUnitUserAssignmentTableGUI\parseData(), ilOrgUnitOtherRolesTableGUI\parseData(), ilOrgUnitStaffTableGUI\parseData(), ilMemcacheServerTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ilMStListUsersTableGUI\parseData(), ilMStShowUserCoursesTableGUI\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(), ilAssQuestionSkillUsagesTableGUI\showCmd(), ilOrgUnitDefaultPermissionTableGUI\start(), and ilWebResourceEditableLinkTableGUI\updateFromPost().

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

◆ setDefaultFilterVisiblity()

ilTable2GUI::setDefaultFilterVisiblity (   $a_status)

Set default filter visiblity.

Parameters
bool$a_status

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

1159 {
1160 $this->default_filter_visibility = $a_status;
1161 }

Referenced by ilParticipantTableGUI\initFilter().

+ Here is the caller graph for this function:

◆ setDefaultOrderDirection()

ilTable2GUI::setDefaultOrderDirection (   $a_defaultorderdirection)

Set Default order direction.

Parameters
string$a_defaultorderdirectionDefault order direction

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

1140 {
1141 $this->defaultorderdirection = $a_defaultorderdirection;
1142 }

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

+ Here is the caller graph for this function:

◆ setDefaultOrderField()

ilTable2GUI::setDefaultOrderField (   $a_defaultorderfield)

Set Default order field.

Parameters
string$a_defaultorderfieldDefault order field

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

1120 {
1121 $this->defaultorderfield = $a_defaultorderfield;
1122 }

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

+ Here is the caller graph for this function:

◆ setDescription()

◆ setDisableFilterHiding()

◆ setDisplayAsBlock()

ilTable2GUI::setDisplayAsBlock (   $a_val)

Set display as block.

Parameters
booleandisplay as block

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

984 {
985 $this->display_as_block = $a_val;
986 }

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

+ Here is the caller graph for this function:

◆ setEnableAllCommand()

ilTable2GUI::setEnableAllCommand (   $a_value)

Enable actions for all entries in current result.

Parameters
bool$a_value

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

3278 {
3279 $this->enable_command_for_all = (bool) $a_value;
3280 }

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

+ Here is the caller graph for this function:

◆ setEnableHeader()

ilTable2GUI::setEnableHeader (   $a_enableheader)

Set Enable Header.

Parameters
boolean$a_enableheaderEnable Header

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

482 {
483 $this->enabled["header"] = $a_enableheader;
484 }

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

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

462 {
463 $this->enabled["title"] = $a_enabletitle;
464 }

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

+ Here is the caller graph for this function:

◆ setExportFormats()

ilTable2GUI::setExportFormats ( array  $formats)

◆ setExternalSegmentation()

ilTable2GUI::setExternalSegmentation (   $a_val)

Set external segmentation.

Parameters
booleandata is segmented externally

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

1088 {
1089 $this->ext_seg = $a_val;
1090 }

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

+ Here is the caller graph for this function:

◆ setExternalSorting()

ilTable2GUI::setExternalSorting (   $a_val)

Set external sorting.

Parameters
booleandata is sorted externally

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

1024 {
1025 $this->ext_sort = $a_val;
1026 }

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

+ Here is the caller graph for this function:

◆ setFilterCols()

ilTable2GUI::setFilterCols (   $a_val)

Set filter columns.

Parameters
intnumber of filter columns

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

790 {
791 $this->filter_cols = $a_val;
792 }

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

+ Here is the caller graph for this function:

◆ setFilterCommand()

◆ SetFilterValue()

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

Set current filter value.

Parameters
ilFormPropertyGUI$a_item
mixed$a_value

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

2859 {
2860 if (method_exists($a_item, "setChecked")) {
2861 $a_item->setChecked($a_value);
2862 } elseif (method_exists($a_item, "setValue")) {
2863 $a_item->setValue($a_value);
2864 } elseif (method_exists($a_item, "setDate")) {
2865 $a_item->setDate(new ilDate($a_value, IL_CAL_DATE));
2866 }
2867 $a_item->writeToSession();
2868 }
Class for single dates.
writeToSession()
Write to session.

References IL_CAL_DATE, and ilFormPropertyGUI\writeToSession().

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

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

◆ setFormAction()

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

Set Form action parameter.

Parameters
string$a_form_actionForm action
bvool$a_multipartForm multipart status

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

920 {
921 $this->form_action = $a_form_action;
922 $this->form_multipart = (bool) $a_multipart;
923 }

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

+ Here is the caller graph for this function:

◆ setFormName()

ilTable2GUI::setFormName (   $a_formname = "")

Set Form name.

Parameters
string$a_formnameForm name

Reimplemented from ilTableGUI.

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

941 {
942 $this->formname = $a_formname;
943 }

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

+ Here is the caller graph for this function:

◆ setHeaderHTML()

ilTable2GUI::setHeaderHTML (   $html)

set header html

Parameters
string$html

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

2742 {
2743 $this->headerHTML = $html;
2744 }
$html
Definition: example_001.php:87

References $html.

◆ setId()

ilTable2GUI::setId (   $a_val)

Set id.

Parameters
stringelement id

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

961 {
962 $this->id = $a_val;
963 if ($this->getPrefix() == "") {
964 $this->setPrefix($a_val);
965 }
966 }
setPrefix($a_prefix)
set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort...

References getPrefix(), and setPrefix().

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

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

◆ setIsDataTable()

ilTable2GUI::setIsDataTable (   $a_val)

Set is data table.

Parameters
booleanis data table

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

442 {
443 $this->datatable = $a_val;
444 }

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

+ Here is the caller graph for this function:

◆ setLimit()

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

set max.

datasets displayed per page @access public

Parameters
integerlimit
integerdefault limit

Reimplemented from ilTableGUI.

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

3339 {
3340 parent::setLimit($a_limit, $a_default_limit);
3341
3342 // #17077 - if limit is set "manually" to 9999, force rows selector off
3343 if ($a_limit == 9999 &&
3344 $this->limit_determined) {
3345 $this->rows_selector_off = true;
3346 }
3347 }

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

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

163 {
164 $this->open_form_tag = $a_val;
165 }

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

+ Here is the caller graph for this function:

◆ setOrderField()

ilTable2GUI::setOrderField (   $a_order_field)

set order column

Parameters
string(array) field name for ordering

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

550 {
551 $this->order_field = $a_order_field;
552 }

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

+ Here is the caller graph for this function:

◆ setOrderLink()

ilTable2GUI::setOrderLink (   $sort_field,
  $order_dir 
)

Reimplemented from ilTableGUI.

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

1340 {
1341 global $DIC;
1342
1343 $ilUser = $DIC->user();
1344
1346
1347 $hash = "";
1348 if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization")) {
1349 $hash = "#" . $this->getTopAnchor();
1350 }
1351
1352 $old = $_GET[$this->getNavParameter()];
1353
1354 // set order link
1355 $ilCtrl->setParameter(
1356 $this->parent_obj,
1357 $this->getNavParameter(),
1358 $sort_field . ":" . $order_dir . ":" . $this->offset
1359 );
1360 $this->tpl->setVariable(
1361 "TBL_ORDER_LINK",
1362 $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd) . $hash
1363 );
1364
1365 // set old value of nav variable
1366 $ilCtrl->setParameter(
1367 $this->parent_obj,
1368 $this->getNavParameter(),
1369 $old
1370 );
1371 }
$old

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

Referenced by fillHeader().

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

◆ setPrefix()

ilTable2GUI::setPrefix (   $a_prefix)
final

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

Parameters
stringprefix

Reimplemented from ilTableGUI.

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

607 {
608 $this->prefix = $a_prefix;
609 }

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

+ Here is the caller graph for this function:

◆ setPreventDoubleSubmission()

ilTable2GUI::setPreventDoubleSubmission (   $a_val)

Set prevent double submission.

Parameters
bool$a_valprevent double submission

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

3324 {
3325 $this->prevent_double_submission = $a_val;
3326 }

◆ setPrintMode()

ilTable2GUI::setPrintMode (   $a_value = false)

Toogle print mode.

Parameters
bool$a_value

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

3068 {
3069 $this->print_mode = (bool) $a_value;
3070 }

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

+ Here is the caller graph for this function:

◆ setResetCommand()

◆ setRowSelectorLabel()

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

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

3305 {
3306 $this->row_selector_label = $row_selector_label;
3307 return $this;
3308 }

References $row_selector_label.

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

+ Here is the caller graph for this function:

◆ setRowTemplate()

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

Set row template.

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

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

1109 {
1110 $this->row_template = $a_template;
1111 $this->row_template_dir = $a_template_dir;
1112 }

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

+ Here is the caller graph for this function:

◆ setSelectAllCheckbox()

ilTable2GUI::setSelectAllCheckbox (   $a_select_all_checkbox)

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

Parameters
string$a_select_all_checkboxname of the checkbox

Reimplemented from ilTableGUI.

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

1014 {
1015 $this->select_all_checkbox = $a_select_all_checkbox;
1016 }

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

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

2898 {
2899 $this->show_rows_selector = (bool) $a_value;
2900 }

Referenced by ilPresentationListTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilUserTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilOrgUnitDefaultPermissionTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilSamlIdpSelectionTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilOrgUnitUserAssignmentTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStListUsersTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilBibliographicRecordListTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilSessionParticipantsTableGUI\init(), ilRoleTableGUI\init(), ilLogComponentTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilForumTopicTableGUI\initMergeThreadsTable(), arDeleteGUI\initRowSelector(), arIndexTableGUI\initRowSelector(), ilConsultationHourBookingTableGUI\initTable(), and ilForumTopicTableGUI\initTopicsOverviewTable().

+ Here is the caller graph for this function:

◆ setShowTemplates()

◆ setTitle()

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

Set title and title icon.

Reimplemented from ilTableGUI.

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

520 {
521 parent::setTitle($a_title, $a_icon, $a_icon_alt);
522 }

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

+ Here is the caller graph for this function:

◆ setTopAnchor()

ilTable2GUI::setTopAnchor (   $a_val)

Set top anchor.

Parameters
stringtop anchor

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

402 {
403 $this->top_anchor = $a_val;
404 }

Referenced by ilBookmarkAdministrationTableGUI\__construct().

+ Here is the caller graph for this function:

◆ setTopCommands()

◆ storeNavParameter()

ilTable2GUI::storeNavParameter ( )

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

1554 {
1555 if ($this->getOrderField() != "") {
1556 $this->storeProperty("order", $this->getOrderField());
1557 }
1558 if ($this->getOrderDirection() != "") {
1559 $this->storeProperty("direction", $this->getOrderDirection());
1560 }
1561 //echo "-".$this->getOffset()."-";
1562 if ($this->getOffset() !== "") {
1563 $this->storeProperty("offset", $this->getOffset());
1564 }
1565 }

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

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

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

◆ storeProperty()

ilTable2GUI::storeProperty (   $type,
  $value 
)

Store table property.

Parameters
string$type
mixed$value

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

2753 {
2754 global $DIC;
2755
2756 $ilUser = null;
2757 if (isset($DIC["ilUser"])) {
2758 $ilUser = $DIC["ilUser"];
2759 }
2760
2761 if (is_object($ilUser) && $this->getId() != "") {
2762 include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
2763 $tab_prop = new ilTablePropertiesStorage();
2764
2765 $tab_prop->storeProperty($this->getId(), $ilUser->getId(), $type, $value);
2766 }
2767 }

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

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

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

◆ writeFilterToSession()

ilTable2GUI::writeFilterToSession ( )

Write filter values to session.

Reimplemented in ilMailFolderTableGUI.

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

2003 {
2004 $advmd_record_gui = null;
2005 if (method_exists($this, "getAdvMDRecordGUI")) {
2006 $advmd_record_gui = $this->getAdvMDRecordGUI();
2007 }
2008
2009 foreach ($this->getFilterItems() as $item) {
2010 if ($advmd_record_gui &&
2011 $this->isAdvMDFilter($advmd_record_gui, $item)) {
2012 continue;
2013 }
2014
2015 if ($item->checkInput()) {
2016 $item->setValueByArray($_POST);
2017 $item->writeToSession();
2018 }
2019 }
2020 foreach ($this->getFilterItems(true) as $item) {
2021 if ($advmd_record_gui &&
2022 $this->isAdvMDFilter($advmd_record_gui, $item)) {
2023 continue;
2024 }
2025
2026 if ($item->checkInput()) {
2027 $item->setValueByArray($_POST);
2028 $item->writeToSession();
2029 }
2030 }
2031
2032 if ($advmd_record_gui) {
2033 $advmd_record_gui->importFilter();
2034 }
2035
2036 // #13209
2037 unset($_REQUEST["tbltplcrt"]);
2038 unset($_REQUEST["tbltpldel"]);
2039 }
isAdvMDFilter(ilAdvancedMDRecordGUI $a_gui, $a_element)
Check if filter element is based on adv md.

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

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

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

Field Documentation

◆ $close_command

ilTable2GUI::$close_command = ""
protected

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

◆ $close_form_tag

ilTable2GUI::$close_form_tag = true
protected

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

Referenced by getCloseFormTag().

◆ $columns_determined

ilTable2GUI::$columns_determined = false
protected

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

◆ $context

ilTable2GUI::$context = ""
protected

◆ $ctrl

ilTable2GUI::$ctrl
protected

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

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

◆ $default_filter_visibility

ilTable2GUI::$default_filter_visibility = false
protected

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

Referenced by getDefaultFilterVisibility().

◆ $disable_filter_hiding

ilTable2GUI::$disable_filter_hiding = false
protected

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

Referenced by getDisableFilterHiding().

◆ $enable_command_for_all

ilTable2GUI::$enable_command_for_all
protected

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

◆ $export_formats

ilTable2GUI::$export_formats = []
protected

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

◆ $export_mode

ilTable2GUI::$export_mode
protected

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

Referenced by getExportMode().

◆ $ext_seg

ilTable2GUI::$ext_seg = false
protected

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

Referenced by getExternalSegmentation().

◆ $ext_sort

ilTable2GUI::$ext_sort = false
protected

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

Referenced by getExternalSorting().

◆ $filter_cmd

ilTable2GUI::$filter_cmd = 'applyFilter'
protected

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

Referenced by getFilterCommand().

◆ $filter_cols

ilTable2GUI::$filter_cols = 5
protected

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

Referenced by getFilterCols().

◆ $filters

ilTable2GUI::$filters = array()
protected

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

Referenced by getFilterItems().

◆ $filters_determined

ilTable2GUI::$filters_determined = false
protected

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

◆ $headerHTML

ilTable2GUI::$headerHTML
private

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

◆ $limit_determined

ilTable2GUI::$limit_determined = false
protected

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

◆ $mi_sel_buttons

ilTable2GUI::$mi_sel_buttons = []
protected

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

◆ $nav_determined

ilTable2GUI::$nav_determined = false
protected

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

◆ $open_form_tag

ilTable2GUI::$open_form_tag = true
protected

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

Referenced by getOpenFormTag().

◆ $optional_filters

ilTable2GUI::$optional_filters = array()
protected

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

Referenced by getFilterItems().

◆ $parent_cmd

◆ $parent_obj

◆ $prevent_double_submission

ilTable2GUI::$prevent_double_submission = true
protected

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

Referenced by getPreventDoubleSubmission().

◆ $print_mode

ilTable2GUI::$print_mode
protected

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

Referenced by getPrintMode().

◆ $reset_cmd

ilTable2GUI::$reset_cmd = 'resetFilter'
protected

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

Referenced by getResetCommand().

◆ $restore_filter

ilTable2GUI::$restore_filter
protected

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

◆ $restore_filter_values

ilTable2GUI::$restore_filter_values
protected

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

◆ $row_selector_label

ilTable2GUI::$row_selector_label
protected

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

Referenced by getRowSelectorLabel(), and setRowSelectorLabel().

◆ $rows_selector_off

ilTable2GUI::$rows_selector_off = false
protected

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

◆ $sel_buttons

ilTable2GUI::$sel_buttons = []
protected

Definition at line 91 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

◆ ACTION_ALL_LIMIT

const ilTable2GUI::ACTION_ALL_LIMIT = 1000

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

Referenced by getAllCommandLimit().

◆ EXPORT_CSV

const ilTable2GUI::EXPORT_CSV = 2

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

Referenced by exportData().

◆ EXPORT_EXCEL

const ilTable2GUI::EXPORT_EXCEL = 1

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

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

◆ FILTER_CHECKBOX

const ilTable2GUI::FILTER_CHECKBOX = 9

◆ FILTER_DATE

const ilTable2GUI::FILTER_DATE = 3

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

Referenced by addFilterItemByMetaType().

◆ FILTER_DATE_RANGE

◆ FILTER_DATETIME_RANGE

const ilTable2GUI::FILTER_DATETIME_RANGE = 8

◆ FILTER_DURATION_RANGE

const ilTable2GUI::FILTER_DURATION_RANGE = 7

◆ FILTER_LANGUAGE

const ilTable2GUI::FILTER_LANGUAGE = 4

◆ FILTER_NUMBER_RANGE

◆ FILTER_SELECT

◆ FILTER_TEXT


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