ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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="")
 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 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

 $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 = null
 
 $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
 

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 = "" 
)

Constructor.

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

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

90 {
91 global $lng;
92
93 parent::__construct(0, false);
94 $this->unique_id = md5(uniqid());
95 $this->parent_obj = $a_parent_obj;
96 $this->parent_cmd = $a_parent_cmd;
97 $this->buttons = array();
98 $this->header_commands = array();
99 $this->multi = array();
100 $this->hidden_inputs = array();
101 $this->formname = "table_" . $this->unique_id;
102 $this->tpl = new ilTemplate("tpl.table2.html", true, true, "Services/Table");
103
104 $lng->loadLanguageModule('tbl');
105
106 if(!$a_template_context)
107 {
108 $a_template_context = $this->getId();
109 }
110 $this->setContext($a_template_context);
111
112 // activate export mode
113 if(isset($_GET[$this->prefix."_xpt"]))
114 {
115 $this->export_mode = (int)$_GET[$this->prefix."_xpt"];
116 }
117
118 // template handling
119 if(isset($_GET[$this->prefix."_tpl"]))
120 {
121 $this->restoreTemplate($_GET[$this->prefix."_tpl"]);
122 }
123
124 $this->determineLimit();
125 $this->setIsDataTable(true);
126 $this->setEnableNumInfo(true);
128 }
$_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 $lng
Definition: privfeed.php:17

References $_GET, $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 1328 of file class.ilTable2GUI.php.

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

Referenced by 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(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLMMultiSrtConfirmationTable2GUI\__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(), ilHelpModuleTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilRendererTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilTrashTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilSkillProfileTableGUI\__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(), ilFileSystemTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLinksTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilUserTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilSkillCatTableGUI\__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(), ilAdminSubItemsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilContributorTableGUI\__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(), 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(), ilPDNewsTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__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(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__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(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilNotificationSettingsTable\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilStudyProgrammeTypeTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilObjBibliographicAdminTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\addColumns(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\addColumns(), ilExportTableGUI\addCustomColumn(), arIndexTableGUI\addMultipleSelectionColumn(), ilLOMemberTestResultTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilListOfQuestionsTableGUI\init(), ilRoleTableGUI\init(), ilDidacticTemplateSettingsTableGUI\init(), ilLogComponentTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilObjectTableGUI\init(), ilSCGroupTableGUI\init(), ilSCTaskTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilUserClipboardTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilTestDynamicQuestionSetStatisticTableGUI\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(), 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(), ilLinkCheckerTableGUI\prepareHTML(), ilMailFolderTableGUI\prepareHTML(), ilExportTableGUI\prepareOutput(), ilTestToplistGUI\prepareTable(), ilOrgUnitOtherRolesTableGUI\setTableHeaders(), and ilOrgUnitStaffTableGUI\setTableHeaders().

+ Here is the caller graph for this function:

◆ addCommandButton()

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

Add Command button.

Parameters
stringCommand
stringText

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

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

Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLMMultiSrtConfirmationTable2GUI\__construct(), ilPollAnswerTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilPageLayoutTableGUI\__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(), ilLMMenuItemsTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__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(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\addCommands(), ilObjStudyProgrammeIndividualPlanGUI\appendIndividualPlanActions(), 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(), ilLPCollectionSettingsTableGUI\parse(), ilExerciseMemberTableGUI\parseData(), ilExParticipantTableGUI\parseData(), ilLinkCheckerTableGUI\prepareHTML(), ilMediaPoolTableGUI\prepareOutput(), ilMultilingualismTableGUI\prepareOutput(), ilObjectTranslation2TableGUI\prepareOutput(), and ilObjectTranslationTableGUI\prepareOutput().

+ Here is the caller graph for this function:

◆ addCommandButtonInstance()

ilTable2GUI::addCommandButtonInstance ( ilButtonBase  $a_button)

Add Command button instance.

Parameters
ilButtonBase$a_button

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

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

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

+ Here is the caller graph for this function:

◆ addFilterItem()

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

Add filter item.

Filter items are property form inputs that implement the ilTableFilterItem interface

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

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

Referenced by addFilterItemByMetaType(), 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(), 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 651 of file class.ilTable2GUI.php.

652 {
653 global $lng;
654
655 if(!$caption)
656 {
657 $caption = $lng->txt($id);
658 }
659
660 include_once("./Services/Form/classes/class.ilPropertyFormGUI.php");
661
662 switch($type)
663 {
665 include_once("./Services/Form/classes/class.ilSelectInputGUI.php");
666 $item = new ilSelectInputGUI($caption, $id);
667 break;
668
670 include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
671 $item = new ilDateTimeInputGUI($caption, $id);
672 break;
673
675 include_once("./Services/Form/classes/class.ilTextInputGUI.php");
676 $item = new ilTextInputGUI($caption, $id);
677 $item->setMaxLength(64);
678 $item->setSize(20);
679 // $item->setSubmitFormOnEnter(true);
680 break;
681
683 $lng->loadLanguageModule("meta");
684 include_once("./Services/Form/classes/class.ilSelectInputGUI.php");
685 $item = new ilSelectInputGUI($caption, $id);
686 $options = array("" => $lng->txt("trac_all"));
687 foreach ($lng->getInstalledLanguages() as $lang_key)
688 {
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 }
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(!is_array($argv)) $options

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

Referenced by arIndexTableGUI\addFilterField(), ilDclBooleanFieldRepresentation\addFilterInputFieldToTable(), ilDclDatetimeFieldRepresentation\addFilterInputFieldToTable(), ilDclFileuploadFieldRepresentation\addFilterInputFieldToTable(), ilDclIliasReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclMobFieldRepresentation\addFilterInputFieldToTable(), ilDclNumberFieldRepresentation\addFilterInputFieldToTable(), ilDclRatingFieldRepresentation\addFilterInputFieldToTable(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclTextFieldRepresentation\addFilterInputFieldToTable(), ilBookingObjectsTableGUI\initFilter(), ilCourseParticipantsGroupsTableGUI\initFilter(), ilExerciseSubmissionTableGUI\initFilter(), ilSCORMTrackingUsersTableGUI\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 1295 of file class.ilTable2GUI.php.

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

◆ addHiddenInput()

ilTable2GUI::addHiddenInput (   $a_name,
  $a_value 
)

Add Hidden Input field.

Parameters
stringName
stringValue

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

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

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

+ Here is the caller graph for this function:

◆ addMultiCommand()

ilTable2GUI::addMultiCommand (   $a_cmd,
  $a_text 
)

Add Command button.

Parameters
stringCommand
stringText

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

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

Referenced by 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(), ilHelpModuleTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilTrashTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilSkillProfileTableGUI\__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(), ilFileSystemTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilUserTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilRoleDesktopItemsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilContributorTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__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(), ilLOTestAssignmentTableGUI\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(), ilLPCollectionSettingsTableGUI\parse(), ilMediaPoolTableGUI\prepareOutput(), ilMultilingualismTableGUI\prepareOutput(), ilObjectTranslation2TableGUI\prepareOutput(), and ilObjectTranslationTableGUI\prepareOutput().

+ Here is the caller graph for this function:

◆ addMultiItemSelectionButton()

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

Add Selection List + Command button for selected items.

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

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

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

References addHiddenInput().

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

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

◆ addSelectionButton()

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

Add Selection List + Command button.

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

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

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

◆ clearCommandButtons()

ilTable2GUI::clearCommandButtons ( )

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

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

Referenced by ilObjectCustomUserFieldsTableGUI\parse().

+ Here is the caller graph for this function:

◆ dataExists()

ilTable2GUI::dataExists ( )
final

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

591 {
592 if (is_array($this->row_data))
593 {
594 if (count($this->row_data) > 0)
595 {
596 return true;
597 }
598 }
599 return false;
600 }

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

3110 {
3111 global $ilUser;
3112
3113 $a_name = ilUtil::prepareFormOutput($a_name, true);
3114
3115 if(trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID)
3116 {
3117 include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
3118 $storage = new ilTableTemplatesStorage();
3119 $storage->delete($this->getContext(), $ilUser->getId(), $a_name);
3120 return true;
3121 }
3122 return false;
3123 }
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 $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 173 of file class.ilTable2GUI.php.

174 {
175 global $ilUser;
176
177 if ($this->limit_determined)
178 {
179 return;
180 }
181
182 $limit = 0;
183 if (isset($_GET[$this->prefix."_trows"]))
184 {
185 $this->storeProperty("rows", $_GET[$this->prefix."_trows"]);
186 $limit = $_GET[$this->prefix."_trows"];
187 $this->resetOffset();
188 }
189
190 if ($limit == 0)
191 {
192 $rows = $this->loadProperty("rows");
193 if ($rows > 0)
194 {
195 $limit = $rows;
196 }
197 else
198 {
199 if (is_object($ilUser))
200 {
201 $limit = $ilUser->getPref("hits_per_page");
202 }
203 else
204 {
205 $limit = 40;
206 }
207 }
208 }
209
210 $this->setLimit($limit);
211 $this->limit_determined = true;
212 }
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.

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

Referenced by __construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), getCurrentState(), 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 1510 of file class.ilTable2GUI.php.

1511 {
1512 global $ilUser;
1513
1514 if ($this->nav_determined)
1515 {
1516 return true;
1517 }
1518
1519 if ($_POST[$this->getNavParameter()."1"] != "")
1520 {
1521 if ($_POST[$this->getNavParameter()."1"] != $_POST[$this->getNavParameter()])
1522 {
1523 $this->nav_value = $_POST[$this->getNavParameter()."1"];
1524 }
1525 else if ($_POST[$this->getNavParameter()."2"] != $_POST[$this->getNavParameter()])
1526 {
1527 $this->nav_value = $_POST[$this->getNavParameter()."2"];
1528 }
1529 }
1530 elseif($_GET[$this->getNavParameter()])
1531 {
1532 $this->nav_value = $_GET[$this->getNavParameter()];
1533 }
1534 elseif($_SESSION[$this->getNavParameter()] != "")
1535 {
1536 $this->nav_value = $_SESSION[$this->getNavParameter()];
1537 }
1538
1539 if ($this->nav_value == "" && $this->getId() != "" && $ilUser->getId() != ANONYMOUS_USER_ID)
1540 {
1541 $order = $this->loadProperty("order");
1542 if (in_array($order, $this->sortable_fields))
1543 {
1544 $direction = $this->loadProperty("direction");
1545 }
1546 else
1547 {
1548 $direction = $this->getDefaultOrderDirection();
1549 }
1550 // get order and direction from db
1551 $this->nav_value =
1552 $order.":".
1553 $direction.":".
1554 $this->loadProperty("offset");
1555 }
1556 $nav = explode(":", $this->nav_value);
1557
1558 // $nav[0] is order by
1559 $this->setOrderField(($nav[0] != "") ? $nav[0] : $this->getDefaultOrderField());
1560 $this->setOrderDirection(($nav[1] != "") ? $nav[1] : $this->getDefaultOrderDirection());
1561
1562 if (!$a_omit_offset)
1563 {
1564 // #8904: offset must be discarded when no limit is given
1565 if(!$this->getExternalSegmentation() && $this->limit_determined && $this->limit == 9999)
1566 {
1567 $this->resetOffset(true);
1568 }
1569 else if (!$this->getExternalSegmentation() && $nav[2] >= $this->max_count)
1570 {
1571 $this->resetOffset(true);
1572 }
1573 else
1574 {
1575 $this->setOffset($nav[2]);
1576 }
1577 }
1578
1579 if (!$a_omit_offset)
1580 {
1581 $this->nav_determined = true;
1582 }
1583 }
$_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, $ilUser, getDefaultOrderDirection(), getDefaultOrderField(), getExternalSegmentation(), getId(), getNavParameter(), loadProperty(), resetOffset(), ilTableGUI\setOffset(), ilTableGUI\setOrderDirection(), and setOrderField().

Referenced by ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilLPTableBaseGUI\executeCommand(), exportData(), 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(), 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 227 of file class.ilTable2GUI.php.

228 {
229 if ($this->columns_determined)
230 {
231 return;
232 }
233
234 $old_sel = $this->loadProperty("selfields");
235
236 $stored = false;
237 if ($old_sel != "")
238 {
239 $sel_fields =
240 @unserialize($old_sel);
241 $stored = true;
242 }
243 if(!is_array($sel_fields))
244 {
245 $stored = false;
246 $sel_fields = array();
247 }
248
249 $this->selected_columns = array();
250 $set = false;
251 foreach ($this->getSelectableColumns() as $k => $c)
252 {
253 $this->selected_column[$k] = false;
254
255 $new_column = ($sel_fields[$k] === NULL);
256
257 if ($_POST["tblfsh".$this->getId()])
258 {
259 $set = true;
260 if (is_array($_POST["tblfs".$this->getId()]) && in_array($k, $_POST["tblfs".$this->getId()]))
261 {
262 $this->selected_column[$k] = true;
263 }
264 }
265 else if ($stored && !$new_column) // take stored values
266 {
267 $this->selected_column[$k] = $sel_fields[$k];
268 }
269 else // take default values
270 {
271 if ($new_column)
272 {
273 $set = true;
274 }
275 if ($c["default"])
276 {
277 $this->selected_column[$k] = true;
278 }
279 }
280 }
281
282 if ($old_sel != serialize($this->selected_column) && $set)
283 {
284 $this->storeProperty("selfields", serialize($this->selected_column));
285 }
286
287 $this->columns_determined = true;
288 }
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 865 of file class.ilTable2GUI.php.

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

324 {
325 global $ilCtrl;
326
327 $next_class = $ilCtrl->getNextClass($this);
328 $cmd = $ilCtrl->getCmd();
329
330 switch($next_class)
331 {
332 case 'ilformpropertydispatchgui':
333 include_once './Services/Form/classes/class.ilFormPropertyDispatchGUI.php';
334 $form_prop_dispatch = new ilFormPropertyDispatchGUI();
335 $this->initFilter();
336 $item = $this->getFilterItemByPostVar($_GET["postvar"]);
337 $form_prop_dispatch->setItem($item);
338 return $ilCtrl->forwardCommand($form_prop_dispatch);
339 break;
340
341 }
342 return false;
343 }
initFilter()
Init filter.
getFilterItemByPostVar($a_post_var)
global $ilCtrl
Definition: ilias.php:18
$cmd
Definition: sahs_server.php:35

References $_GET, $cmd, $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 3204 of file class.ilTable2GUI.php.

3205 {
3206 if($this->dataExists())
3207 {
3208 // #9640: sort
3209 if (!$this->getExternalSorting() && $this->enabled["sort"])
3210 {
3211 $this->determineOffsetAndOrder(true);
3212
3213 $this->row_data = ilUtil::sortArray($this->row_data, $this->getOrderField(),
3214 $this->getOrderDirection(), $this->numericOrdering($this->getOrderField()));
3215 }
3216
3217 $filename = "export";
3218
3219 switch($format)
3220 {
3221 case self::EXPORT_EXCEL:
3222 include_once "./Services/Excel/classes/class.ilExcel.php";
3223 $excel = new ilExcel();
3224 $excel->addSheet($this->title
3225 ? $this->title
3226 : $this->lng->txt("export"));
3227 $row = 1;
3228
3229 ob_start();
3230 $this->fillMetaExcel($excel, $row); // row must be increment in fillMetaExcel()! (optional method)
3231
3232 // #14813
3233 $pre = $row;
3234 $this->fillHeaderExcel($excel, $row); // row should NOT be incremented in fillHeaderExcel()! (required method)
3235 if($pre == $row)
3236 {
3237 $row++;
3238 }
3239
3240 foreach($this->row_data as $set)
3241 {
3242 $this->fillRowExcel($excel, $row, $set);
3243 $row++; // #14760
3244 }
3245 ob_end_clean();
3246
3247 if($send)
3248 {
3249 $excel->sendToClient($filename);
3250 }
3251 else
3252 {
3253 $excel->writeToFile($filename);
3254 }
3255 break;
3256
3257 case self::EXPORT_CSV:
3258 include_once "./Services/Utilities/classes/class.ilCSVWriter.php";
3259 $csv = new ilCSVWriter();
3260 $csv->setSeparator(";");
3261
3262 ob_start();
3263 $this->fillMetaCSV($csv);
3264 $this->fillHeaderCSV($csv);
3265 foreach($this->row_data as $set)
3266 {
3267 $this->fillRowCSV($csv, $set);
3268 }
3269 ob_end_clean();
3270
3271 if($send)
3272 {
3273 $filename .= ".csv";
3274 header("Content-type: text/comma-separated-values");
3275 header("Content-Disposition: attachment; filename=\"".$filename."\"");
3276 header("Expires: 0");
3277 header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
3278 header("Pragma: public");
3279 echo $csv->getCSVString();
3280
3281 }
3282 else
3283 {
3284 file_put_contents($filename, $csv->getCSVString());
3285 }
3286 break;
3287 }
3288
3289 if($send)
3290 {
3291 exit();
3292 }
3293 }
3294 }
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

References $filename, $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 2603 of file class.ilTable2GUI.php.

2604 {
2605 global $lng;
2606
2607 // action row
2608 $action_row = false;
2609 $arrow = false;
2610
2611 // add selection buttons
2612 if (count($this->sel_buttons) > 0)
2613 {
2614 foreach ($this->sel_buttons as $button)
2615 {
2616 $this->tpl->setCurrentBlock("sel_button");
2617 $this->tpl->setVariable("SBUTTON_SELECT",
2618 ilUtil::formSelect($button["selected"], $button["sel_var"],
2619 $button["options"], false, true));
2620 $this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
2621 $this->tpl->setVariable("SBTN_VALUE", $button["text"]);
2622 $this->tpl->parseCurrentBlock();
2623
2624 if ($this->getTopCommands())
2625 {
2626 $this->tpl->setCurrentBlock("sel_top_button");
2627 $this->tpl->setVariable("SBUTTON_SELECT",
2628 ilUtil::formSelect($button["selected"], $button["sel_var"],
2629 $button["options"], false, true));
2630 $this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
2631 $this->tpl->setVariable("SBTN_VALUE", $button["text"]);
2632 $this->tpl->parseCurrentBlock();
2633 }
2634 }
2635 $buttons = true;
2636 $action_row = true;
2637 }
2638 $this->sel_buttons[] = array("options" => $a_options, "cmd" => $a_cmd, "text" => $a_text);
2639
2640 // add buttons
2641 if (count($this->buttons) > 0)
2642 {
2643 foreach ($this->buttons as $button)
2644 {
2645 if(!is_array($button))
2646 {
2647 if($button instanceof ilButtonBase)
2648 {
2649 $this->tpl->setVariable('BUTTON_OBJ', $button->render());
2650
2651 // this will remove id - should be unique
2652 $button = clone $button;
2653
2654 $this->tpl->setVariable('BUTTON_TOP_OBJ', $button->render());
2655 }
2656 continue;
2657 }
2658
2659 if (strlen($button['onclick']))
2660 {
2661 $this->tpl->setCurrentBlock('cmdonclick');
2662 $this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
2663 $this->tpl->parseCurrentBlock();
2664 }
2665 $this->tpl->setCurrentBlock("plain_button");
2666 if ($button["id"] != "")
2667 {
2668 $this->tpl->setVariable("PBID", ' id="'.$button["id"].'" ');
2669 }
2670 if ($button["class"] != "")
2671 {
2672 $this->tpl->setVariable("PBBT_CLASS", ' '.$button["class"]);
2673 }
2674 $this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
2675 $this->tpl->setVariable("PBTN_VALUE", $button["text"]);
2676 $this->tpl->parseCurrentBlock();
2677
2678 if ($this->getTopCommands())
2679 {
2680 if (strlen($button['onclick']))
2681 {
2682 $this->tpl->setCurrentBlock('top_cmdonclick');
2683 $this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
2684 $this->tpl->parseCurrentBlock();
2685 }
2686 $this->tpl->setCurrentBlock("plain_top_button");
2687 $this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
2688 $this->tpl->setVariable("PBTN_VALUE", $button["text"]);
2689 if ($button["class"] != "")
2690 {
2691 $this->tpl->setVariable("PBBT_CLASS", ' '.$button["class"]);
2692 }
2693 $this->tpl->parseCurrentBlock();
2694 }
2695 }
2696
2697 $buttons = true;
2698 $action_row = true;
2699 }
2700
2701 // multi selection
2702 if(count($this->mi_sel_buttons))
2703 {
2704 foreach ($this->mi_sel_buttons as $button)
2705 {
2706 $this->tpl->setCurrentBlock("mi_sel_button");
2707 $this->tpl->setVariable("MI_BUTTON_SELECT",
2708 ilUtil::formSelect($button["selected"], $button["sel_var"],
2709 $button["options"], false, true));
2710 $this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
2711 $this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
2712 $this->tpl->parseCurrentBlock();
2713
2714 if ($this->getTopCommands())
2715 {
2716 $this->tpl->setCurrentBlock("mi_top_sel_button");
2717 $this->tpl->setVariable("MI_BUTTON_SELECT",
2718 ilUtil::formSelect($button["selected"], $button["sel_var"]."_2",
2719 $button["options"], false, true));
2720 $this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
2721 $this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
2722 $this->tpl->parseCurrentBlock();
2723 }
2724
2725 }
2726 $arrow = true;
2727 $action_row = true;
2728 }
2729
2730
2731 if (count($this->multi) > 1 && $this->dataExists())
2732 {
2733 if($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit())
2734 {
2735 $this->tpl->setCurrentBlock("tbl_cmd_select_all");
2736 $this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
2737 $this->tpl->parseCurrentBlock();
2738 }
2739
2740 $this->tpl->setCurrentBlock("tbl_cmd_select");
2741 $sel = array();
2742 foreach ($this->multi as $mc)
2743 {
2744 $sel[$mc["cmd"]] = $mc["text"];
2745 }
2746 $this->tpl->setVariable("SELECT_CMDS",
2747 ilUtil::formSelect("", "selected_cmd", $sel, false, true));
2748 $this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
2749 $this->tpl->parseCurrentBlock();
2750 $arrow = true;
2751 $action_row = true;
2752
2753 if ($this->getTopCommands())
2754 {
2755 if($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit())
2756 {
2757 $this->tpl->setCurrentBlock("tbl_top_cmd_select_all");
2758 $this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
2759 $this->tpl->parseCurrentBlock();
2760 }
2761
2762 $this->tpl->setCurrentBlock("tbl_top_cmd_select");
2763 $sel = array();
2764 foreach ($this->multi as $mc)
2765 {
2766 $sel[$mc["cmd"]] = $mc["text"];
2767 }
2768 $this->tpl->setVariable("SELECT_CMDS",
2769 ilUtil::formSelect("", "selected_cmd2", $sel, false, true));
2770 $this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
2771 $this->tpl->parseCurrentBlock();
2772 }
2773 }
2774 elseif(count($this->multi) == 1 && $this->dataExists())
2775 {
2776 $this->tpl->setCurrentBlock("tbl_single_cmd");
2777 $sel = array();
2778 foreach ($this->multi as $mc)
2779 {
2780 $cmd = $mc['cmd'];
2781 $txt = $mc['text'];
2782 }
2783 $this->tpl->setVariable("TXT_SINGLE_CMD",$txt);
2784 $this->tpl->setVariable("SINGLE_CMD",$cmd);
2785 $this->tpl->parseCurrentBlock();
2786 $arrow = true;
2787 $action_row = true;
2788
2789 if ($this->getTopCommands())
2790 {
2791 $this->tpl->setCurrentBlock("tbl_top_single_cmd");
2792 $sel = array();
2793 foreach ($this->multi as $mc)
2794 {
2795 $cmd = $mc['cmd'];
2796 $txt = $mc['text'];
2797 }
2798 $this->tpl->setVariable("TXT_SINGLE_CMD",$txt);
2799 $this->tpl->setVariable("SINGLE_CMD",$cmd);
2800 $this->tpl->parseCurrentBlock();
2801 }
2802 }
2803
2804 if ($arrow)
2805 {
2806 $this->tpl->setCurrentBlock("tbl_action_img_arrow");
2807 $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_downright.svg"));
2808 $this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
2809 $this->tpl->parseCurrentBlock();
2810
2811 if ($this->getTopCommands())
2812 {
2813 $this->tpl->setCurrentBlock("tbl_top_action_img_arrow");
2814 $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_upright.svg"));
2815 $this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
2816 $this->tpl->parseCurrentBlock();
2817 }
2818 }
2819
2820 if ($action_row)
2821 {
2822 $this->tpl->setCurrentBlock("tbl_action_row");
2823 $this->tpl->parseCurrentBlock();
2824 if ($this->getTopCommands())
2825 {
2826 $this->tpl->setCurrentBlock("tbl_top_action_row");
2827 $this->tpl->parseCurrentBlock();
2828 }
2829 }
2830 }
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:12

References $cmd, $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 2152 of file class.ilTable2GUI.php.

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

References $ilCtrl, $ilUser, $layout, ilTableGUI\$limit, $lng, ilTableGUI\$max_count, $options, $start, $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 1377 of file class.ilTable2GUI.php.

1378 {
1379 global $lng;
1380
1381 $allcolumnswithwidth = true;
1382 foreach ((array) $this->column as $idx => $column)
1383 {
1384 if (!strlen($column["width"]))
1385 {
1386 $allcolumnswithwidth = false;
1387 }
1388 else if($column["width"] == "1")
1389 {
1390 // IE does not like 1 but seems to work with 1%
1391 $this->column[$idx]["width"] = "1%";
1392 }
1393 }
1394 if ($allcolumnswithwidth)
1395 {
1396 foreach ((array) $this->column as $column)
1397 {
1398 $this->tpl->setCurrentBlock("tbl_colgroup_column");
1399 $this->tpl->setVariable("COLGROUP_COLUMN_WIDTH", $column["width"]);
1400 $this->tpl->parseCurrentBlock();
1401 }
1402 }
1403 $ccnt = 0;
1404 foreach ((array) $this->column as $column)
1405 {
1406 $ccnt++;
1407 //tooltip
1408 if ($column["tooltip"] != "")
1409 {
1410 include_once("./Services/UIComponent/Tooltip/classes/class.ilTooltipGUI.php");
1411 ilTooltipGUI::addTooltip("thc_".$this->getId()."_".$ccnt, $column["tooltip"],
1412 "", "bottom center", "top center", !$column["tooltip_html"]);
1413 }
1414 if (!$this->enabled["sort"] || $column["sort_field"] == "" || $column["is_checkbox_action_column"])
1415 {
1416 $this->tpl->setCurrentBlock("tbl_header_no_link");
1417 if ($column["width"] != "")
1418 {
1419 $this->tpl->setVariable("TBL_COLUMN_WIDTH_NO_LINK"," width=\"".$column["width"]."\"");
1420 }
1421 if ($column["class"] != "")
1422 {
1423 $this->tpl->setVariable("TBL_COLUMN_CLASS_NO_LINK"," class=\"".$column["class"]."\"");
1424 }
1425 if (!$column["is_checkbox_action_column"])
1426 {
1427 $this->tpl->setVariable("TBL_HEADER_CELL_NO_LINK",
1428 $column["text"]);
1429 }
1430 else
1431 {
1432 $this->tpl->setVariable("TBL_HEADER_CELL_NO_LINK",
1433 ilUtil::img(ilUtil::getImagePath("spacer.png"), $lng->txt("action")));
1434 }
1435 $this->tpl->setVariable("HEAD_CELL_NL_ID", "thc_".$this->getId()."_".$ccnt);
1436 if ($column["class"] != "")
1437 {
1438 $this->tpl->setVariable("TBL_HEADER_CLASS"," " . $column["class"]);
1439 }
1440 $this->tpl->parseCurrentBlock();
1441 $this->tpl->touchBlock("tbl_header_th");
1442 continue;
1443 }
1444 if (($column["sort_field"] == $this->order_field) && ($this->order_direction != ""))
1445 {
1446 $this->tpl->setCurrentBlock("tbl_order_image");
1447 if ($this->order_direction == "asc")
1448 {
1449 $this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-up");
1450 }
1451 else
1452 {
1453 $this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-down");
1454 }
1455 $this->tpl->setVariable("IMG_ORDER_ALT", $this->lng->txt("change_sort_direction"));
1456 $this->tpl->parseCurrentBlock();
1457 }
1458
1459 $this->tpl->setCurrentBlock("tbl_header_cell");
1460 $this->tpl->setVariable("TBL_HEADER_CELL", $column["text"]);
1461 $this->tpl->setVariable("HEAD_CELL_ID", "thc_".$this->getId()."_".$ccnt);
1462
1463 // only set width if a value is given for that column
1464 if ($column["width"] != "")
1465 {
1466 $this->tpl->setVariable("TBL_COLUMN_WIDTH"," width=\"".$column["width"]."\"");
1467 }
1468 if ($column["class"] != "")
1469 {
1470 $this->tpl->setVariable("TBL_COLUMN_CLASS"," class=\"".$column["class"]."\"");
1471 }
1472
1473 $lng_sort_column = $this->lng->txt("sort_by_this_column");
1474 $this->tpl->setVariable("TBL_ORDER_ALT",$lng_sort_column);
1475
1476 $order_dir = "asc";
1477
1478 if ($column["sort_field"] == $this->order_field)
1479 {
1480 $order_dir = $this->sort_order;
1481
1482 $lng_change_sort = $this->lng->txt("change_sort_direction");
1483 $this->tpl->setVariable("TBL_ORDER_ALT",$lng_change_sort);
1484 }
1485
1486 if ($column["class"] != "")
1487 {
1488 $this->tpl->setVariable("TBL_HEADER_CLASS"," " . $column["class"]);
1489 }
1490 $this->setOrderLink($column["sort_field"], $order_dir);
1491 $this->tpl->parseCurrentBlock();
1492 $this->tpl->touchBlock("tbl_header_th");
1493 }
1494
1495 $this->tpl->setCurrentBlock("tbl_header");
1496 $this->tpl->parseCurrentBlock();
1497 }
$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, $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 3367 of file class.ilTable2GUI.php.

3368 {
3369 foreach ($this->column as $column)
3370 {
3371 $title = strip_tags($column["text"]);
3372 if($title)
3373 {
3374 $a_csv->addColumn($title);
3375 }
3376 }
3377 $a_csv->addRow();
3378 }

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

3316 {
3317 $col = 0;
3318 foreach ($this->column as $column)
3319 {
3320 $title = strip_tags($column["text"]);
3321 if($title)
3322 {
3323 $a_excel->setCell($a_row, $col++, $title);
3324 }
3325 }
3326 $a_excel->setBold("A".$a_row.":".$a_excel->getColumnCoord($col-1).$a_row);
3327 }
setCell($a_row, $a_col, $a_value)
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 2582 of file class.ilTable2GUI.php.

2583 {
2584 $hidden_row = false;
2585 if(count($this->hidden_inputs))
2586 {
2587 foreach ($this->hidden_inputs as $hidden_input)
2588 {
2589 $this->tpl->setCurrentBlock("tbl_hidden_field");
2590 $this->tpl->setVariable("FIELD_NAME", $hidden_input["name"]);
2591 $this->tpl->setVariable("FIELD_VALUE", $hidden_input["value"]);
2592 $this->tpl->parseCurrentBlock();
2593 }
2594
2595 $this->tpl->setCurrentBlock("tbl_hidden_row");
2596 $this->tpl->parseCurrentBlock();
2597 }
2598 }

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

3357 {
3358
3359 }

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

3304 {
3305
3306 }

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, ilDataBibliographicRecordListTableGUI, ilContributorTableGUI, ilBookingObjectsTableGUI, ilBookingReservationsTableGUI, ilBookingSchedulesTableGUI, ilCategoryAssignRoleTableGUI, ilChatroomSmiliesTableGUI, ilCourseEditParticipantsTableGUI, ilCourseGroupingAssignmentTableGUI, ilCourseGroupingTableGUI, ilCourseInfoFileTableGUI, ilCourseObjectiveMaterialAssignmentTableGUI, ilCourseObjectiveQuestionAssignmentTableGUI, ilCourseObjectiveQuestionsTableGUI, ilCourseObjectivesTableGUI, ilCourseParticipantsGroupsTableGUI, ilCourseParticipantsTableGUI, ilCourseStartObjectsTableGUI, ilCourseVerificationTableGUI, ilDclExportTableGUI, ilDclFieldListTableGUI, ilDclTableListTableGUI, ilDclTableViewEditFieldsTableGUI, ilDclTableViewTableGUI, ilExAssignmentListTextTableGUI, ilExAssignmentPeerReviewOverviewTableGUI, ilExAssignmentPeerReviewTableGUI, ilExAssignmentTeamLogTableGUI, ilExAssignmentTeamTableGUI, ilExcCriteriaCatalogueTableGUI, ilExcCriteriaTableGUI, ilExerciseVerificationTableGUI, ilFeedbackConfirmationTable2GUI, ilFileVersionTableGUI, ilObjForumSearchResultTableGUI, ilGlossaryAutoLinkTableGUI, ilGlossaryForeignTermTableGUI, ilTermUsagesTableGUI, ilGroupEditParticipantsTableGUI, ilGroupParticipantsTableGUI, ilIndividualAssessmentMembersTableGUI, ilItemGroupItemsTableGUI, ilExportIDTableGUI, ilHelpMappingTableGUI, ilHelpTooltipTableGUI, ilLinksTableGUI, ilLMBlockedUsersTableGUI, ilLMDownloadTableGUI, ilLMGlossaryTableGUI, ilLMMultiSrtConfirmationTable2GUI, 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, ilCopySelfAssQuestionTableGUI, ilPageHistoryTableGUI, ilPageMultiLangTableGUI, ilPCFileListTableGUI, ilPCIIMOverlaysTableGUI, ilPCIIMPopupTableGUI, ilPCIIMTriggerTableGUI, ilPCImageMapTableGUI, ilPCTabsTableGUI, ilPageLayoutTableGUI, ilCronManagerTableGUI, ilExportTableGUI, ilSubItemSelectionTableGUI, ilFileSystemTableGUI, ilHelpModuleTableGUI, ilHistoryTableGUI, ilLanguageTableGUI, ilLDAPRoleAssignmentTableGUI, ilLDAPRoleMappingTableGUI, ilLDAPServerTableGUI, ilLicenseOverviewTableGUI, ilLogComponentTableGUI, ilMailAttachmentTableGUI, ilMailFolderTableGUI, ilImageMapTableGUI, ilMediaObjectUsagesTableGUI, ilMobSubtitleTableGUI, ilMultiSrtConfirmationTable2GUI, ilSubscriberTableGUI, ilWaitingListTableGUI, ilMemberExportFileTableGUI, ilMDCopyrightTableGUI, ilMultilingualismTableGUI, ilNewsForContextTableGUI, ilPDNewsTableGUI, ilObjClipboardTableGUI, ilObjectTranslation2TableGUI, ilObjectTranslationTableGUI, ilWorkspaceAccessTableGUI, ilRatingCategoryTableGUI, ilAdminSubItemsTableGUI, ilModulesTableGUI, ilNewItemGroupTableGUI, ilRepDependenciesTableGUI, ilTrashTableGUI, 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, ilECSCategoryMappingTableGUI, ilECSCommunityTableGUI, ilECSImportedContentTableGUI, ilECSReleasedContentTableGUI, ilECSNodeMappingTreeTableGUI, 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, ilObjWorkspaceFolderTableGUI, ilWorkspaceShareTableGUI, ilAssQuestionSkillAssignmentsTableGUI, ilRendererTableGUI, ilMarkSchemaTableGUI, ilTestManScoringParticipantsTableGUI, ilTestPassDetailsOverviewTableGUI, ilTestPassManualScoringOverviewTableGUI, ilTestPassOverviewTableGUI, ilTestPersonalDefaultSettingsTableGUI, ilQuestionCumulatedStatisticsTableGUI, ilObjectRolePermissionTableGUI, ilObjectRoleTemplateOptionsTableGUI, ilObjectRoleTemplatePermissionTableGUI, ilConsultationHourBookingTableGUI, ilConsultationHoursTableGUI, ilMailTemplateTableGUI, ilObjectCustomUserFieldsTableGUI, ilObjectOwnershipManagementTableGUI, ilRepositoryObjectResultTableGUI, ilSCGroupTableGUI, ilSCTaskTableGUI, ilTermsOfServiceTableGUI, ilAssQuestionHintsTableGUI, ilExportSelectionTableGUI, ilObjectCopySelectionTableGUI, ilLOMemberTestResultTableGUI, ilLOTestAssignmentTableGUI, ilOrgUnitOtherRolesTableGUI, ilOrgUnitStaffTableGUI, ilOrgUnitTypeTableGUI, ilStudyProgrammeTypeTableGUI, ilTestRandomQuestionSetNonAvailablePoolsTableGUI, ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI, ilRoleTableGUI, ilDidacticTemplateSettingsTableGUI, ilObjectCopyProgressTableGUI, ilObjectCopySearchResultTableGUI, ilObjectTableGUI, ilECSServerTableGUI, ilWorkflowEngineDefinitionsTableGUI, ilPresentationListTableGUI, ilTermListTableGUI, ilTermQuickListTableGUI, ilNotificationSettingsTable, ilAssignedUsersTableGUI, ilUserLPTableGUI, and ilUserTableGUI.

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

2142 {
2143 foreach ($a_set as $key => $value)
2144 {
2145 $this->tpl->setVariable("VAL_".strtoupper($key), $value);
2146 }
2147 }

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, and ilTrUserObjectsPropsTableGUI.

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

3388 {
3389 foreach ($a_set as $key => $value)
3390 {
3391 if(is_array($value))
3392 {
3393 $value = implode(', ', $value);
3394 }
3395 $a_csv->addColumn(strip_tags($value));
3396 }
3397 $a_csv->addRow();
3398 }

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, ilSCORM2004TrackingItemsTableGUI, and ilSCORMTrackingItemsTableGUI.

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

3338 {
3339 $col = 0;
3340 foreach ($a_set as $value)
3341 {
3342 if(is_array($value))
3343 {
3344 $value = implode(', ', $value);
3345 }
3346 $a_excel->setCell($a_row, $col++, $value);
3347 }
3348 }

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

3416 {
3417 global $ilClientIniFile;
3418
3419 $limit = $ilClientIniFile->readVariable("system", "TABLE_ACTION_ALL_LIMIT");
3420 if(!$limit)
3421 {
3423 }
3424
3425 return $limit;
3426 }

References ilTableGUI\$limit, and ACTION_ALL_LIMIT.

◆ getCloseFormTag()

ilTable2GUI::getCloseFormTag ( )

Get close form tag.

Returns
boolean close form tag

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

166 {
168 }

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

2992 {
2993 return $this->context;
2994 }

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

2887 {
2888 $this->determineOffsetAndOrder();
2889 $this->determineLimit();
2890 $this->determineSelectedColumns();
2891 $this->determineSelectedFilters();
2892
2893 // "filter" show/hide is not saved
2894
2895 $result = array();
2896 $result["order"] = $this->getOrderField();
2897 $result["direction"] = $this->getOrderDirection();
2898 $result["offset"] = $this->getOffset();
2899 $result["rows"] = $this->getLimit();
2900 $result["selfilters"] = $this->getSelectedFilters();
2901
2902 // #9514 - $this->getSelectedColumns() will omit deselected, leading to
2903 // confusion on restoring template
2904 $result["selfields"] = $this->selected_column;
2905
2906 // gather filter values
2907 if($this->filters)
2908 {
2909 foreach($this->filters as $item)
2910 {
2911 $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2912 }
2913 }
2914 if($this->optional_filters && $result["selfilters"])
2915 {
2916 foreach($this->optional_filters as $item)
2917 {
2918 if(in_array($item->getFieldId(), $result["selfilters"]))
2919 {
2920 $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2921 }
2922 }
2923 }
2924
2925 return $result;
2926 }
$result
getFilterValue(ilFormPropertyGUI $a_item)
Get current filter value.
getLimit()
Get limit.
getSelectedFilters()
Get selected filters.
getOffset()
Get offset.
determineSelectedFilters()
Determine selected filters.

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

Referenced by saveTemplate().

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

◆ getData()

◆ getDefaultFilterVisibility()

ilTable2GUI::getDefaultFilterVisibility ( )

Get default filter visibility.

Returns
bool

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

1187 {
1189 }

References $default_filter_visibility.

Referenced by isFilterVisible().

+ Here is the caller graph for this function:

◆ getDefaultOrderDirection()

ilTable2GUI::getDefaultOrderDirection ( )

Get Default order direction.

Returns
string Default order direction

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

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

Referenced by determineOffsetAndOrder().

+ Here is the caller graph for this function:

◆ getDefaultOrderField()

ilTable2GUI::getDefaultOrderField ( )

Get Default order field.

Returns
string Default order field

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

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

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

+ Here is the caller graph for this function:

◆ getDescription()

ilTable2GUI::getDescription ( )

Get description.

Returns
string description

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

534 {
535 return $this->description;
536 }

Referenced by render().

+ Here is the caller graph for this function:

◆ getDisableFilterHiding()

ilTable2GUI::getDisableFilterHiding ( )

Get disable filter hiding

Returns
boolean

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

825 {
827 }

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

1013 {
1014 return $this->display_as_block;
1015 }

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

486 {
487 return $this->enabled["header"];
488 }

◆ getEnableNumInfo()

ilTable2GUI::getEnableNumInfo ( )

Get enable num info.

Returns
boolean enable number of records info

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

506 {
507 return $this->num_info;
508 }

Referenced by fillFooter().

+ Here is the caller graph for this function:

◆ getEnableTitle()

ilTable2GUI::getEnableTitle ( )

Get Enable Title.

Returns
boolean Enable Title

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

466 {
467 return $this->enabled["title"];
468 }

◆ getExportMode()

ilTable2GUI::getExportMode ( )

Was export activated?

Returns
int

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

3195 {
3196 return $this->export_mode;
3197 }

References $export_mode.

Referenced by 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 1116 of file class.ilTable2GUI.php.

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

References $ext_seg.

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

+ Here is the caller graph for this function:

◆ getExternalSorting()

ilTable2GUI::getExternalSorting ( )

Get external sorting.

Returns
boolean data is sorted externally

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

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

References $ext_sort.

Referenced by exportData(), getHTML(), 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 804 of file class.ilTable2GUI.php.

805 {
806 return $this->filter_cols;
807 }

References $filter_cols.

Referenced by renderFilter().

+ Here is the caller graph for this function:

◆ getFilterCommand()

ilTable2GUI::getFilterCommand ( )

Get filter command.

Returns
string filter command

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

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

References $filter_cmd.

◆ getFilterItemByPostVar()

ilTable2GUI::getFilterItemByPostVar (   $a_post_var)
final

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

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

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

2935 {
2936 if(method_exists($a_item, "getChecked"))
2937 {
2938 return $a_item->getChecked();
2939 }
2940 else if(method_exists($a_item, "getValue"))
2941 {
2942 return $a_item->getValue();
2943 }
2944 else if(method_exists($a_item, "getDate"))
2945 {
2946 return $a_item->getDate()->get(IL_CAL_DATE);
2947 }
2948 }
const IL_CAL_DATE

References IL_CAL_DATE.

Referenced by getCurrentState().

+ Here is the caller graph for this function:

◆ getFormAction()

ilTable2GUI::getFormAction ( )
final

Get Form action parameter.

Returns
string Form action

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

949 {
950 return $this->form_action;
951 }

Referenced by getHTML(), ilLOTestAssignmentTableGUI\init(), ilObjectCopyCourseGroupSelectionTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilConsultationHourBookingTableGUI\initTable(), and ilConsultationHourGroupTableGUI\initTable().

+ Here is the caller graph for this function:

◆ getFormName()

ilTable2GUI::getFormName ( )

Get Form name.

Returns
string Form name

Reimplemented from ilTableGUI.

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

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

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

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

993 {
994 return $this->id;
995 }

Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilSearchResultTableGUI\__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 445 of file class.ilTable2GUI.php.

446 {
447 return $this->datatable;
448 }

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

2465 {
2466 global $ilCtrl, $lng, $ilUser;
2467
2468 $hash = "";
2469 if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization"))
2470 {
2471 $hash = "#".$this->getTopAnchor();
2472 }
2473
2474 $link = $ilCtrl->getLinkTargetByClass(get_class($this->parent_obj), $this->parent_cmd).
2475 "&".$this->getNavParameter()."=".
2476 $this->getOrderField().":".$this->getOrderDirection().":";
2477
2478 $LinkBar = "";
2479 $layout_prev = $lng->txt("previous");
2480 $layout_next = $lng->txt("next");
2481
2482 // if more entries then entries per page -> show link bar
2483 if ($this->max_count > $this->getLimit() || $this->custom_prev_next)
2484 {
2485 $sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
2486
2487 // calculate number of pages
2488 $pages = intval($this->max_count / $this->getLimit());
2489
2490 // add a page if a rest remains
2491 if (($this->max_count % $this->getLimit()))
2492 $pages++;
2493
2494 // links to other pages
2495 $offset_arr = array();
2496 for ($i = 1 ;$i <= $pages ; $i++)
2497 {
2498 $newoffset = $this->getLimit() * ($i-1);
2499
2500 $nav_value = $this->getOrderField().":".$this->getOrderDirection().":".$newoffset;
2501 $offset_arr[$nav_value] = $i;
2502 }
2503
2504 $sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
2505
2506 // previous link
2507 if ($this->custom_prev_next && $this->custom_prev != "")
2508 {
2509 if ($LinkBar != "")
2510 $LinkBar .= $sep;
2511 $LinkBar .= "<a href=\"".$this->custom_prev.$hash."\">".$layout_prev."</a>";
2512 }
2513 else if ($this->getOffset() >= 1 && !$this->custom_prev_next)
2514 {
2515 if ($LinkBar != "")
2516 $LinkBar .= $sep;
2517 $prevoffset = $this->getOffset() - $this->getLimit();
2518 $LinkBar .= "<a href=\"".$link.$prevoffset.$hash."\">".$layout_prev."</a>";
2519 }
2520 else
2521 {
2522 if ($LinkBar != "")
2523 $LinkBar .= $sep;
2524 $LinkBar .= '<span class="ilTableFootLight">'.$layout_prev."</span>";
2525 }
2526
2527 // current value
2528 if ($a_num == "1")
2529 {
2530 $LinkBar .= '<input type="hidden" name="'.$this->getNavParameter().
2531 '" value="'.$this->getOrderField().":".$this->getOrderDirection().":".$this->getOffset().'" />';
2532 }
2533
2534 $sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
2535
2536 // show next link (if not last page)
2537 if ($this->custom_prev_next && $this->custom_next != "")
2538 {
2539 if ($LinkBar != "")
2540 $LinkBar .= $sep;
2541 $LinkBar .= "<a href=\"".$this->custom_next.$hash."\">".$layout_next."</a>";
2542 }
2543 else if (! ( ($this->getOffset() / $this->getLimit())==($pages-1) ) && ($pages!=1) &&
2544 !$this->custom_prev_next)
2545 {
2546 if ($LinkBar != "")
2547 $LinkBar .= $sep;
2548 $newoffset = $this->getOffset() + $this->getLimit();
2549 $LinkBar .= "<a href=\"".$link.$newoffset.$hash."\">".$layout_next."</a>";
2550 }
2551 else
2552 {
2553 if ($LinkBar != "")
2554 $LinkBar .= $sep;
2555 $LinkBar .= '<span class="ilTableFootLight">'.$layout_next."</span>";
2556 }
2557
2558 $sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
2559
2560 if (count($offset_arr) && !$this->getDisplayAsBlock() && !$this->custom_prev_next)
2561 {
2562 if ($LinkBar != "")
2563 $LinkBar .= $sep;
2564 $LinkBar .= "".
2565 '<label for="tab_page_sel_'.$a_num.'">'.$lng->txt("page").'</label> '.
2566 ilUtil::formSelect($this->nav_value,
2567 $this->getNavParameter().$a_num, $offset_arr, false, true, 0, "small",
2568 array("id" => "tab_page_sel_".$a_num,
2569 "onchange" => "ilTablePageSelection(this, 'cmd[".$this->parent_cmd."]')"));
2570 //' <input class="submit" type="submit" name="cmd['.$this->parent_cmd.']" value="'.
2571 //$lng->txt("ok").'" />';
2572 }
2573
2574 return $LinkBar;
2575 }
2576 else
2577 {
2578 return false;
2579 }
2580 }

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

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

1349 {
1350 return $this->prefix."_table_nav";
1351 }

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

426 {
427 return $this->noentriestext;
428 }

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

146 {
148 }

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

376 {
377 return $this->parent_obj;
378 }

Referenced by ilPollUserTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__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(), ilPageHistoryTableGUI\fillRow(), ilPCFileListTableGUI\fillRow(), ilCronManagerTableGUI\fillRow(), ilExportTableGUI\fillRow(), ilLDAPRoleAssignmentTableGUI\fillRow(), ilLDAPRoleMappingTableGUI\fillRow(), ilLDAPServerTableGUI\fillRow(), ilMemberExportFileTableGUI\fillRow(), ilMDCopyrightTableGUI\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(), ilAssignedUsersTableGUI\fillRow(), ilUserTableGUI\fillRow(), 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(), ilWebResourceLinkTableGUI\initSorting(), ilConsultationHourBookingTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilExParticipantTableGUI\parseData(), 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 607 of file class.ilTable2GUI.php.

608 {
609 return $this->prefix;
610 }

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

3461 {
3463 }

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

3185 {
3186 return $this->print_mode;
3187 }

References $print_mode.

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

+ Here is the caller graph for this function:

◆ getResetCommand()

ilTable2GUI::getResetCommand ( )

Get reset filter command.

Returns
string reset command

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

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

References $reset_cmd.

◆ getRowSelectorLabel()

ilTable2GUI::getRowSelectorLabel ( )
Returns
string

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

3441 {
3443 }

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

1023 {
1025 }

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

308 {
309 $scol = array();
310 foreach ($this->selected_column as $k => $v)
311 {
312 if ($v)
313 {
314 $scol[$k] = $k;
315 }
316 }
317 return $scol;
318 }

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(), 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(), 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(), ilTrSummaryTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilExerciseMemberTableGUI\getModeColumns(), 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 846 of file class.ilTable2GUI.php.

847 {
848 $sfil = array();
849 foreach ($this->selected_filter as $k => $v)
850 {
851 if ($v)
852 {
853 $sfil[$k] = $k;
854 }
855 }
856 return $sfil;
857 }

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

3012 {
3014 }

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

3032 {
3033 return $this->show_templates;
3034 }

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

406 {
407 return $this->top_anchor;
408 }

References $top_anchor.

Referenced by render().

+ Here is the caller graph for this function:

◆ getTopCommands()

ilTable2GUI::getTopCommands ( )

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

Returns
boolean top commands true/false

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

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

References $top_commands.

Referenced by fillActionRow().

+ Here is the caller graph for this function:

◆ initFilter()

ilTable2GUI::initFilter ( )

Init filter.

Overwrite this to initialize all filter input property objects.

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

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

367 {
368 }

Referenced by 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 2041 of file class.ilTable2GUI.php.

2042 {
2043 foreach($a_gui->getFilterElements(false) as $item)
2044 {
2045 if($item === $a_element)
2046 {
2047 return true;
2048 }
2049 }
2050 return false;
2051 }
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()

ilTable2GUI::isColumnSelected (   $a_col)

Is given column selected?

Parameters
stringcolumn name
Returns
boolean

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

297 {
298 return $this->selected_column[$a_col];
299 }

Referenced by arIndexTableGUI\checkColumnVisibile(), fillFooter(), ilParticipantTableGUI\initFilter(), ilCourseParticipantsTableGUI\parse(), and ilGroupParticipantsTableGUI\parse().

+ Here is the caller graph for this function:

◆ isFilterSelected()

ilTable2GUI::isFilterSelected (   $a_col)

Is given filter selected?

Parameters
stringcolumn name
Returns
boolean

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

836 {
837 return $this->selected_filter[$a_col];
838 }

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

2025 {
2026 $prop = $this->loadProperty('filter');
2027 if($prop === '0' || $prop === '1')
2028 {
2029 return (bool) $prop;
2030 }
2031 return $this->getDefaultFilterVisibility();
2032 }
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 2867 of file class.ilTable2GUI.php.

2868 {
2869 global $ilUser;
2870
2871 if(is_object($ilUser) && $this->getId() != "")
2872 {
2873 include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
2874 $tab_prop = new ilTablePropertiesStorage();
2875
2876 return $tab_prop->getProperty($this->getId(), $ilUser->getId(), $type);
2877 }
2878 return null;
2879 }
Saves (mostly asynchronously) user properties of tables (e.g.

References $ilUser, 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, ilExAssignmentListTextTableGUI, ilExAssignmentPeerReviewTableGUI, ilExcCriteriaCatalogueTableGUI, ilExcCriteriaTableGUI, 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 1748 of file class.ilTable2GUI.php.

1749 {
1750 return false;
1751 }

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

1503 {
1504 }

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

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

References $ilCtrl, $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 1872 of file class.ilTable2GUI.php.

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

References $lng, $tpl, 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 2106 of file class.ilTable2GUI.php.

2107 {
2108 global $lng;
2109
2110 $filter = $this->getFilterItems();
2111 $opt_filter = $this->getFilterItems(true);
2112
2113 foreach ($filter as $item)
2114 {
2115 if ($item->checkInput())
2116 {
2117 $item->setValueByArray($_POST);
2118 $item->clearFromSession();
2119 }
2120 }
2121 foreach ($opt_filter as $item)
2122 {
2123 if ($item->checkInput())
2124 {
2125 $item->setValueByArray($_POST);
2126 $item->clearFromSession();
2127 }
2128 }
2129
2130 // #13209
2131 unset($_REQUEST["tbltplcrt"]);
2132 unset($_REQUEST["tbltpldel"]);
2133 }

References $_POST, $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 3042 of file class.ilTable2GUI.php.

3043 {
3044 global $ilUser;
3045
3046 $a_name = ilUtil::stripSlashes($a_name);
3047
3048 if(trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID)
3049 {
3050 include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
3051 $storage = new ilTableTemplatesStorage();
3052
3053 $data = $storage->load($this->getContext(), $ilUser->getId(), $a_name);
3054 if(is_array($data))
3055 {
3056 foreach($data as $property => $value)
3057 {
3058 $this->storeProperty($property, $value);
3059 }
3060 }
3061
3062 $data["filter_values"] = unserialize($data["filter_values"]);
3063 if($data["filter_values"])
3064 {
3065 $this->restore_filter_values = $data["filter_values"];
3066 }
3067
3068 $this->restore_filter = true;
3069
3070 return true;
3071 }
3072 return false;
3073 }
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled

References ilTableGUI\$data, $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 3081 of file class.ilTable2GUI.php.

3082 {
3083 global $ilUser;
3084
3085 $a_name = ilUtil::prepareFormOutput($a_name, true);
3086
3087 if(trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID)
3088 {
3089 include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
3090 $storage = new ilTableTemplatesStorage();
3091
3092 $state = $this->getCurrentState();
3093 $state["filter_values"] = serialize($state["filter_values"]);
3094 $state["selfields"] = serialize($state["selfields"]);
3095 $state["selfilters"] = serialize($state["selfilters"]);
3096
3097 $storage->store($this->getContext(), $ilUser->getId(), $a_name, $state);
3098 return true;
3099 }
3100 return false;
3101 }
getCurrentState()
get current settings for order, limit, columns and filter

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

Referenced by fillFooter().

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

◆ setCloseCommand()

ilTable2GUI::setCloseCommand (   $a_link)

Add command for closing table.

Parameters
string$a_linkclosing link
Deprecated:

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

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

◆ setCloseFormTag()

ilTable2GUI::setCloseFormTag (   $a_val)

Set close form tag.

Parameters
booleanclose form tag

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

156 {
157 $this->close_form_tag = $a_val;
158 }

Referenced by ilQuestionPoolImportVerificationTableGUI\__construct().

+ Here is the caller graph for this function:

◆ setContext()

ilTable2GUI::setContext (   $id)

Set context.

Parameters
string$id

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

2979 {
2980 if(trim($id))
2981 {
2982 $this->context = $id;
2983 }
2984 }

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

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

◆ setData()

ilTable2GUI::setData (   $a_data)
final

set table data @access public

Parameters
arraytable data

Reimplemented from ilTableGUI.

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

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

References getExternalSorting().

Referenced by ilSetupLanguageTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilLMMultiSrtConfirmationTable2GUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilSkillProfileTableGUI\__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(), ilPresentationListTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilIndividualAssessmentMembersTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilStudyProgrammeAcknowledgeCompletedCoursesTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilTestQuestionBrowserTableGUI\browseQuestionsCmd(), ilDclRecordListTableGUI\buildData(), ilHelpMappingTableGUI\getChapters(), ilClientListTableGUI\getClients(), ilComponentsTableGUI\getComponents(), ilPluginsOverviewTableGUI\getComponents(), ilModulesTableGUI\getComponents(), ilWikiContributorsTableGUI\getContributors(), ilSessionMaterialsTableGUI\getDataFromDb(), ilHistoryTableGUI\getDataFromDb(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLMDownloadTableGUI\getDownloadFiles(), ilFileSystemTableGUI\getEntries(), 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(), ilImageMapTableGUI\getItems(), ilMediaObjectUsagesTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAdminSubItemsTableGUI\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(), 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(), ilWorkflowEngineDefinitionsTableGUI\getProcessesForDisplay(), 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(), ilDataBibliographicRecordListTableGUI\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(), 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(), 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(), ilOrgUnitOtherRolesTableGUI\parseData(), ilOrgUnitStaffTableGUI\parseData(), ilMemcacheServerTableGUI\parseData(), ilAdvancedMDFieldTableGUI\parseDefinitions(), ilAdvancedMDRecordExportFilesTableGUI\parseFiles(), ilLOTestAssignmentTableGUI\parseMultipleAssignments(), ilRepositoryObjectResultTableGUI\parseObjectIds(), ilObjectCopySearchResultTableGUI\parseSearchResults(), ilWebResourceEditableLinkTableGUI\parseSelectedLinks(), ilMDCopyrightTableGUI\parseSelections(), ilObjectCopySelectionTableGUI\parseSource(), ilRepositoryUserResultTableGUI\parseUserIds(), ilBuddySystemRelationsTableGUI\populate(), ilTermsOfServiceTableGUI\populate(), ilLinkCheckerTableGUI\prepareHTML(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilCalendarAppointmentsTableGUI\setAppointments(), ilCalendarChangedAppointmentsTableGUI\setAppointments(), ilConditionHandlerTableGUI\setConditions(), ilAssQuestionSkillUsagesTableGUI\showCmd(), and ilWebResourceEditableLinkTableGUI\updateFromPost().

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

◆ setDefaultFilterVisiblity()

ilTable2GUI::setDefaultFilterVisiblity (   $a_status)

Set default filter visiblity.

Parameters
bool$a_status

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

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

Referenced by ilParticipantTableGUI\initFilter().

+ Here is the caller graph for this function:

◆ setDefaultOrderDirection()

ilTable2GUI::setDefaultOrderDirection (   $a_defaultorderdirection)

Set Default order direction.

Parameters
string$a_defaultorderdirectionDefault order direction

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

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

Referenced by ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilCalendarManageTableGUI\__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(), 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(), ilFileSystemTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilUserTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__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(), ilPDNewsTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilWikiContributorsTableGUI\getContributors(), ilWikiPagesTableGUI\getPages(), ilWorkflowEngineDefinitionsTableGUI\getProcessesForDisplay(), 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 1138 of file class.ilTable2GUI.php.

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

Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__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(), 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(), ilFileSystemTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilUserTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilRoleDesktopItemsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilContributorTableGUI\__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(), ilPDNewsTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilMailingListsTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilWikiContributorsTableGUI\getContributors(), ilWikiPagesTableGUI\getPages(), ilWorkflowEngineDefinitionsTableGUI\getProcessesForDisplay(), 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(), 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 1002 of file class.ilTable2GUI.php.

1003 {
1004 $this->display_as_block = $a_val;
1005 }

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

3406 {
3407 $this->enable_command_for_all = (bool)$a_value;
3408 }

Referenced by ilUserTableGUI\__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 475 of file class.ilTable2GUI.php.

476 {
477 $this->enabled["header"] = $a_enableheader;
478 }

Referenced by 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(), ilFileSystemTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLinksTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilUserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilIndividualAssessmentMembersTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilRepositoryObjectSearchResultTableGUI\init(), and ilLinkCheckerTableGUI\prepareHTML().

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

456 {
457 $this->enabled["title"] = $a_enabletitle;
458 }

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

+ Here is the caller graph for this function:

◆ setExportFormats()

ilTable2GUI::setExportFormats ( array  $formats)

Set available export formats.

Parameters
array$formats

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

3155 {
3156 $this->export_formats = array();
3157
3158 // #11339
3159 $valid = array(self::EXPORT_EXCEL => "tbl_export_excel",
3160 self::EXPORT_CSV => "tbl_export_csv");
3161
3162 foreach($formats as $format)
3163 {
3164 if(array_key_exists($format, $valid))
3165 {
3166 $this->export_formats[$format] = $valid[$format];
3167 }
3168 }
3169 }
$valid

References $valid.

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

+ Here is the caller graph for this function:

◆ setExternalSegmentation()

◆ setExternalSorting()

◆ setFilterCols()

ilTable2GUI::setFilterCols (   $a_val)

Set filter columns.

Parameters
intnumber of filter columns

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

795 {
796 $this->filter_cols = $a_val;
797 }

◆ setFilterCommand()

◆ SetFilterValue()

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

Set current filter value.

Parameters
ilFormPropertyGUI$a_item
mixed$a_value

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

2957 {
2958 if(method_exists($a_item, "setChecked"))
2959 {
2960 $a_item->setChecked($a_value);
2961 }
2962 else if(method_exists($a_item, "setValue"))
2963 {
2964 $a_item->setValue($a_value);
2965 }
2966 else if(method_exists($a_item, "setDate"))
2967 {
2968 $a_item->setDate(new ilDate($a_value, IL_CAL_DATE));
2969 }
2970 $a_item->writeToSession();
2971 }
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 937 of file class.ilTable2GUI.php.

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

Referenced by ilSetupLanguageTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLMMultiSrtConfirmationTable2GUI\__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(), ilHelpModuleTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilTrashTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilSkillProfileTableGUI\__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(), ilFileSystemTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLinksTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilUserTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilSkillCatTableGUI\__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(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilContributorTableGUI\__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(), 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(), ilPDNewsTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilIndividualAssessmentMembersTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__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(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilStudyProgrammeTypeTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilObjBibliographicAdminTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilObjStudyProgrammeIndividualPlanGUI\appendIndividualPlanActions(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\build(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilLOTestAssignmentTableGUI\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(), 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 958 of file class.ilTable2GUI.php.

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

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(), ilSessionParticipantsTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__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 2837 of file class.ilTable2GUI.php.

2838 {
2839 $this->headerHTML = $html;
2840 }
$html
Definition: example_001.php:87

References $html.

◆ setId()

ilTable2GUI::setId (   $a_val)

Set id.

Parameters
stringelement id

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

979 {
980 $this->id = $a_val;
981 if ($this->getPrefix() == "")
982 {
983 $this->setPrefix($a_val);
984 }
985 }
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 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(), ilCalendarManageTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilLMMultiSrtConfirmationTable2GUI\__construct(), ilPollAnswerTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilHelpModuleTableGUI\__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(), ilFileSystemTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilObjectCopyProgressTableGUI\__construct(), ilObjectTableGUI\__construct(), ilUserClipboardTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilUserTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilRoleDesktopItemsTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilPCIIMTriggerTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilRepositoryObjectSearchResultTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilConsultationHourBookingTableGUI\__construct(), ilConsultationHourGroupTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__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(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilMailingListsTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__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(), arIndexTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilObjBibliographicAdminTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__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 435 of file class.ilTable2GUI.php.

436 {
437 $this->datatable = $a_val;
438 }

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

3466 {
3467 parent::setLimit($a_limit, $a_default_limit);
3468
3469 // #17077 - if limit is set "manually" to 9999, force rows selector off
3470 if($a_limit == 9999 &&
3471 $this->limit_determined)
3472 {
3473 $this->rows_selector_off = true;
3474 }
3475 }

Referenced by ilSetupLanguageTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLMMultiSrtConfirmationTable2GUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilAccessKeyTableGUI\__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(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilSurveyQuestionTableGUI\__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(), ilWikiSearchResultsTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestPassOverviewTableGUI\__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()

ilTable2GUI::setNoEntriesText (   $a_text)

◆ setOpenFormTag()

ilTable2GUI::setOpenFormTag (   $a_val)

Set open form tag.

Parameters
booleanopen form tag

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

136 {
137 $this->open_form_tag = $a_val;
138 }

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

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

544 {
545 $this->order_field = $a_order_field;
546 }

Referenced by ilDataBibliographicRecordListTableGUI\__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 1353 of file class.ilTable2GUI.php.

1354 {
1355 global $ilCtrl, $ilUser;
1356
1357 $hash = "";
1358 if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization"))
1359 {
1360 $hash = "#".$this->getTopAnchor();
1361 }
1362
1363 $old = $_GET[$this->getNavParameter()];
1364
1365 // set order link
1366 $ilCtrl->setParameter($this->parent_obj,
1367 $this->getNavParameter(),
1368 $sort_field.":".$order_dir.":".$this->offset);
1369 $this->tpl->setVariable("TBL_ORDER_LINK",
1370 $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd).$hash);
1371
1372 // set old value of nav variable
1373 $ilCtrl->setParameter($this->parent_obj,
1374 $this->getNavParameter(), $old);
1375 }
$old

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

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

603 {
604 $this->prefix = $a_prefix;
605 }

Referenced by ilGroupParticipantsTableGUI\__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(), ilSessionParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilStudyProgrammeTypeTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__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 3450 of file class.ilTable2GUI.php.

3451 {
3452 $this->prevent_double_submission = $a_val;
3453 }

◆ setPrintMode()

ilTable2GUI::setPrintMode (   $a_value = false)

Toogle print mode.

Parameters
bool$a_value

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

3176 {
3177 $this->print_mode = (bool)$a_value;
3178 }

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

3432 {
3433 $this->row_selector_label = $row_selector_label;
3434 return $this;
3435 }

References $row_selector_label.

Referenced by ilForumTopicTableGUI\initMergeThreadsTable().

+ Here is the caller graph for this function:

◆ setRowTemplate()

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

Set row template.

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

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

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

Referenced by 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(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLMMultiSrtConfirmationTable2GUI\__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(), ilHelpModuleTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilRendererTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilTrashTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilSkillProfileTableGUI\__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(), ilFileSystemTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLinksTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilUserTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilRoleDesktopItemsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilPCIIMTriggerTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilContributorTableGUI\__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(), 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(), ilPDNewsTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__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(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__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(), ilStudyProgrammeAcknowledgeCompletedCoursesTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__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(), ilStudyProgrammeTypeTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilAssQuestionSkillAssignmentsTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilAssQuestionSkillUsagesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilObjBibliographicAdminTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilGlossaryAutoLinkTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilTestRandomQuestionSetNonAvailablePoolsTableGUI\build(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilLOMemberTestResultTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilRoleTableGUI\init(), ilDidacticTemplateSettingsTableGUI\init(), ilLogComponentTableGUI\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(), 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 1032 of file class.ilTable2GUI.php.

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

Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilCourseObjectivesTableGUI\__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(), 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(), ilFileSystemTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilUserTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilRoleDesktopItemsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilAdminSubItemsTableGUI\__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(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilContributorTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilQuestionPoolImportVerificationTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilMailingListsTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilNotificationSettingsTable\__construct(), ilDclTableListTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), 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(), and ilForumDraftsTableGUI\initTableColumns().

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

3002 {
3003 $this->show_rows_selector = (bool)$a_value;
3004 }

Referenced by ilCourseParticipantsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilCategoryAssignRoleTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilUserTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilSearchResultTableGUI\__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(), ilMediaCastTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilTestDetailedEvaluationStatisticsTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilDclTableViewTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), ilRoleTableGUI\init(), ilLogComponentTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilForumTopicTableGUI\initMergeThreadsTable(), arDeleteGUI\initRowSelector(), arIndexTableGUI\initRowSelector(), and ilConsultationHourBookingTableGUI\initTable().

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

514 {
515 parent::setTitle($a_title, $a_icon, $a_icon_alt);
516 }

Referenced by ilRepDependenciesTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilMailMemberSearchTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLMMultiSrtConfirmationTable2GUI\__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(), ilHelpModuleTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilRendererTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__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(), ilFileSystemTableGUI\__construct(), ilUserActionAdminTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExportTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLinksTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilRoleDesktopItemsTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilContributorTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilGlossaryForeignTermTableGUI\__construct(), ilLMDownloadTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilMilestoneResponsiblesTableGUI\__construct(), ilBadgeTypesTableGUI\__construct(), ilBadgeImageTemplateTableGUI\__construct(), ilObjectBadgeTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilBadgeTableGUI\__construct(), ilBadgeUserTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilLDAPServerTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilMailingListsTableGUI\__construct(), ilMailingListsMembersTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilNotificationSettingsTable\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilDclTableListTableGUI\__construct(), ilWorkflowEngineDefinitionsTableGUI\__construct(), ilMemcacheServerTableGUI\__construct(), ilAssQuestionHintsTableGUI\__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 395 of file class.ilTable2GUI.php.

396 {
397 $this->top_anchor = $a_val;
398 }

Referenced by ilBookmarkAdministrationTableGUI\__construct().

+ Here is the caller graph for this function:

◆ setTopCommands()

◆ storeNavParameter()

ilTable2GUI::storeNavParameter ( )

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

1586 {
1587 if ($this->getOrderField() != "")
1588 {
1589 $this->storeProperty("order", $this->getOrderField());
1590 }
1591 if ($this->getOrderDirection() != "")
1592 {
1593 $this->storeProperty("direction", $this->getOrderDirection());
1594 }
1595//echo "-".$this->getOffset()."-";
1596 if ($this->getOffset() !== "")
1597 {
1598 $this->storeProperty("offset", $this->getOffset());
1599 }
1600 }

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

2849 {
2850 global $ilUser;
2851
2852 if(is_object($ilUser) && $this->getId() != "")
2853 {
2854 include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
2855 $tab_prop = new ilTablePropertiesStorage();
2856
2857 $tab_prop->storeProperty($this->getId(), $ilUser->getId(), $type, $value);
2858 }
2859 }

References $ilUser, 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 2056 of file class.ilTable2GUI.php.

2057 {
2058 $advmd_record_gui = null;
2059 if(method_exists($this, "getAdvMDRecordGUI"))
2060 {
2061 $advmd_record_gui = $this->getAdvMDRecordGUI();
2062 }
2063
2064 foreach ($this->getFilterItems() as $item)
2065 {
2066 if($advmd_record_gui &&
2067 $this->isAdvMDFilter($advmd_record_gui, $item))
2068 {
2069 continue;
2070 }
2071
2072 if ($item->checkInput())
2073 {
2074 $item->setValueByArray($_POST);
2075 $item->writeToSession();
2076 }
2077 }
2078 foreach ($this->getFilterItems(true) as $item)
2079 {
2080 if($advmd_record_gui &&
2081 $this->isAdvMDFilter($advmd_record_gui, $item))
2082 {
2083 continue;
2084 }
2085
2086 if ($item->checkInput())
2087 {
2088 $item->setValueByArray($_POST);
2089 $item->writeToSession();
2090 }
2091 }
2092
2093 if($advmd_record_gui)
2094 {
2095 $advmd_record_gui->importFilter();
2096 }
2097
2098 // #13209
2099 unset($_REQUEST["tbltplcrt"]);
2100 unset($_REQUEST["tbltpldel"]);
2101 }
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 17 of file class.ilTable2GUI.php.

◆ $close_form_tag

ilTable2GUI::$close_form_tag = true
protected

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

Referenced by getCloseFormTag().

◆ $columns_determined

ilTable2GUI::$columns_determined = false
protected

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

◆ $context

ilTable2GUI::$context = ""
protected

◆ $default_filter_visibility

ilTable2GUI::$default_filter_visibility = false
protected

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

Referenced by getDefaultFilterVisibility().

◆ $disable_filter_hiding

ilTable2GUI::$disable_filter_hiding = false
protected

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

Referenced by getDisableFilterHiding().

◆ $enable_command_for_all

ilTable2GUI::$enable_command_for_all
protected

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

◆ $export_formats

ilTable2GUI::$export_formats
protected

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

◆ $export_mode

ilTable2GUI::$export_mode
protected

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

Referenced by getExportMode().

◆ $ext_seg

ilTable2GUI::$ext_seg = false
protected

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

Referenced by getExternalSegmentation().

◆ $ext_sort

ilTable2GUI::$ext_sort = false
protected

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

Referenced by getExternalSorting().

◆ $filter_cmd

ilTable2GUI::$filter_cmd = 'applyFilter'
protected

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

Referenced by getFilterCommand().

◆ $filter_cols

ilTable2GUI::$filter_cols = 5
protected

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

Referenced by getFilterCols().

◆ $filters

ilTable2GUI::$filters = array()
protected

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

Referenced by getFilterItems().

◆ $filters_determined

ilTable2GUI::$filters_determined = false
protected

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

◆ $headerHTML

ilTable2GUI::$headerHTML
private

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

◆ $limit_determined

ilTable2GUI::$limit_determined = false
protected

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

◆ $mi_sel_buttons

ilTable2GUI::$mi_sel_buttons = null
protected

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

◆ $nav_determined

ilTable2GUI::$nav_determined = false
protected

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

◆ $open_form_tag

ilTable2GUI::$open_form_tag = true
protected

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

Referenced by getOpenFormTag().

◆ $optional_filters

ilTable2GUI::$optional_filters = array()
protected

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

Referenced by getFilterItems().

◆ $prevent_double_submission

ilTable2GUI::$prevent_double_submission = true
protected

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

Referenced by getPreventDoubleSubmission().

◆ $print_mode

ilTable2GUI::$print_mode
protected

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

Referenced by getPrintMode().

◆ $reset_cmd

ilTable2GUI::$reset_cmd = 'resetFilter'
protected

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

Referenced by getResetCommand().

◆ $restore_filter

ilTable2GUI::$restore_filter
protected

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

◆ $restore_filter_values

ilTable2GUI::$restore_filter_values
protected

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

◆ $row_selector_label

ilTable2GUI::$row_selector_label
protected

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

Referenced by getRowSelectorLabel(), and setRowSelectorLabel().

◆ $rows_selector_off

ilTable2GUI::$rows_selector_off = false
protected

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

◆ $selectable_columns

ilTable2GUI::$selectable_columns = array()
protected

◆ $selected_column

ilTable2GUI::$selected_column = array()
protected

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

Referenced by getCurrentState().

◆ $selected_filter

ilTable2GUI::$selected_filter = false
protected

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

◆ $show_rows_selector

ilTable2GUI::$show_rows_selector = true
protected

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

Referenced by getShowRowsSelector().

◆ $show_templates

ilTable2GUI::$show_templates = false
protected

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

Referenced by getShowTemplates().

◆ $sortable_fields

ilTable2GUI::$sortable_fields = array()
protected

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

◆ $top_anchor

ilTable2GUI::$top_anchor = "il_table_top"
protected

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

Referenced by getTopAnchor().

◆ $top_commands

ilTable2GUI::$top_commands = true
protected

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

Referenced by getTopCommands().

◆ $unique_id

◆ ACTION_ALL_LIMIT

const ilTable2GUI::ACTION_ALL_LIMIT = 1000

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

Referenced by getAllCommandLimit().

◆ EXPORT_CSV

const ilTable2GUI::EXPORT_CSV = 2

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

Referenced by exportData().

◆ EXPORT_EXCEL

const ilTable2GUI::EXPORT_EXCEL = 1

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

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

◆ FILTER_DATE

const ilTable2GUI::FILTER_DATE = 3

Definition at line 73 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: