ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ilTable2GUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

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

Public Member Functions

 __construct (?object $a_parent_obj, string $a_parent_cmd="", string $a_template_context="")
 
 setOpenFormTag (bool $a_val)
 
 getOpenFormTag ()
 
 setCloseFormTag (bool $a_val)
 
 getCloseFormTag ()
 
 determineLimit ()
 
 getSelectableColumns ()
 Get selectable columns. More...
 
 determineSelectedColumns ()
 
 isColumnSelected (string $col)
 
 getSelectedColumns ()
 
 resetOffset (bool $a_in_determination=false)
 
 initFilter ()
 
 getParentObject ()
 
 getParentCmd ()
 
 setTopAnchor (string $a_val)
 
 getTopAnchor ()
 
 setNoEntriesText (string $a_text)
 
 getNoEntriesText ()
 
 setIsDataTable (bool $a_val)
 
 getIsDataTable ()
 
 setEnableTitle (bool $a_enabletitle)
 
 getEnableTitle ()
 
 setEnableHeader (bool $a_enableheader)
 
 getEnableHeader ()
 
 setEnableNumInfo (bool $a_val)
 
 getEnableNumInfo ()
 
 setTitle (string $a_title, string $a_icon="", string $a_icon_alt="")
 
 setDescription (string $a_val)
 
 getDescription ()
 
 setOrderField (string $a_order_field)
 
 getOrderField ()
 
 setData (array $a_data)
 Set table data. More...
 
 getData ()
 
 dataExists ()
 
 setPrefix (string $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) More...
 
 getPrefix ()
 
 addFilterItem (ilTableFilterItem $a_input_item, bool $a_optional=false)
 
 addFilterItemByMetaType (string $id, int $type=self::FILTER_TEXT, bool $a_optional=false, string $caption="")
 Add filter by standard type. More...
 
 getFilterItems (bool $a_optionals=false)
 
 getFilterItemByPostVar (string $a_post_var)
 
 setFilterCols (int $a_val)
 
 getFilterCols ()
 
 setDisableFilterHiding (bool $a_val=true)
 
 getDisableFilterHiding ()
 
 isFilterSelected (string $a_col)
 Is given filter selected? More...
 
 getSelectedFilters ()
 
 determineSelectedFilters ()
 
 setCustomPreviousNext (string $a_prev_link, string $a_next_link)
 
 setFormAction (string $a_form_action, bool $a_multipart=false)
 
 getFormAction ()
 
 setFormName (string $a_name="")
 
 getFormName ()
 get the name of the parent form More...
 
 setId (string $a_val)
 
 getId ()
 
 setDisplayAsBlock (bool $a_val)
 
 getDisplayAsBlock ()
 
 setSelectAllCheckbox (string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
 setExternalSorting (bool $a_val)
 
 getExternalSorting ()
 
 setFilterCommand (string $a_val, string $a_caption="")
 
 getFilterCommand ()
 
 setResetCommand (string $a_val, string $a_caption="")
 
 getResetCommand ()
 
 setExternalSegmentation (bool $a_val)
 
 getExternalSegmentation ()
 
 setRowTemplate (string $a_template, string $a_template_dir="")
 Set row template. More...
 
 setDefaultOrderField (string $a_defaultorderfield)
 
 getDefaultOrderField ()
 
 setDefaultOrderDirection (string $a_defaultorderdirection)
 
 getDefaultOrderDirection ()
 
 setDefaultFilterVisiblity (bool $a_status)
 
 getDefaultFilterVisibility ()
 
 clearCommandButtons ()
 
 addCommandButton (string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
 
 addCommandButtonInstance (ilButtonBase $a_button)
 
 addMultiItemSelectionButton (string $a_sel_var, array $a_options, string $a_cmd, string $a_text, string $a_default_selection='')
 
 setCloseCommand (string $a_link)
 
 addMultiCommand (string $a_cmd, string $a_text)
 
 addHiddenInput (string $a_name, string $a_value)
 
 addHeaderCommand (string $a_href, string $a_text, string $a_target="", string $a_img="")
 
 setTopCommands (bool $a_val)
 
 getTopCommands ()
 
 addColumn (string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
 getNavParameter ()
 
 setOrderLink (string $key, string $order_dir)
 
 fillHeader ()
 
 determineOffsetAndOrder (bool $a_omit_offset=false)
 
 storeNavParameter ()
 
 getHTML ()
 Get HTML. More...
 
 numericOrdering (string $a_field)
 Should this field be sorted numeric? More...
 
 render ()
 
 writeFilterToSession ()
 
 resetFilter ()
 
 fillFooter ()
 
 getLinkbar (string $a_num)
 
 fillHiddenRow ()
 
 fillActionRow ()
 
 setHeaderHTML (string $html)
 
 storeProperty (string $type, string $value)
 
 loadProperty (string $type)
 
 getCurrentState ()
 get current settings for order, limit, columns and filter More...
 
 setContext (string $id)
 
 getContext ()
 
 setShowRowsSelector (bool $a_value)
 Toggle rows-per-page selector. More...
 
 getShowRowsSelector ()
 
 getLimit ()
 
 getOffset ()
 
 setExportFormats (array $formats)
 Set available export formats. More...
 
 setPrintMode (bool $a_value=false)
 
 getPrintMode ()
 
 getExportMode ()
 
 exportData (int $format, bool $send=false)
 Export and optionally send current table data. More...
 
 setEnableAllCommand (bool $a_value)
 
 setRowSelectorLabel (string $row_selector_label)
 
 getRowSelectorLabel ()
 
 setPreventDoubleSubmission (bool $a_val)
 
 getPreventDoubleSubmission ()
 
 setLimit (int $a_limit=0, int $a_default_limit=0)
 set max. More...
 
- Public Member Functions inherited from ilTableGUI
 __construct (array $a_data=[], bool $a_global_tpl=true)
 
 setTemplate (ilTemplate $a_tpl)
 
 getTemplateObject ()
 
 setData (array $a_data)
 Set table data. More...
 
 getData ()
 
 setTitle (string $a_title, string $a_icon="", string $a_icon_alt="")
 
 setHelp (string $a_help_page, string $a_help_icon, string $a_help_icon_alt="")
 
 setHeaderNames (array $a_header_names)
 
 getColumnCount ()
 
 setHeaderVars (array $a_header_vars, array $a_header_params=[])
 
 setColumnWidth (array $a_column_width)
 set table column widths More...
 
 setOneColumnWidth (string $a_column_width, int $a_column_number)
 
 setMaxCount (int $a_max_count)
 set max. More...
 
 setLimit (int $a_limit=0, int $a_default_limit=0)
 set max. More...
 
 getLimit ()
 
 setPrefix (string $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) More...
 
 setOffset (int $a_offset)
 set dataset offset More...
 
 getOffset ()
 
 setOrderColumn (string $a_order_column="", string $a_default_column="")
 
 getOrderColumn ()
 
 setOrderDirection (string $a_order_direction)
 
 getOrderDirection ()
 
 setFooter (string $a_style, string $a_previous="", string $a_next="")
 
 enable (string $a_module_name)
 
 disable (string $a_module_name)
 
 sortData ()
 
 render ()
 
 renderHeader ()
 
 setOrderLink (string $key, string $order_dir)
 
 setStyle (string $a_element, string $a_style)
 
 getStyle (string $a_element)
 
 setBase (string $a_base)
 
 getBase ()
 
 getFormName ()
 get the name of the parent form More...
 
 setFormName (string $a_name="cmd")
 
 getSelectAllCheckbox ()
 get the name of the checkbox that should be toggled with a select all button More...
 
 setSelectAllCheckbox (string $a_select_all_checkbox)
 
 clearActionButtons ()
 
 addActionButton (string $btn_name, string $btn_value)
 

Static Public Member Functions

static getAllCommandLimit ()
 
- Static Public Member Functions inherited from ilTableGUI
static linkbar (string $AScript, int $AHits, int $ALimit, int $AOffset, array $AParams=array(), array $ALayout=array(), string $prefix='')
 

Data Fields

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

Protected Member Functions

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

Protected Attributes

string $requested_nav_par2 = ""
 
string $requested_nav_par = ""
 
string $requested_nav_par1 = ""
 
ILIAS Table TableGUIRequest $table_request = null
 
array $selected_columns = []
 
ilCtrl $ctrl
 
object $parent_obj = null
 
string $parent_cmd = ""
 
string $close_command = ""
 
string $top_anchor = "il_table_top"
 
array $filters = array()
 
array $optional_filters = array()
 
string $filter_cmd = 'applyFilter'
 
string $reset_cmd = 'resetFilter'
 
int $filter_cols = 5
 
bool $ext_sort = false
 
bool $ext_seg = false
 
string $context = ""
 
array $mi_sel_buttons = []
 
bool $disable_filter_hiding = false
 
bool $top_commands = true
 
array $selectable_columns = array()
 
array $selected_column = array()
 
bool $show_rows_selector = true
 
bool $rows_selector_off = false
 
bool $nav_determined = false
 
bool $limit_determined = false
 
bool $filters_determined = false
 
bool $columns_determined = false
 
bool $open_form_tag = true
 
bool $close_form_tag = true
 
array $export_formats = []
 
int $export_mode = 0
 
bool $print_mode = false
 
bool $enable_command_for_all = false
 
bool $restore_filter = false
 
array $restore_filter_values = []
 
bool $default_filter_visibility = false
 
array $sortable_fields = array()
 
bool $prevent_double_submission = true
 
string $row_selector_label = ""
 
bool $select_all_on_top = false
 
array $sel_buttons = []
 
string $nav_value = ''
 
string $noentriestext = ''
 
string $css_row = ''
 
bool $display_as_block = false
 
string $description = ''
 
string $id = ""
 
bool $custom_prev_next = false
 
string $reset_cmd_txt = ""
 
string $defaultorderfield = ""
 
string $defaultorderdirection = ""
 
array $column = []
 
bool $datatable = false
 
bool $num_info = false
 
bool $form_multipart = false
 
array $row_data = []
 
string $order_field = ""
 
array $selected_filter = []
 
string $form_action = ""
 
string $formname = ""
 
string $sort_order = ""
 
array $buttons = []
 
array $multi = []
 
array $hidden_inputs = []
 
array $header_commands = []
 
string $row_template = ""
 
string $row_template_dir = ""
 
string $filter_cmd_txt = ""
 
string $custom_prev = ""
 
string $custom_next = ""
 
array $raw_post_data = null
 
ilGlobalTemplateInterface $main_tpl
 
- Protected Attributes inherited from ilTableGUI
string $sort_order
 
string $link_params
 
array $header_params
 
 $tpl
 
ilLanguage $lng
 

Private Member Functions

 renderFilter ()
 Render Filter section. More...
 

Private Attributes

ILIAS DI UIServices $ui
 
string $unique_id = ""
 
string $headerHTML = ""
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

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
Deprecated:
with ILIAS 12

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

Constructor & Destructor Documentation

◆ __construct()

ilTable2GUI::__construct ( ?object  $a_parent_obj,
string  $a_parent_cmd = "",
string  $a_template_context = "" 
)
Parameters
object | null$a_parent_objupper GUI class, which calls ilTable2GUI

Reimplemented in ilLPTableBaseGUI, ilObjectCopySearchResultTableGUI, and ilObjectTableGUI.

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

127 {
128 global $DIC;
129 $this->main_tpl = $DIC->ui()->mainTemplate();
130 $this->ui = $DIC->ui();
131
132 $this->lng = $DIC->language();
133 $this->ctrl = $DIC->ctrl();
134 $lng = $DIC->language();
135
136 if (isset($DIC["http"])) {
137 $this->table_request = new \ILIAS\Table\TableGUIRequest(
138 $DIC->http(),
139 $DIC->refinery()
140 );
141 }
142 $this->getRequestedValues();
143 parent::__construct([], false);
144 $this->unique_id = md5(uniqid('', true));
145 $this->parent_obj = $a_parent_obj;
146 $this->parent_cmd = $a_parent_cmd;
147 $this->buttons = array();
148 $this->header_commands = array();
149 $this->multi = array();
150 $this->hidden_inputs = array();
151 $this->formname = "table_" . $this->unique_id;
152 $this->tpl = new ilTemplate("tpl.table2.html", true, true, "components/ILIAS/Table");
153
154 $lng->loadLanguageModule('tbl');
155
156 if (!$a_template_context) {
157 $a_template_context = $this->getId();
158 }
159 $this->setContext($a_template_context);
160
161 // activate export mode
162 if (isset($this->table_request)) {
163 $this->export_mode = $this->table_request->getExportMode($this->prefix);
164 }
165
166 $this->determineLimit();
167 $this->setIsDataTable(true);
168 $this->setEnableNumInfo(true);
170
171 $this->raw_post_data = [];
172 if (isset($DIC["http"])) {
173 $this->raw_post_data = $DIC->http()->request()->getParsedBody();
174 }
175 }
loadLanguageModule(string $a_module)
Load language module.
setContext(string $id)
setIsDataTable(bool $a_val)
setEnableNumInfo(bool $a_val)
ilLanguage $lng
special template class to simplify handling of ITX/PEAR
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

References $DIC, ilTableGUI\$lng, $unique_id, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), determineLimit(), determineSelectedColumns(), getId(), getRequestedValues(), ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), setContext(), setEnableNumInfo(), setIsDataTable(), and ILIAS\Repository\ui().

+ Here is the call graph for this function:

Member Function Documentation

◆ addColumn()

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

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

964 : void {
965 $this->column[] = array(
966 "text" => $a_text,
967 "sort_field" => $a_sort_field,
968 "width" => $a_width,
969 "is_checkbox_action_column" => $a_is_checkbox_action_column,
970 "class" => $a_class,
971 "tooltip" => $a_tooltip,
972 "tooltip_html" => $a_tooltip_with_html
973 );
974 if ($a_sort_field != "") {
975 $this->sortable_fields[] = $a_sort_field;
976 }
977 $this->column_count = count($this->column);
978 }

Referenced by ilQuestionBrowserTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilECSExportedContentTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilClipboardTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilLinksTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilAccessibilityTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilDclRecordListTableGUI\addActionRowIfNeeded(), ilSystemStylesTableGUI\addActions(), ilEmployeeTalkTableGUI\addColumns(), ilFileSystemTableGUI\addColumns(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\addColumns(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\addColumns(), ilMStListCoursesTableGUI\addColumns(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\addColumns(), ilMStShowUserCoursesTableGUI\addColumns(), ilWikiPagesTableGUI\addLanguageColumn(), ilWikiPagesTableGUI\addTranslationsColumn(), ilRoleTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilLOMemberTestResultTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilObjectTableGUI\init(), ilLogComponentTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilTrashTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilSCGroupTableGUI\init(), ilSCTaskTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilUserClipboardTableGUI\init(), ilUserExportFileTableGUI\init(), ilObjectRolePermissionTableGUI\initColumns(), ilBiblTranslationTableGUI\initColumns(), ilCmiXapiLrsTypesTableGUI\initColumns(), ilCmiXapiScoringTableGUI\initColumns(), ilCmiXapiStatementsTableGUI\initColumns(), ilDashboardSortationTableGUI\initColumns(), ilLTIConsumerScoringTableGUI\initColumns(), ilImageMapTableGUI\initColumns(), ilRepositoryObjectSearchResultTableGUI\initColumns(), ilTestPassDetailsOverviewTableGUI\initColumns(), ilTestPassOverviewTableGUI\initColumns(), ilTestSkillLevelThresholdsTableGUI\initColumns(), ilAnswerFrequencyStatisticTableGUI\initColumns(), ilKprimChoiceAnswerFreqStatTableGUI\initColumns(), ilMatchingQuestionAnswerFreqStatTableGUI\initColumns(), ilQuestionCumulatedStatisticsTableGUI\initColumns(), ilQuestionInternalLinkSelectionTableGUI\initColumns(), ilQuestionPoolPrintViewTableGUI\initColumns(), ilQuestionUsagesTableGUI\initColumns(), ilOrgUnitPermissionTableGUI\initColumns(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilConsultationHourBookingTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilECSServerTableGUI\initTable(), and ilForumTopicTableGUI\initTopicsOverviewTable().

+ Here is the caller graph for this function:

◆ addCommandButton()

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

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

892 : void {
893 $this->buttons[] = array("cmd" => $a_cmd, "text" => $a_text, 'onclick' => $a_onclick,
894 "id" => $a_id, "class" => $a_class);
895 }

Referenced by ilQuestionBrowserTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilDashboardSortationTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilObjStudyProgrammeIndividualPlanGUI\appendIndividualPlanActions(), ilRoleTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilObjectCopyCourseGroupSelectionTableGUI\init(), ilLogComponentTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilUserClipboardTableGUI\init(), ilImageMapTableGUI\initActions(), assFileUploadFileTableGUI\initCommand(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilLPCollectionSettingsTableGUI\initTable(), ilLPCollectionSettingsTableGUI\parse(), ilAssignmentsPerParticipantTableGUI\parseData(), ilParticipantsPerAssignmentTableGUI\parseData(), ilInstallationHeadingTableGUI\prepareOutput(), ilMultilingualismTableGUI\prepareOutput(), and ilMediaPoolTableGUI\prepareOutput().

+ Here is the caller graph for this function:

◆ addCommandButtonInstance()

ilTable2GUI::addCommandButtonInstance ( ilButtonBase  $a_button)

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

897 : void
898 {
899 $this->buttons[] = $a_button;
900 }

◆ addFilterItem()

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

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

495 : void {
496 $a_input_item->setParentTable($this);
497 if (!$a_optional) {
498 $this->filters[] = $a_input_item;
499 } else {
500 $this->optional_filters[] = $a_input_item;
501 }
502
503 // restore filter values (from stored view)
504 if ($this->restore_filter) {
505 if (array_key_exists($a_input_item->getFieldId(), $this->restore_filter_values ?? [])) {
506 $this->setFilterValue($a_input_item, $this->restore_filter_values[$a_input_item->getFieldId()]);
507 } else {
508 $this->setFilterValue($a_input_item, null); // #14949
509 }
510 }
511 }
setFilterValue(ilTableFilterItem $a_item, $a_value)

Referenced by ilExerciseSubmissionTableGUI\initCourseGroupFilter(), ilRoleTableGUI\initFilter(), ilCmiXapiStatementsTableGUI\initFilter(), ilLanguageExtTableGUI\initFilter(), ilMediaPoolTableGUI\initFilter(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\initFilter(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\initFilter(), ilMStListCoursesTableGUI\initFilter(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\initFilter(), ilMStShowUserCoursesTableGUI\initFilter(), ilPDNewsTableGUI\initFilter(), ilSessionMaterialsTableGUI\initFilter(), ilSurveyQuestionblockbrowserTableGUI\initFilter(), ilSurveyQuestionbrowserTableGUI\initFilter(), ilSurveyQuestionsTableGUI\initFilter(), ilQuestionBrowserTableGUI\initFilter(), ilLPObjectStatisticsDailyTableGUI\initFilter(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilLPObjectStatisticsTableGUI\initFilter(), ilLPObjectStatisticsTypesTableGUI\initFilter(), ilTrUserObjectsPropsTableGUI\initFilter(), ilRoleAssignmentTableGUI\initFilter(), and ilUserTableGUI\initFilter().

+ Here is the caller graph for this function:

◆ addFilterItemByMetaType()

ilTable2GUI::addFilterItemByMetaType ( string  $id,
int  $type = self::FILTER_TEXT,
bool  $a_optional = false,
string  $caption = "" 
)

Add filter by standard type.

Exceptions
Exception

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

523 global $DIC;
524
525 $lng = $DIC->language(); // constructor may not be called here, if initFilter is being called in subclasses before parent::__construct
526
527 if (!$caption) {
528 $caption = $lng->txt($id);
529 }
530
531 switch ($type) {
533 $item = new ilCheckboxInputGUI($caption, $id);
534 break;
535
537 $item = new ilSelectInputGUI($caption, $id);
538 break;
539
541 $item = new ilDateTimeInputGUI($caption, $id);
542 break;
543
545 $item = new ilTextInputGUI($caption, $id);
546 $item->setMaxLength(64);
547 $item->setSize(20);
548 // $item->setSubmitFormOnEnter(true);
549 break;
550
552 $lng->loadLanguageModule("meta");
553 $item = new ilSelectInputGUI($caption, $id);
554 $options = array("" => $lng->txt("trac_all"));
555 foreach ($lng->getInstalledLanguages() as $lang_key) {
556 $options[$lang_key] = $lng->txt("meta_l_" . $lang_key);
557 }
558 $item->setOptions($options);
559 break;
560
562 $item = new ilCombinationInputGUI($caption, $id);
563 $combi_item = new ilNumberInputGUI("", $id . "_from");
564 $combi_item->setSize(5);
565 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
566 $combi_item = new ilNumberInputGUI("", $id . "_to");
567 $combi_item->setSize(5);
568 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
569 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
570 //$item->setMaxLength(7);
571 //$item->setSize(20);
572 break;
573
575 $item = new ilCombinationInputGUI($caption, $id);
576 $combi_item = new ilDateTimeInputGUI("", $id . "_from");
577 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
578 $combi_item = new ilDateTimeInputGUI("", $id . "_to");
579 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
580 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
581 break;
582
584 $item = new ilCombinationInputGUI($caption, $id);
585 $combi_item = new ilDateTimeInputGUI("", $id . "_from");
586 $combi_item->setShowTime(true);
587 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
588 $combi_item = new ilDateTimeInputGUI("", $id . "_to");
589 $combi_item->setShowTime(true);
590 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
591 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
592 break;
593
595 $lng->loadLanguageModule("form");
596 $item = new ilCombinationInputGUI($caption, $id);
597 $combi_item = new ilDurationInputGUI("", $id . "_from");
598 $combi_item->setShowMonths(false);
599 $combi_item->setShowDays(true);
600 $combi_item->setShowSeconds(true);
601 $item->addCombinationItem("from", $combi_item, $lng->txt("from"));
602 $combi_item = new ilDurationInputGUI("", $id . "_to");
603 $combi_item->setShowMonths(false);
604 $combi_item->setShowDays(true);
605 $combi_item->setShowSeconds(true);
606 $item->addCombinationItem("to", $combi_item, $lng->txt("to"));
607 $item->setComparisonMode(ilCombinationInputGUI::COMPARISON_ASCENDING);
608 break;
609
610 default:
611 return null;
612 }
613
614 $this->addFilterItem($item, $a_optional);
615 $item->readFromSession();
616 return $item;
617 }
This class represents a checkbox property in a property form.
This class represents a number property in a property form.
This class represents a date/time property in a property form.
This class represents a duration (typical hh:mm:ss) property in a property form.
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
getInstalledLanguages()
Get installed languages.
This class represents a number property in a property form.
This class represents a selection list property in a property form.
addFilterItem(ilTableFilterItem $a_input_item, bool $a_optional=false)
const FILTER_DURATION_RANGE
const FILTER_NUMBER_RANGE
const FILTER_DATETIME_RANGE
This class represents a text property in a property form.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References $id, and $lng.

Referenced by ilDclBooleanFieldRepresentation\addFilterInputFieldToTable(), ilDclCopyFieldRepresentation\addFilterInputFieldToTable(), ilDclDateFieldRepresentation\addFilterInputFieldToTable(), ilDclDatetimeFieldRepresentation\addFilterInputFieldToTable(), ilDclIliasReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclMobFieldRepresentation\addFilterInputFieldToTable(), ilDclNumberFieldRepresentation\addFilterInputFieldToTable(), ilDclRatingFieldRepresentation\addFilterInputFieldToTable(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclSelectionFieldRepresentation\addFilterInputFieldToTable(), ilDclTextFieldRepresentation\addFilterInputFieldToTable(), ilObjectRolePermissionTableGUI\initFilter(), ilBookingObjectsTableGUI\initFilter(), ilBookingParticipantsTableGUI\initFilter(), ilExerciseSubmissionTableGUI\initFilter(), ilParticipantTableGUI\initFilter(), ilMDCopyrightUsageTableGUI\initFilter(), ilWorkspaceShareTableGUI\initFilter(), ilTrashTableGUI\initFilter(), ilSCORMTrackingUsersTableGUI\initFilter(), ilSessionParticipantsTableGUI\initFilter(), ilTrMatrixTableGUI\initFilter(), ilTrObjectUsersPropsTableGUI\initFilter(), and ilTrSummaryTableGUI\initFilter().

+ Here is the caller graph for this function:

◆ addHeaderCommand()

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

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

941 : void {
942 $this->header_commands[] = array("href" => $a_href, "text" => $a_text,
943 "target" => $a_target, "img" => $a_img);
944 }

◆ addHiddenInput()

ilTable2GUI::addHiddenInput ( string  $a_name,
string  $a_value 
)

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

931 : void
932 {
933 $this->hidden_inputs[] = array("name" => $a_name, "value" => $a_value);
934 }

Referenced by ilObjectCopySelectionTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), and ilTestSkillLevelThresholdsTableGUI\fillRow().

+ Here is the caller graph for this function:

◆ addMultiCommand()

ilTable2GUI::addMultiCommand ( string  $a_cmd,
string  $a_text 
)

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

926 : void
927 {
928 $this->multi[] = array("cmd" => $a_cmd, "text" => $a_text);
929 }

Referenced by ilQuestionBrowserTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilParticipantsPerAssignmentTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilRoleTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilTrashTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilUserClipboardTableGUI\init(), ilUserExportFileTableGUI\init(), ilImageMapTableGUI\initActions(), ilLearningSequenceParticipantsTableGUI\initForm(), ilRepositoryUserResultTableGUI\initMultiCommands(), ilConsultationHourBookingTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilForumTopicTableGUI\initTopicsOverviewTable(), ilLPCollectionSettingsTableGUI\parse(), ilInstallationHeadingTableGUI\prepareOutput(), ilMultilingualismTableGUI\prepareOutput(), and ilMediaPoolTableGUI\prepareOutput().

+ Here is the caller graph for this function:

◆ addMultiItemSelectionButton()

ilTable2GUI::addMultiItemSelectionButton ( string  $a_sel_var,
array  $a_options,
string  $a_cmd,
string  $a_text,
string  $a_default_selection = '' 
)
Parameters
string$a_sel_varselection input variable name
array$a_optionsselection options ("value" => text")
string$a_cmdcommand
string$a_textbutton text
string$a_default_selection
Returns
void

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

916 : void {
917 $this->mi_sel_buttons[] = array("sel_var" => $a_sel_var, "options" => $a_options, "selected" => $a_default_selection, "cmd" => $a_cmd, "text" => $a_text);
918 $this->addHiddenInput("cmd_sv[" . $a_cmd . "]", $a_sel_var);
919 }
addHiddenInput(string $a_name, string $a_value)

Referenced by ilRepositoryUserResultTableGUI\initMultiCommands().

+ Here is the caller graph for this function:

◆ clearCommandButtons()

ilTable2GUI::clearCommandButtons ( )

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

881 : void
882 {
883 $this->buttons = array();
884 }

Referenced by ilObjectCustomUserFieldsTableGUI\parse().

+ Here is the caller graph for this function:

◆ dataExists()

ilTable2GUI::dataExists ( )
final

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

476 : bool
477 {
478 return count($this->row_data) > 0;
479 }

Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilInstallationHeadingTableGUI\prepareOutput(), and ilMultilingualismTableGUI\prepareOutput().

+ Here is the caller graph for this function:

◆ determineLimit()

ilTable2GUI::determineLimit ( )

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

207 : void
208 {
209 global $DIC;
210
211 $ilUser = null;
212 if (isset($DIC["ilUser"])) {
213 $ilUser = $DIC["ilUser"];
214 }
215
216 if ($this->limit_determined) {
217 return;
218 }
219
220 $limit = 0;
221 if (isset($this->table_request) && !is_null($this->table_request->getRows($this->prefix))) {
222 $this->storeProperty("rows", $this->table_request->getRows($this->prefix));
223 $limit = $this->table_request->getRows($this->prefix) ?? 0;
224 $this->resetOffset();
225 }
226
227 if ($limit == 0) {
228 $rows = (int) $this->loadProperty("rows");
229 if ($rows > 0) {
230 $limit = $rows;
231 } else {
232 $limit = 40;
233 }
234 }
235
236 $this->setLimit($limit);
237 $this->limit_determined = true;
238 }
loadProperty(string $type)
setLimit(int $a_limit=0, int $a_default_limit=0)
set max.
resetOffset(bool $a_in_determination=false)
storeProperty(string $type, string $value)

References $DIC, ilTableGUI\$limit, ILIAS\Repository\int(), loadProperty(), resetOffset(), setLimit(), and storeProperty().

Referenced by __construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), and ilMStShowUserCoursesTableGUI\parseData().

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

◆ determineOffsetAndOrder()

ilTable2GUI::determineOffsetAndOrder ( bool  $a_omit_offset = false)

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

1163 : void
1164 {
1165 global $DIC;
1166
1167 $ilUser = null;
1168 if (isset($DIC["ilUser"])) {
1169 $ilUser = $DIC["ilUser"];
1170 }
1171
1172 if ($this->nav_determined) {
1173 return;
1174 }
1175
1176 if ($this->requested_nav_par1 != "") {
1177 if ($this->requested_nav_par1 != ($this->requested_nav_par ?? "")) {
1178 $this->nav_value = $this->requested_nav_par1;
1179 } elseif (
1180 $this->requested_nav_par2 != "" &&
1181 $this->requested_nav_par2 != $this->requested_nav_par
1182 ) {
1183 $this->nav_value = $this->requested_nav_par2;
1184 }
1185 } elseif ($this->requested_nav_par != "") {
1186 $this->nav_value = $this->requested_nav_par;
1187 }
1188
1189 if ($this->nav_value == "" && $this->getId() != "" && $ilUser->getId() != ANONYMOUS_USER_ID) {
1190 $order = $this->loadProperty("order");
1191 if (in_array($order, $this->sortable_fields)) {
1192 $direction = $this->loadProperty("direction");
1193 } else {
1194 $direction = $this->getDefaultOrderDirection();
1195 }
1196 // get order and direction from db
1197 $this->nav_value =
1198 $order . ":" .
1199 $direction . ":" .
1200 $this->loadProperty("offset");
1201 }
1202 $nav = explode(":", $this->nav_value);
1203
1204 // $nav[0] is order by
1205 $req_order_field = $nav[0] ?? "";
1206 $req_order_dir = $nav[1] ?? "";
1207 $req_offset = (int) ($nav[2] ?? 0);
1208 $this->setOrderField(($req_order_field != "") ? $req_order_field : $this->getDefaultOrderField());
1209 $this->setOrderDirection(($req_order_dir != "") ? $req_order_dir : $this->getDefaultOrderDirection());
1210
1211 if (!$a_omit_offset) {
1212 // #8904: offset must be discarded when no limit is given
1213 if (!$this->getExternalSegmentation() && $this->limit_determined && $this->limit == 9999) {
1214 $this->resetOffset(true);
1215 } elseif (!$this->getExternalSegmentation() && $req_offset >= $this->max_count) {
1216 $this->resetOffset(true);
1217 } else {
1218 $this->setOffset($req_offset);
1219 }
1220 }
1221
1222 if (!$a_omit_offset) {
1223 $this->nav_determined = true;
1224 }
1225 }
setOrderField(string $a_order_field)
string $requested_nav_par1
string $requested_nav_par
string $requested_nav_par2
setOffset(int $a_offset)
set dataset offset
setOrderDirection(string $a_order_direction)
const ANONYMOUS_USER_ID
Definition: constants.php:27

References $DIC, ANONYMOUS_USER_ID, ILIAS\Survey\Mode\getId(), and ILIAS\Repository\int().

Referenced by ILIAS\LegalDocuments\Legacy\Table\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilLPTableBaseGUI\executeCommand(), ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilAssignedUsersTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserTableGUI\getItems(), ilUserExportFileTableGUI\init(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilTrashTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilFileSystemTableGUI\prepareOutput(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), and resetOffset().

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

◆ determineSelectedColumns()

ilTable2GUI::determineSelectedColumns ( )

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

249 : void
250 {
251 if ($this->columns_determined) {
252 return;
253 }
254
255 $old_sel = $this->loadProperty("selfields");
256 $sel_fields = [];
257 $stored = false;
258 if ($old_sel != "") {
259 $sel_fields = unserialize((string) $old_sel);
260 $stored = true;
261 }
262 if (!is_array($sel_fields)) {
263 $stored = false;
264 $sel_fields = array();
265 }
266
267 $this->selected_columns = array();
268 $set = false;
269
270 $fsh = false;
271 $fs = [];
272 if (isset($this->table_request)) {
273 $fs = $this->table_request->getFS($this->getId());
274 $fsh = $this->table_request->getFSH($this->getId());
275 }
276
277 foreach ($this->getSelectableColumns() as $k => $c) {
278 $this->selected_column[$k] = false;
279
280 $new_column = (!isset($sel_fields[$k]));
281
282 if ($fsh) {
283 $set = true;
284 if (in_array($k, $fs)) {
285 $this->selected_column[$k] = true;
286 }
287 } elseif ($stored && !$new_column) { // take stored values
288 $this->selected_column[$k] = $sel_fields[$k];
289 } else { // take default values
290 if ($new_column) {
291 $set = true;
292 }
293 if (isset($c["default"]) && $c["default"]) {
294 $this->selected_column[$k] = true;
295 }
296 }
297
298 // Optional filters
299 $ff = [];
300 if (isset($this->table_request)) {
301 $ff = $this->table_request->getFF($this->getId());
302 }
303 if (count($ff) > 0) {
304 $set = true;
305 if (in_array($k, $ff)) {
306 $this->selected_column[$k] = true;
307 }
308 }
309 }
310
311 if ($old_sel != serialize($this->selected_column) && $set) {
312 $this->storeProperty("selfields", serialize($this->selected_column));
313 }
314
315 $this->columns_determined = true;
316 }
getSelectableColumns()
Get selectable columns.
$c
Definition: deliver.php:25

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

Referenced by __construct().

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

◆ determineSelectedFilters()

ilTable2GUI::determineSelectedFilters ( )

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

681 : void
682 {
683 if ($this->filters_determined) {
684 return;
685 }
686
687 $old_sel = $this->loadProperty("selfilters");
688 $stored = false;
689 $sel_filters = null;
690 if ($old_sel != "") {
691 $sel_filters =
692 unserialize((string) $old_sel);
693 $stored = true;
694 }
695 if (!is_array($sel_filters)) {
696 $stored = false;
697 $sel_filters = array();
698 }
699
700 $this->selected_filter = array();
701 $set = false;
702 foreach ($this->getFilterItems(true) as $item) {
703 $k = $item->getPostVar();
704
705 $this->selected_filter[$k] = false;
706
707 if ($this->table_request->getFSF($this->getId())) {
708 $set = true;
709 if (in_array($k, $this->table_request->getFF($this->getId()))) {
710 $this->selected_filter[$k] = true;
711 } else {
712 $item->setValue(null);
713 $item->writeToSession();
714 }
715 } elseif ($stored) { // take stored values
716 $this->selected_filter[$k] = $sel_filters[$k] ?? "";
717 }
718 }
719
720 if ($old_sel != serialize($this->selected_filter) && $set) {
721 $this->storeProperty("selfilters", serialize($this->selected_filter));
722 }
723
724 $this->filters_determined = true;
725 }
getFilterItems(bool $a_optionals=false)

Referenced by ilLPTableBaseGUI\executeCommand(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), and ILIAS\LegalDocuments\Legacy\Table\setupFilter().

+ Here is the caller graph for this function:

◆ exportData()

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

Export and optionally send current table data.

Reimplemented in ilDclRecordListTableGUI.

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

2443 : void
2444 {
2445 if ($this->dataExists()) {
2446 // #9640: sort
2447 if (!$this->getExternalSorting() && $this->enabled["sort"]) {
2448 $this->determineOffsetAndOrder(true);
2449
2450 $this->row_data = ilArrayUtil::sortArray(
2451 $this->row_data,
2452 $this->getOrderField(),
2453 $this->getOrderDirection(),
2454 $this->numericOrdering($this->getOrderField())
2455 );
2456 }
2457
2458 $filename = "export";
2459 switch ($format) {
2460 case self::EXPORT_EXCEL:
2461 $excel = new ilExcel();
2462 $excel->addSheet($this->title
2463 ?: $this->lng->txt("export"));
2464 $row = 1;
2465
2466 ob_start();
2467 $this->fillMetaExcel($excel, $row); // row must be increment in fillMetaExcel()! (optional method)
2468
2469 // #14813
2470 $pre = $row;
2471 $this->fillHeaderExcel($excel, $row); // row should NOT be incremented in fillHeaderExcel()! (required method)
2472 if ($pre == $row) {
2473 $row++;
2474 }
2475
2476 foreach ($this->row_data as $set) {
2477 $this->fillRowExcel($excel, $row, $set);
2478 $row++; // #14760
2479 }
2480 ob_end_clean();
2481
2482 if ($send) {
2483 $excel->sendToClient($filename);
2484 } else {
2485 $excel->writeToFile($filename);
2486 }
2487 break;
2488
2489 case self::EXPORT_CSV:
2490 $csv = new ilCSVWriter();
2491 $csv->setSeparator(";");
2492
2493 ob_start();
2494 $this->fillMetaCSV($csv);
2495 $this->fillHeaderCSV($csv);
2496 foreach ($this->row_data as $set) {
2497 $this->fillRowCSV($csv, $set);
2498 }
2499 ob_end_clean();
2500
2501 if ($send) {
2502 $filename .= ".csv";
2503 header("Content-type: text/comma-separated-values");
2504 header("Content-Disposition: attachment; filename=\"" . $filename . "\"");
2505 header("Expires: 0");
2506 header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
2507 header("Pragma: public");
2508 echo $csv->getCSVString();
2509 } else {
2510 file_put_contents($filename, $csv->getCSVString());
2511 }
2512 break;
2513 }
2514
2515 if ($send) {
2516 exit();
2517 }
2518 }
2519 }
$filename
Definition: buildRTE.php:78
static sortArray(array $array, string $a_array_sortby_key, string $a_array_sortorder="asc", bool $a_numeric=false, bool $a_keep_keys=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
fillRowCSV(ilCSVWriter $a_csv, array $a_set)
CSV Version of Fill Row.
determineOffsetAndOrder(bool $a_omit_offset=false)
fillHeaderCSV(ilCSVWriter $a_csv)
CSV Version of Fill Header.
fillRowExcel(ilExcel $a_excel, int &$a_row, array $a_set)
Excel Version of Fill Row.
numericOrdering(string $a_field)
Should this field be sorted numeric?
fillMetaExcel(ilExcel $a_excel, int &$a_row)
Add meta information to excel export.
fillMetaCSV(ilCSVWriter $a_csv)
Add meta information to csv export.
fillHeaderExcel(ilExcel $a_excel, int &$a_row)
Excel Version of Fill Header.
exit

References $filename, exit, ILIAS\UI\examples\Symbol\Glyph\Header\header(), ILIAS\Repository\lng(), and ilArrayUtil\sortArray().

Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

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

◆ fillActionRow()

ilTable2GUI::fillActionRow ( )

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

2027 : void
2028 {
2029 $lng = $this->lng;
2030
2031 // action row
2032 $action_row = false;
2033 $arrow = false;
2034 $txt = "";
2035 $cmd = "";
2036
2037 // add selection buttons
2038 if (count($this->sel_buttons) > 0) {
2039 foreach ($this->sel_buttons as $button) {
2040 $this->tpl->setCurrentBlock("sel_button");
2041 $this->tpl->setVariable(
2042 "SBUTTON_SELECT",
2044 $button["selected"],
2045 $button["sel_var"],
2046 $button["options"],
2047 false,
2048 true
2049 )
2050 );
2051 $this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
2052 $this->tpl->setVariable("SBTN_VALUE", $button["text"]);
2053 $this->tpl->parseCurrentBlock();
2054
2055 if ($this->getTopCommands()) {
2056 $this->tpl->setCurrentBlock("sel_top_button");
2057 $this->tpl->setVariable(
2058 "SBUTTON_SELECT",
2060 $button["selected"],
2061 $button["sel_var"],
2062 $button["options"],
2063 false,
2064 true
2065 )
2066 );
2067 $this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
2068 $this->tpl->setVariable("SBTN_VALUE", $button["text"]);
2069 $this->tpl->parseCurrentBlock();
2070 }
2071 }
2072 $buttons = true;
2073 $action_row = true;
2074 }
2075 $this->sel_buttons[] = array("options" => [], "cmd" => '', "text" => '');
2076
2077 // add buttons
2078 if (count($this->buttons) > 0) {
2079 foreach ($this->buttons as $button) {
2080 if (!is_array($button)) {
2081 if ($button instanceof ilButtonBase) {
2082 $this->tpl->setVariable('BUTTON_OBJ', $button->render());
2083
2084 // this will remove id - should be unique
2085 $button = clone $button;
2086
2087 $this->tpl->setVariable('BUTTON_TOP_OBJ', $button->render());
2088 }
2089 continue;
2090 }
2091
2092 if (strlen($button['onclick'])) {
2093 $this->tpl->setCurrentBlock('cmdonclick');
2094 $this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
2095 $this->tpl->parseCurrentBlock();
2096 }
2097 $this->tpl->setCurrentBlock("plain_button");
2098 if ($button["id"] != "") {
2099 $this->tpl->setVariable("PBID", ' id="' . $button["id"] . '" ');
2100 }
2101 if ($button["class"] != "") {
2102 $this->tpl->setVariable("PBBT_CLASS", ' ' . $button["class"]);
2103 }
2104 $this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
2105 $this->tpl->setVariable("PBTN_VALUE", $button["text"]);
2106 $this->tpl->parseCurrentBlock();
2107
2108 if ($this->getTopCommands()) {
2109 if (strlen($button['onclick'])) {
2110 $this->tpl->setCurrentBlock('top_cmdonclick');
2111 $this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
2112 $this->tpl->parseCurrentBlock();
2113 }
2114 $this->tpl->setCurrentBlock("plain_top_button");
2115 $this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
2116 $this->tpl->setVariable("PBTN_VALUE", $button["text"]);
2117 if ($button["class"] != "") {
2118 $this->tpl->setVariable("PBBT_CLASS", ' ' . $button["class"]);
2119 }
2120 $this->tpl->parseCurrentBlock();
2121 }
2122 }
2123
2124 $buttons = true;
2125 $action_row = true;
2126 }
2127
2128 // multi selection
2129 if (count($this->mi_sel_buttons)) {
2130 foreach ($this->mi_sel_buttons as $button) {
2131 $this->tpl->setCurrentBlock("mi_sel_button");
2132 $this->tpl->setVariable(
2133 "MI_BUTTON_SELECT",
2135 $button["selected"],
2136 $button["sel_var"],
2137 $button["options"],
2138 false,
2139 true
2140 )
2141 );
2142 $this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
2143 $this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
2144 $this->tpl->parseCurrentBlock();
2145
2146 if ($this->getTopCommands()) {
2147 $this->tpl->setCurrentBlock("mi_top_sel_button");
2148 $this->tpl->setVariable(
2149 "MI_BUTTON_SELECT",
2151 $button["selected"],
2152 $button["sel_var"] . "_2",
2153 $button["options"],
2154 false,
2155 true
2156 )
2157 );
2158 $this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
2159 $this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
2160 $this->tpl->parseCurrentBlock();
2161 }
2162 }
2163 $arrow = true;
2164 $action_row = true;
2165 }
2166
2167
2168 if (count($this->multi) > 1 && $this->dataExists()) {
2169 if ($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit()) {
2170 $this->tpl->setCurrentBlock("tbl_cmd_select_all");
2171 $this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
2172 $this->tpl->parseCurrentBlock();
2173 }
2174
2175 $this->tpl->setCurrentBlock("tbl_cmd_select");
2176 $sel = array();
2177 foreach ($this->multi as $mc) {
2178 $sel[$mc["cmd"]] = $mc["text"];
2179 }
2180 $this->tpl->setVariable(
2181 "SELECT_CMDS",
2182 ilLegacyFormElementsUtil::formSelect("", "selected_cmd", $sel, false, true)
2183 );
2184 $this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
2185 $this->tpl->parseCurrentBlock();
2186 $arrow = true;
2187 $action_row = true;
2188
2189 if ($this->getTopCommands()) {
2190 if ($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit()) {
2191 $this->tpl->setCurrentBlock("tbl_top_cmd_select_all");
2192 $this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
2193 $this->tpl->parseCurrentBlock();
2194 }
2195
2196 $this->tpl->setCurrentBlock("tbl_top_cmd_select");
2197 $sel = array();
2198 foreach ($this->multi as $mc) {
2199 $sel[$mc["cmd"]] = $mc["text"];
2200 }
2201 $this->tpl->setVariable(
2202 "SELECT_CMDS",
2203 ilLegacyFormElementsUtil::formSelect("", "selected_cmd2", $sel, false, true)
2204 );
2205 $this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
2206 $this->tpl->parseCurrentBlock();
2207 }
2208 } elseif (count($this->multi) == 1 && $this->dataExists()) {
2209 $this->tpl->setCurrentBlock("tbl_single_cmd");
2210 foreach ($this->multi as $mc) {
2211 $cmd = $mc['cmd'];
2212 $txt = $mc['text'];
2213 }
2214 $this->tpl->setVariable("TXT_SINGLE_CMD", $txt);
2215 $this->tpl->setVariable("SINGLE_CMD", $cmd);
2216 $this->tpl->parseCurrentBlock();
2217 $arrow = true;
2218 $action_row = true;
2219
2220 if ($this->getTopCommands()) {
2221 $this->tpl->setCurrentBlock("tbl_top_single_cmd");
2222 foreach ($this->multi as $mc) {
2223 $cmd = $mc['cmd'];
2224 $txt = $mc['text'];
2225 }
2226 $this->tpl->setVariable("TXT_SINGLE_CMD", $txt);
2227 $this->tpl->setVariable("SINGLE_CMD", $cmd);
2228 $this->tpl->parseCurrentBlock();
2229 }
2230 }
2231
2232 if ($arrow) {
2233 $this->tpl->setCurrentBlock("tbl_action_img_arrow");
2234 $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("nav/arrow_downright.svg"));
2235 $this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
2236 $this->tpl->parseCurrentBlock();
2237
2238 if ($this->getTopCommands()) {
2239 $this->tpl->setCurrentBlock("tbl_top_action_img_arrow");
2240 $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("nav/arrow_upright.svg"));
2241 $this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
2242 $this->tpl->parseCurrentBlock();
2243 }
2244 }
2245
2246 if ($action_row) {
2247 $this->tpl->setCurrentBlock("tbl_action_row");
2248 $this->tpl->parseCurrentBlock();
2249 if ($this->getTopCommands()) {
2250 $this->tpl->setCurrentBlock("tbl_top_action_row");
2251 $this->tpl->parseCurrentBlock();
2252 }
2253 }
2254 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static formSelect( $selected, string $varname, array $options, bool $multiple=false, bool $direct_text=false, int $size=0, string $style_class="", array $attribs=[], bool $disabled=false)
Builds a select form field with options and shows the selected option first.
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)

References $lng, ilLegacyFormElementsUtil\formSelect(), and ilUtil\getImagePath().

Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

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

◆ fillFooter()

ilTable2GUI::fillFooter ( )

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

1724 : void
1725 {
1726 global $DIC;
1727
1728 $ilUser = null;
1729 if (isset($DIC["ilUser"])) {
1730 $ilUser = $DIC["ilUser"];
1731 }
1732
1733 $ui_factory = $this->ui->factory();
1734 $ui_renderer = $this->ui->renderer();
1735
1736 $lng = $this->lng;
1737 $ilCtrl = $this->ctrl;
1738
1739 $footer = false;
1740 $numinfo = '';
1741 $linkbar = '';
1742 $column_selector = '';
1743
1744 // select all checkbox
1745 if ((strlen($this->getFormName())) && (strlen($this->getSelectAllCheckbox())) && $this->dataExists()) {
1746 $this->tpl->setCurrentBlock("select_all_checkbox");
1747 $this->tpl->setVariable("SELECT_ALL_TXT_SELECT_ALL", $lng->txt("select_all"));
1748 $this->tpl->setVariable("SELECT_ALL_CHECKBOX_NAME", $this->getSelectAllCheckbox());
1749 $this->tpl->setVariable("SELECT_ALL_FORM_NAME", $this->getFormName());
1750 $this->tpl->setVariable("CHECKBOXNAME", "chb_select_all_" . $this->unique_id);
1751 $this->tpl->parseCurrentBlock();
1752 }
1753
1754 // table footer numinfo
1755 if ($this->enabled["numinfo"] && $this->enabled["footer"]) {
1756 $start = $this->offset + 1; // compute num info
1757 if (!$this->dataExists()) {
1758 $start = 0;
1759 }
1760 $end = $this->offset + $this->limit;
1761
1762 if ($end > $this->max_count or $this->limit == 0) {
1763 $end = $this->max_count;
1764 }
1765
1766 if ($this->max_count > 0) {
1767 if ($this->lang_support) {
1768 $numinfo = "(" . $start . " - " . $end . " " . strtolower($this->lng->txt("of")) . " " . $this->max_count . ")";
1769 } else {
1770 $numinfo = "(" . $start . " - " . $end . " of " . $this->max_count . ")";
1771 }
1772 }
1773 if ($this->max_count > 0) {
1774 if ($this->getEnableNumInfo()) {
1775 $this->tpl->setCurrentBlock("tbl_footer_numinfo");
1776 $this->tpl->setVariable("NUMINFO", $numinfo);
1777 $this->tpl->parseCurrentBlock();
1778 }
1779 }
1780 $footer = true;
1781 }
1782
1783 // table footer linkbar
1784 if ($this->enabled["linkbar"] && $this->enabled["footer"] && $this->limit != 0
1785 && $this->max_count > 0) {
1786 $linkbar = $this->getLinkbar("1");
1787 $this->tpl->setCurrentBlock("tbl_footer_linkbar");
1788 $this->tpl->setVariable("LINKBAR", $linkbar);
1789 $this->tpl->parseCurrentBlock();
1790 $linkbar = true;
1791 $footer = true;
1792 }
1793
1794 // column selector
1795 if (is_array($this->getSelectableColumns()) && count($this->getSelectableColumns()) > 0) {
1796 $items = array();
1797 foreach ($this->getSelectableColumns() as $k => $c) {
1798 $items[$k] = array("txt" => $c["txt"],
1799 "selected" => $this->isColumnSelected($k));
1800 }
1801 $cb_over = new ilCheckboxListOverlayGUI("tbl_" . $this->getId());
1802 $cb_over->setLinkTitle($lng->txt("columns"));
1803 $cb_over->setItems($items);
1804 //$cb_over->setUrl("./ilias.php?baseClass=ilTablePropertiesStorage&table_id=".
1805 // $this->getId()."&cmd=saveSelectedFields&user_id=".$ilUser->getId());
1806 $cb_over->setFormCmd($this->getParentCmd());
1807 $cb_over->setFieldVar("tblfs" . $this->getId());
1808 $cb_over->setHiddenVar("tblfsh" . $this->getId());
1809 $cb_over->setSelectionHeaderClass("ilTableMenuItem");
1810 $column_selector = $cb_over->getHTML();
1811 $footer = true;
1812 }
1813
1814 if ($footer) {
1815 $this->tpl->setCurrentBlock("tbl_footer");
1816 $this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
1817 if ($this->getDisplayAsBlock()) {
1818 $this->tpl->setVariable("BLK_CLASS", "Block");
1819 }
1820 $this->tpl->parseCurrentBlock();
1821
1822 // top navigation, if number info or linkbar given
1823 if ($numinfo != "" || $linkbar != "" || $column_selector != "" ||
1824 count($this->filters) > 0 || count($this->optional_filters) > 0) {
1825 if (is_object($ilUser) && (count($this->filters) || count($this->optional_filters))) {
1826 $this->tpl->setCurrentBlock("filter_activation");
1827 $this->tpl->setVariable("TXT_ACTIVATE_FILTER", $lng->txt("show_filter"));
1828 $this->tpl->setVariable("FILA_ID", $this->getId());
1829 if ($this->getId() != "") {
1830 $this->tpl->setVariable("SAVE_URLA", "./ilias.php?baseClass=ilTablePropertiesStorageGUI&table_id=" .
1831 $this->getId() . "&cmd=showFilter&user_id=" . $ilUser->getId());
1832 }
1833 $this->tpl->parseCurrentBlock();
1834
1835
1836 if (!$this->getDisableFilterHiding()) {
1837 $this->tpl->setCurrentBlock("filter_deactivation");
1838 $this->tpl->setVariable("TXT_HIDE", $lng->txt("hide_filter"));
1839 if ($this->getId() != "") {
1840 $this->tpl->setVariable("SAVE_URL", "./ilias.php?baseClass=ilTablePropertiesStorageGUI&table_id=" .
1841 $this->getId() . "&cmd=hideFilter&user_id=" . $ilUser->getId());
1842 $this->tpl->setVariable("FILD_ID", $this->getId());
1843 }
1844 $this->tpl->parseCurrentBlock();
1845 }
1846 }
1847
1848 if ($numinfo != "" && $this->getEnableNumInfo()) {
1849 $this->tpl->setCurrentBlock("top_numinfo");
1850 $this->tpl->setVariable("NUMINFO", $numinfo);
1851 $this->tpl->parseCurrentBlock();
1852 }
1853 if ($linkbar != "" && !$this->getDisplayAsBlock()) {
1854 $linkbar = $this->getLinkbar("2");
1855 $this->tpl->setCurrentBlock("top_linkbar");
1856 $this->tpl->setVariable("LINKBAR", $linkbar);
1857 $this->tpl->parseCurrentBlock();
1858 }
1859
1860 // column selector
1861 $this->tpl->setVariable("COLUMN_SELECTOR", $column_selector);
1862
1863 // row selector
1864 if ($this->getShowRowsSelector() &&
1865 is_object($ilUser) &&
1866 $this->getId() &&
1867 !$this->rows_selector_off) { // JF, 2014-10-27
1868 $actions = [];
1869
1870 $options = array(5 => 5, 10 => 10, 15 => 15, 20 => 20,
1871 30 => 30, 40 => 40, 50 => 50,
1872 100 => 100, 200 => 200, 400 => 400, 800 => 800);
1873 foreach ($options as $k => $v) {
1874 $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_trows", $k);
1875 $actions[] = $ui_factory->link()->standard(
1876 $v,
1877 $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd)
1878 );
1879 $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_trows", "");
1880 }
1881 $dd = $ui_factory->dropdown()->standard($actions)->withLabel(
1882 $this->getRowSelectorLabel() ?: $lng->txt("rows")
1883 );
1884 $this->tpl->setVariable("ROW_SELECTOR", $ui_renderer->render($dd));
1885 }
1886
1887 // export
1888 if (count($this->export_formats) > 0 && $this->dataExists()) {
1889 $actions = [];
1890 foreach ($this->export_formats as $format => $caption_lng_id) {
1891 $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_xpt", $format);
1892 $url = $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd);
1893 $ilCtrl->setParameter($this->parent_obj, $this->prefix . "_xpt", "");
1894 $actions[] = $ui_factory->link()->standard(
1895 $lng->txt($caption_lng_id),
1896 $url
1897 );
1898 }
1899 $dd = $ui_factory->dropdown()->standard($actions)->withLabel($lng->txt("export"));
1900 $this->tpl->setVariable("EXPORT_SELECTOR", "&nbsp;" . $ui_renderer->render($dd));
1901 }
1902
1903 $this->tpl->setCurrentBlock("top_navigation");
1904 $this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
1905 if ($this->getDisplayAsBlock()) {
1906 $this->tpl->setVariable("BLK_CLASS", "Block");
1907 }
1908 $this->tpl->parseCurrentBlock();
1909 }
1910 }
1911 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
isColumnSelected(string $col)
getFormName()
get the name of the parent form
getLinkbar(string $a_num)
getSelectAllCheckbox()
get the name of the checkbox that should be toggled with a select all button
$url
Definition: shib_logout.php:68

References $c, $DIC, $lng, ILIAS\UI\Implementation\Component\Input\Field\$options, $url, ILIAS\Survey\Mode\getId(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().

Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

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

◆ fillHeader()

ilTable2GUI::fillHeader ( )

Reimplemented in ilQuestionBrowserTableGUI.

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

1017 : void
1018 {
1019 $lng = $this->lng;
1020
1021 $allcolumnswithwidth = true;
1022 foreach ($this->column as $idx => $column) {
1023 if (!strlen($column["width"])) {
1024 $allcolumnswithwidth = false;
1025 } elseif ($column["width"] == "1") {
1026 // IE does not like 1 but seems to work with 1%
1027 $this->column[$idx]["width"] = "1%";
1028 }
1029 }
1030 if ($allcolumnswithwidth) {
1031 foreach ($this->column as $column) {
1032 $this->tpl->setCurrentBlock("tbl_colgroup_column");
1033 $width = (is_numeric($column["width"]))
1034 ? $column["width"] . "px"
1035 : $column["width"];
1036 $this->tpl->setVariable("COLGROUP_COLUMN_WIDTH", " style=\"width:" . $width . "\"");
1037 $this->tpl->parseCurrentBlock();
1038 }
1039 }
1040 $ccnt = 0;
1041 foreach ($this->column as $column) {
1042 $ccnt++;
1043
1044 if ($column['is_checkbox_action_column'] && $this->select_all_on_top) {
1045 $this->tpl->setCurrentBlock('tbl_header_top_select_all');
1046 $this->tpl->setVariable("HEAD_SELECT_ALL_TXT_SELECT_ALL", $lng->txt("select_all"));
1047 $this->tpl->setVariable("HEAD_SELECT_ALL_CHECKBOX_NAME", $this->getSelectAllCheckbox());
1048 $this->tpl->setVariable("HEAD_SELECT_ALL_FORM_NAME", $this->getFormName());
1049 $this->tpl->setVariable("HEAD_CHECKBOXNAME", "chb_select_all_" . $this->unique_id . '_top');
1050 $this->tpl->parseCurrentBlock();
1051 continue;
1052 }
1053
1054 if ($column['is_checkbox_action_column'] && !$this->select_all_on_top) {
1055 $this->tpl->setCurrentBlock('tbl_header_top_select_column');
1056 if ($column["width"] != "") {
1057 $width = (is_numeric($column["width"]))
1058 ? $column["width"] . "px"
1059 : $column["width"];
1060 $this->tpl->setVariable("TBL_COLUMN_WIDTH", " style=\"width:" . $width . "\"");
1061 }
1062 $this->tpl->parseCurrentBlock();
1063 continue;
1064 }
1065
1066 if (
1067 !$this->enabled["sort"] ||
1068 (($column["sort_field"] == "") &&
1069 !($column["is_checkbox_action_column"] && $this->select_all_on_top))
1070 ) {
1071 $this->tpl->setCurrentBlock("tbl_header_no_link");
1072 if ($column["width"] != "") {
1073 $width = (is_numeric($column["width"]))
1074 ? $column["width"] . "px"
1075 : $column["width"];
1076 $this->tpl->setVariable("TBL_COLUMN_WIDTH_NO_LINK", " style=\"width:" . $width . "\"");
1077 }
1078 if ($column["class"] != "") {
1079 $this->tpl->setVariable("TBL_COLUMN_CLASS_NO_LINK", " class=\"" . $column["class"] . "\"");
1080 }
1081 if (!$column["is_checkbox_action_column"]) {
1082 $this->tpl->setVariable(
1083 "TBL_HEADER_CELL_NO_LINK",
1084 $column["text"]
1085 );
1086 } else {
1087 $this->tpl->setVariable(
1088 "TBL_HEADER_CELL_NO_LINK",
1089 ilUtil::img(ilUtil::getImagePath("media/spacer.png"), $lng->txt("action"))
1090 );
1091 }
1092 $this->tpl->setVariable("HEAD_CELL_NL_ID", "thc_" . $this->getId() . "_" . $ccnt);
1093 if ($column["class"] != "") {
1094 $this->tpl->setVariable("TBL_HEADER_CLASS", " " . $column["class"]);
1095 }
1096 $this->tpl->parseCurrentBlock();
1097 $this->tpl->touchBlock("tbl_header_th");
1098 continue;
1099 }
1100 if (($column["sort_field"] == $this->order_field) && ($this->order_direction != "")) {
1101 $this->tpl->setCurrentBlock("tbl_order_image");
1102 if ($this->order_direction === "asc") {
1103 $this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-up");
1104 $this->tpl->setVariable("ORDER_TXT", $this->lng->txt("sorting_asc"));
1105 } else {
1106 $this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-down");
1107 $this->tpl->setVariable("ORDER_TXT", $this->lng->txt("sorting_desc"));
1108 }
1109 $this->tpl->setVariable("IMG_ORDER_ALT", $this->lng->txt("change_sort_direction"));
1110 $this->tpl->parseCurrentBlock();
1111 }
1112
1113 $this->tpl->setCurrentBlock("tbl_header_cell");
1114 $this->tpl->setVariable("TBL_HEADER_CELL", $column["text"]);
1115 $this->tpl->setVariable("HEAD_CELL_ID", "thc_" . $this->getId() . "_" . $ccnt);
1116
1117 // only set width if a value is given for that column
1118 if ($column["width"] != "") {
1119 $width = (is_numeric($column["width"]))
1120 ? $column["width"] . "px"
1121 : $column["width"];
1122 $this->tpl->setVariable("TBL_COLUMN_WIDTH", " style=\"width:" . $width . "\"");
1123 }
1124 if ($column["class"] != "") {
1125 $this->tpl->setVariable("TBL_COLUMN_CLASS", " class=\"" . $column["class"] . "\"");
1126 }
1127
1128 $lng_sort_column = $this->lng->txt("sort_by_this_column");
1129 $this->tpl->setVariable("TBL_ORDER_ALT", $lng_sort_column);
1130
1131 $order_dir = "asc";
1132
1133 if ($column["sort_field"] == $this->order_field) {
1134 $order_dir = $this->sort_order;
1135
1136 if ($order_dir === "asc") {
1137 $lng_change_sort = $this->lng->txt("sort_ascending_long");
1138 } else {
1139 $lng_change_sort = $this->lng->txt("sort_descending_long");
1140 }
1141 $this->tpl->setVariable("TBL_ORDER_ALT", $lng_change_sort);
1142 }
1143
1144 if ($column["class"] != "") {
1145 $this->tpl->setVariable("TBL_HEADER_CLASS", " " . $column["class"]);
1146 }
1147 $this->setOrderLink($column["sort_field"], $order_dir);
1148 $this->tpl->parseCurrentBlock();
1149 $this->tpl->touchBlock("tbl_header_th");
1150 }
1151
1152 $this->tpl->setCurrentBlock("tbl_header");
1153 $this->tpl->parseCurrentBlock();
1154 }
setOrderLink(string $key, string $order_dir)
static img(string $a_src, ?string $a_alt=null, $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.

References $lng, ILIAS\Survey\Mode\getId(), ilUtil\getImagePath(), ilUtil\img(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ fillHeaderCSV()

ilTable2GUI::fillHeaderCSV ( ilCSVWriter  $a_csv)
protected

CSV Version of Fill Header.

Likely to be overwritten by derived class.

Parameters
ilCSVWriter$a_csvcurrent file

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

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

2581 : void
2582 {
2583 foreach ($this->column as $column) {
2584 $title = strip_tags($column["text"]);
2585 if ($title) {
2586 $a_csv->addColumn($title);
2587 }
2588 }
2589 $a_csv->addRow();
2590 }
addColumn(string $a_col)

References ilCSVWriter\addColumn(), and ilCSVWriter\addRow().

+ Here is the call graph for this function:

◆ fillHeaderExcel()

ilTable2GUI::fillHeaderExcel ( ilExcel  $a_excel,
int &  $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, ilSCORM2004TrackingItemsTableGUI, ilSCORMTrackingItemsTableGUI, ilSumScoreTableGUI, ilLPProgressTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, and ilTrUserObjectsPropsTableGUI.

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

2537 : void
2538 {
2539 $col = 0;
2540 foreach ($this->column as $column) {
2541 $title = strip_tags($column["text"]);
2542 if ($title) {
2543 $a_excel->setCell($a_row, $col++, $title);
2544 }
2545 }
2546 $a_excel->setBold("A" . $a_row . ":" . $a_excel->getColumnCoord($col - 1) . $a_row);
2547 }
setBold(string $a_coords)
Set cell(s) to bold.
setCell(int $a_row, int $col, $value, ?string $datatype=null, bool $disable_strip_tags_for_strings=false)
Set cell value.
getColumnCoord(int $a_col)
Get column "name" from number.

References ilExcel\getColumnCoord(), ilExcel\setBold(), and ilExcel\setCell().

+ Here is the call graph for this function:

◆ fillHiddenRow()

ilTable2GUI::fillHiddenRow ( )

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

2011 : void
2012 {
2013 $hidden_row = false;
2014 if (count($this->hidden_inputs)) {
2015 foreach ($this->hidden_inputs as $hidden_input) {
2016 $this->tpl->setCurrentBlock("tbl_hidden_field");
2017 $this->tpl->setVariable("FIELD_NAME", $hidden_input["name"]);
2018 $this->tpl->setVariable("FIELD_VALUE", $hidden_input["value"]);
2019 $this->tpl->parseCurrentBlock();
2020 }
2021
2022 $this->tpl->setCurrentBlock("tbl_hidden_row");
2023 $this->tpl->parseCurrentBlock();
2024 }
2025 }

Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

+ Here is the caller graph for this function:

◆ fillMetaCSV()

ilTable2GUI::fillMetaCSV ( ilCSVWriter  $a_csv)
protected

Add meta information to csv export.

Likely to be overwritten by derived class.

Parameters
ilCSVWriter$a_csvcurrent file

Reimplemented in ilLPTableBaseGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsTableGUI, and ilLPObjectStatisticsTypesTableGUI.

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

2572 : void
2573 {
2574 }

◆ fillMetaExcel()

ilTable2GUI::fillMetaExcel ( ilExcel  $a_excel,
int &  $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 2527 of file class.ilTable2GUI.php.

2527 : void
2528 {
2529 }

◆ fillRow()

ilTable2GUI::fillRow ( array  $a_set)
protected

Standard Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
array<string,mixed>$a_set data array

Reimplemented in ilAccessPermissionsStatusTableGUI, ilAvailableRolesStatusTableGUI, ilObjectRolePermissionTableGUI, ilObjectRoleTemplateOptionsTableGUI, ilObjectRoleTemplatePermissionTableGUI, ilRoleAdoptPermissionTableGUI, ilRoleSelectionTableGUI, ilRoleTableGUI, ilAdvancedMDFieldTableGUI, ilAdvancedMDRecordExportFilesTableGUI, ilAdvancedMDRecordTableGUI, ilAdvancedMDRecordLanguageTableGUI, ilAdvancedMDFieldDefinitionGroupTableGUI, ilShibbolethRoleAssignmentTableGUI, ilBenchmarkTableGUI, ilBiblTranslationTableGUI, ilBookingAssignParticipantsTableGUI, ilBookingBulkCreationTableGUI, ilBookingObjectsTableGUI, ilBookingAssignObjectsTableGUI, ilBookingParticipantsTableGUI, ilBookingReservationsTableGUI, ilBookingSchedulesTableGUI, ilCalendarAppointmentsTableGUI, ilCalendarChangedAppointmentsTableGUI, ilCalendarInboxSharedTableGUI, ilCalendarManageTableGUI, ilCalendarRecurrenceTableGUI, ilCalendarSharedListTableGUI, ilCalendarSharedRoleListTableGUI, ilCalendarSharedUserListTableGUI, ilConsultationHourBookingTableGUI, ilConsultationHoursTableGUI, ilCmiXapiLrsTypesTableGUI, ilCmiXapiScoringTableGUI, ilCmiXapiStatementsTableGUI, ilCmiXapiVerificationTableGUI, ilMailSearchObjectMembershipsTableGUI, ilMailSearchObjectsTableGUI, ilCopySelfAssQuestionTableGUI, ilPageHistoryTableGUI, ilPageMultiLangTableGUI, ilPageLayoutTableGUI, ilPCFileListTableGUI, ilPCGridCellTableGUI, ilPCImageMapTableGUI, ilPCTabsTableGUI, ilCourseEditParticipantsTableGUI, ilCourseParticipantsTableGUI, ilCourseObjectiveMaterialAssignmentTableGUI, ilCourseObjectiveQuestionAssignmentTableGUI, ilCourseObjectiveQuestionsTableGUI, ilCourseObjectivesTableGUI, ilLOMemberTestResultTableGUI, ilTimingsManageTableGUI, ilTimingsPersonalTableGUI, ilCourseVerificationTableGUI, ilCourseReferenceDeleteConfirmationTableGUI, ilDashObjectsTableGUI, ilMultilingualismTableGUI, ilAssignmentsTableGUI, ilExAssignmentListTextTableGUI, ilExAssignmentPeerReviewOverviewTableGUI, ilAssignmentsPerParticipantTableGUI, ilExerciseVerificationTableGUI, ilExGradesTableGUI, ilFeedbackConfirmationTable2GUI, ilParticipantsPerAssignmentTableGUI, ilExcCriteriaCatalogueTableGUI, ilExcCriteriaTableGUI, ilPublicSubmissionsTableGUI, ilExAssignmentTeamLogTableGUI, ilExAssignmentTeamTableGUI, ilExportSelectionTableGUI, ilSubItemSelectionTableGUI, ilFileVersionsTableGUI, ilFileSystemTableGUI, ilObjForumSearchResultTableGUI, ilGroupEditParticipantsTableGUI, ilGroupParticipantsTableGUI, ilHelpModuleTableGUI, ilItemGroupItemsTableGUI, ilLanguageExtTableGUI, ilExportIDTableGUI, ilHelpMappingTableGUI, ilHelpTooltipTableGUI, ilLinksTableGUI, ilLMEditShortTitlesTableGUI, ilLMGlossaryTableGUI, ilLMMenuItemsTableGUI, ilLMPagesTableGUI, ilLMBlockedUsersTableGUI, ilLMQuestionListTableGUI, ilLearningSequenceEditParticipantsTableGUI, ilLearningSequenceParticipantsTableGUI, ILIAS\LegalDocuments\Legacy\Table, ilLogComponentTableGUI, ilLTIConsumerScoringTableGUI, ilLTIConsumerVerificationTableGUI, ilMediaCastTableGUI, ilMediaObjectUsagesTableGUI, ilImageMapTableGUI, ilMobMultiSrtConfirmationTable2GUI, ilMobSubtitleTableGUI, ilMultiSrtConfirmationTable2GUI, ilMediaPoolPageUsagesTableGUI, ilMediaPoolTableGUI, ilUploadDirFilesTableGUI, ilClipboardTableGUI, ilObjectCustomUserFieldsTableGUI, ilSubscriberTableGUI, ilWaitingListTableGUI, ilMemberExportFileTableGUI, ILIAS\MetaData\Editor\Full\Services\Tables\Table, ilMDCopyrightTableGUI, ilMDCopyrightUsageTableGUI, ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI, ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI, ilMStListCoursesTableGUI, ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI, ilMStShowUserCoursesTableGUI, ilNewsForContextTableGUI, ilPDNewsTableGUI, ilOrgUnitPermissionTableGUI, ilWorkspaceAccessTableGUI, ilWorkspaceShareTableGUI, ilPollAnswerTableGUI, ilPollUserTableGUI, ilPortfolioRoleAssignmentTableGUI, ilPortfolioPageTableGUI, ilAdminSubItemsTableGUI, ilModulesTableGUI, ilNewItemGroupTableGUI, ilRecommendedContentRoleTableGUI, ilRepDependenciesTableGUI, ilTrashTableGUI, ilSCORM2004TrackingItemsTableGUI, ilSCORM2004TrackingTableGUI, ilSCORMTrackingItemPerUserTableGUI, ilSCORMTrackingItemsPerScoTableGUI, ilSCORMTrackingItemsPerUserTableGUI, ilSCORMTrackingItemsScoTableGUI, ilSCORMTrackingItemsTableGUI, ilSCORMTrackingUsersTableGUI, ilSCORMVerificationTableGUI, ilRepositoryObjectResultTableGUI, ilRepositoryUserResultTableGUI, ilSessionMaterialsTableGUI, ilSessionOverviewTableGUI, ilSessionParticipantsTableGUI, ilSkillLevelTableGUI, ilSkillCatTableGUI, ilSkillProfileLevelsTableGUI, ilStudyProgrammeAutoCategoriesTableGUI, ilStudyProgrammeIndividualPlanTableGUI, ilStudyProgrammeMailMemberSearchTableGUI, ILIAS\Style\Content\CharacteristicTableGUI, ilContentStylesTableGUI, ilPasteStyleCharacteristicTableGUI, ilStyleMediaQueryTableGUI, ilTableTemplatesTableGUI, ilStyleColorTableGUI, ilSysStyleCatAssignmentTableGUI, ilSystemStylesTableGUI, ilSumScoreTableGUI, SurveyConstraintsTableGUI, ilSurveyQuestionblockbrowserTableGUI, ilSurveyQuestionbrowserTableGUI, ilSurveyQuestionTableGUI, ilSurveyResultsCumulatedTableGUI, ilSurveyResultsUserTableGUI, ilFoundUsersTableGUI, ilSurveyAppraiseesTableGUI, ilSurveyCodesEditTableGUI, ilSurveyCodesTableGUI, ilSurveyMaintenanceTableGUI, ilSurveyParticipantsTableGUI, ilSurveySkillAssignmentTableGUI, ilSurveySkillChangesTableGUI, ilSurveySkillTableGUI, ilSurveySkillThresholdsTableGUI, ilSurveySyncTableGUI, ilSurveyQuestionPoolExportTableGUI, ilSurveyQuestionsTableGUI, ilSCGroupTableGUI, ilSCTaskTableGUI, ilUserForTagTableGUI, ilTaxAssignedItemsTableGUI, ilTaxonomyAdministrationRepositoryTableGUI, ilTaxonomyListTableGUI, ilTaxonomyTableGUI, ilResultsByQuestionTableGUI, ilTestPassDetailsOverviewTableGUI, ilTestPassOverviewTableGUI, ilTestSkillLevelThresholdsTableGUI, ilTestVerificationTableGUI, assFileUploadFileTableGUI, ilAnswerFrequencyStatisticTableGUI, ilKprimChoiceAnswerFreqStatTableGUI, ilMatchingQuestionAnswerFreqStatTableGUI, ilQuestionBrowserTableGUI, ilQuestionCumulatedStatisticsTableGUI, ilQuestionPoolPrintViewTableGUI, ilLPObjectStatisticsAdminTableGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsLPTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilLPCollectionSettingsTableGUI, ilLPProgressTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, ilTrUserObjectsPropsTableGUI, ilSCTreeDuplicatesTableGUI, ilConfirmationTableGUI, ilRoleAssignmentTableGUI, ilUserClipboardTableGUI, ilUserExportFileTableGUI, ilUserLPTableGUI, ilUserTableGUI, ilWebResourceEditableLinkTableGUI, ilWebResourceLinkTableGUI, ilECSCategoryMappingTableGUI, ilECSCommunityTableGUI, ilECSExportedContentTableGUI, ilECSImportedContentTableGUI, ilECSServerTableGUI, ilECSNodeMappingTreeTableGUI, ilImportantPagesTableGUI, ilObjWikiSearchResultTableGUI, ilWikiContributorsTableGUI, ilWikiExportOrderTableGUI, ilWikiPagesTableGUI, ilWikiPageTemplatesTableGUI, ilWikiRecentChangesTableGUI, ilWikiSearchResultsTableGUI, ilObjWorkspaceFolderTableGUI, ilAccessibilityTableGUI, ilUnitCategoryTableGUI, ilWebDAVMountInstructionsDocumentTableGUI, ilUserRoleStartingPointTableGUI, ilInstallationHeadingTableGUI, ilObjClipboardTableGUI, ilObjectCopyProgressTableGUI, ilObjectCopySearchResultTableGUI, ilObjectCopySelectionTableGUI, ilObjectTableGUI, and ilAssignedUsersTableGUI.

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

1717 : void
1718 {
1719 foreach ($a_set as $key => $value) {
1720 $this->tpl->setVariable("VAL_" . strtoupper($key), $value);
1721 }
1722 }

◆ fillRowCSV()

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

CSV Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
ilCSVWriter$a_csvcurrent file
array$a_setdata array

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

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

2598 : void
2599 {
2600 foreach ($a_set as $key => $value) {
2601 if (is_array($value)) {
2602 $value = implode(', ', $value);
2603 }
2604 $a_csv->addColumn(strip_tags($value));
2605 }
2606 $a_csv->addRow();
2607 }

References ilCSVWriter\addColumn(), and ilCSVWriter\addRow().

+ Here is the call graph for this function:

◆ fillRowExcel()

ilTable2GUI::fillRowExcel ( ilExcel  $a_excel,
int &  $a_row,
array  $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, ilMStListCoursesTableGUI, ilMStShowUserCoursesTableGUI, ilPollAnswerTableGUI, ilPollUserTableGUI, ilSCORM2004TrackingItemsTableGUI, ilSCORMTrackingItemsTableGUI, ilSumScoreTableGUI, ilLPObjectStatisticsDailyTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilLPProgressTableGUI, ilTrMatrixTableGUI, ilTrObjectUsersPropsTableGUI, ilTrSummaryTableGUI, ilTrUserObjectsPropsTableGUI, and ilUserLPTableGUI.

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

2556 : void
2557 {
2558 $col = 0;
2559 foreach ($a_set as $value) {
2560 if (is_array($value)) {
2561 $value = implode(', ', $value);
2562 }
2563 $a_excel->setCell($a_row, $col++, $value);
2564 }
2565 }

References ilExcel\setCell().

+ Here is the call graph for this function:

◆ getAllCommandLimit()

static ilTable2GUI::getAllCommandLimit ( )
static

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

2614 : int
2615 {
2616 global $DIC;
2617
2618 $ilClientIniFile = $DIC["ilClientIniFile"];
2619
2620 $limit = $ilClientIniFile->readVariable("system", "TABLE_ACTION_ALL_LIMIT");
2621 if (!$limit) {
2623 }
2624
2625 return $limit;
2626 }

References $DIC.

◆ getCloseFormTag()

ilTable2GUI::getCloseFormTag ( )

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

202 : bool
203 {
205 }

References $close_form_tag.

Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

+ Here is the caller graph for this function:

◆ getContext()

ilTable2GUI::getContext ( )

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

2373 : string
2374 {
2375 return $this->context;
2376 }

References $context.

◆ getCurrentState()

ilTable2GUI::getCurrentState ( )

get current settings for order, limit, columns and filter

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

2297 : array
2298 {
2299 $this->determineOffsetAndOrder();
2300 $this->determineLimit();
2301 $this->determineSelectedColumns();
2302 $this->determineSelectedFilters();
2303
2304 // "filter" show/hide is not saved
2305
2306 $result = array();
2307 $result["order"] = $this->getOrderField();
2308 $result["direction"] = $this->getOrderDirection();
2309 $result["offset"] = $this->getOffset();
2310 $result["rows"] = $this->getLimit();
2311 $result["selfilters"] = $this->getSelectedFilters();
2312
2313 // #9514 - $this->getSelectedColumns() will omit deselected, leading to
2314 // confusion on restoring template
2315 $result["selfields"] = $this->selected_column;
2316
2317 // gather filter values
2318 if ($this->filters) {
2319 foreach ($this->filters as $item) {
2320 $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2321 }
2322 }
2323 if ($this->optional_filters && $result["selfilters"]) {
2324 foreach ($this->optional_filters as $item) {
2325 if (in_array($item->getFieldId(), $result["selfilters"])) {
2326 $result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
2327 }
2328 }
2329 }
2330
2331 return $result;
2332 }
getFilterValue(ilTableFilterItem $a_item)
Get current filter value.

◆ getData()

◆ getDefaultFilterVisibility()

ilTable2GUI::getDefaultFilterVisibility ( )

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

876 : bool
877 {
879 }
bool $default_filter_visibility

◆ getDefaultOrderDirection()

ilTable2GUI::getDefaultOrderDirection ( )

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

866 : string
867 {
869 }
string $defaultorderdirection

Referenced by ilStudyProgrammeMembersTableGUI\getOrdering().

+ Here is the caller graph for this function:

◆ getDefaultOrderField()

ilTable2GUI::getDefaultOrderField ( )

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

855 : string
856 {
858 }
string $defaultorderfield

Referenced by ilStudyProgrammeMembersTableGUI\getOrdering().

+ Here is the caller graph for this function:

◆ getDescription()

ilTable2GUI::getDescription ( )

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

451 : string
452 {
453 return $this->description;
454 }

◆ getDisableFilterHiding()

ilTable2GUI::getDisableFilterHiding ( )

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

657 : bool
658 {
660 }
bool $disable_filter_hiding

◆ getDisplayAsBlock()

ilTable2GUI::getDisplayAsBlock ( )

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

780 : bool
781 {
783 }

◆ getEnableHeader()

ilTable2GUI::getEnableHeader ( )

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

423 : bool
424 {
425 return $this->enabled["header"];
426 }

◆ getEnableNumInfo()

ilTable2GUI::getEnableNumInfo ( )

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

433 : bool
434 {
435 return $this->num_info;
436 }

References $num_info.

◆ getEnableTitle()

ilTable2GUI::getEnableTitle ( )

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

413 : bool
414 {
415 return $this->enabled["title"];
416 }

◆ getExportMode()

◆ getExternalSegmentation()

◆ getExternalSorting()

◆ getFilterCols()

ilTable2GUI::getFilterCols ( )

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

647 : int
648 {
649 return $this->filter_cols;
650 }

◆ getFilterCommand()

ilTable2GUI::getFilterCommand ( )

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

811 : string
812 {
813 return $this->filter_cmd;
814 }

◆ getFilterItemByPostVar()

ilTable2GUI::getFilterItemByPostVar ( string  $a_post_var)
final

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

628 {
629 foreach ($this->getFilterItems() as $item) {
630 if ($item->getPostVar() == $a_post_var) {
631 return $item;
632 }
633 }
634 foreach ($this->getFilterItems(true) as $item) {
635 if ($item->getPostVar() == $a_post_var) {
636 return $item;
637 }
638 }
639 return null;
640 }

Referenced by ilLanguageExtTableGUI\__construct(), ilLPTableBaseGUI\executeCommand(), ilEmployeeTalkTableGUI\getFilterValueByPostVar(), ilCmiXapiStatementsGUI\initActorFilter(), ilLTIConsumerXapiStatementsGUI\initActorFilter(), ilObjectRolePermissionTableGUI\initColumns(), ilDclRecordListTableGUI\initFilter(), ilCmiXapiStatementsGUI\initPeriodFilter(), ilLTIConsumerXapiStatementsGUI\initPeriodFilter(), ilCmiXapiStatementsGUI\initVerbFilter(), and ilLTIConsumerXapiStatementsGUI\initVerbFilter().

+ Here is the caller graph for this function:

◆ getFilterItems()

ilTable2GUI::getFilterItems ( bool  $a_optionals = false)
final

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

619 : array
620 {
621 if (!$a_optionals) {
622 return $this->filters;
623 }
625 }

Referenced by ilSurveyQuestionblockbrowserTableGUI\initData(), ilSurveyQuestionbrowserTableGUI\initData(), and ILIAS\LegalDocuments\Legacy\Table\setupFilter().

+ Here is the caller graph for this function:

◆ getFilterValue()

ilTable2GUI::getFilterValue ( ilTableFilterItem  $a_item)
protected

Get current filter value.

Returns
mixed

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

2339 {
2340 if (method_exists($a_item, "getChecked")) {
2341 return (string) $a_item->getChecked();
2342 } elseif (method_exists($a_item, "getValue")) {
2343 return $a_item->getValue() ?: "";
2344 } elseif (method_exists($a_item, "getDate")) {
2345 return $a_item->getDate()?->get(IL_CAL_DATE) ?? "";
2346 }
2347 return "";
2348 }
const IL_CAL_DATE

References IL_CAL_DATE.

Referenced by ilEmployeeTalkTableGUI\getFilterValueByPostVar().

+ Here is the caller graph for this function:

◆ getFormAction()

ilTable2GUI::getFormAction ( )
final

◆ getFormName()

ilTable2GUI::getFormName ( )

get the name of the parent form

Reimplemented from ilTableGUI.

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

754 : string
755 {
756 return $this->formname;
757 }

Referenced by ilObjectRolePermissionTableGUI\fillRow(), ilOrgUnitPermissionTableGUI\fillSelectAll(), ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

+ Here is the caller graph for this function:

◆ getHTML()

ilTable2GUI::getHTML ( )

Get HTML.

Reimplemented in ilAccessibilityDocumentTableGUI, ilDclCreateViewTableGUI, ilDclEditViewTableGUI, ilDclFieldListTableGUI, ilDclTableViewEditFieldsTableGUI, ilEmployeeTalkTableGUI, ilFileVersionsTableGUI, ilMediaPoolTableGUI, ilRepositoryUserResultTableGUI, and ilWebDAVMountInstructionsDocumentTableGUI.

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

1244 : string
1245 {
1246 global $DIC;
1247
1248 $ilUser = null;
1249 if (isset($DIC["ilUser"])) {
1250 $ilUser = $DIC["ilUser"];
1251 }
1252
1253 $lng = $this->lng;
1254 $ilCtrl = $this->ctrl;
1255
1256
1257 if ($this->getExportMode() > 0) {
1258 $this->exportData($this->getExportMode(), true);
1259 }
1260
1261 $this->prepareOutput();
1262
1263 if (is_object($ilCtrl) && is_object($this->getParentObject()) && $this->getId() == "") {
1264 $ilCtrl->saveParameter($this->getParentObject(), $this->getNavParameter());
1265 }
1266
1267 if (!$this->getPrintMode()) {
1268 // set form action
1269 if ($this->form_action != "" && $this->getOpenFormTag()) {
1270 $hash = "";
1271
1272 if ($this->form_multipart) {
1273 $this->tpl->touchBlock("form_multipart_bl");
1274 }
1275
1276 if ($this->getPreventDoubleSubmission()) {
1277 $this->tpl->touchBlock("pdfs");
1278 }
1279
1280 $this->tpl->setCurrentBlock("tbl_form_header");
1281 $this->tpl->setVariable("FORMACTION", $this->getFormAction() . $hash);
1282 $this->tpl->setVariable("FORMNAME", $this->getFormName());
1283 $this->tpl->parseCurrentBlock();
1284 }
1285
1286 if ($this->form_action != "" && $this->getCloseFormTag()) {
1287 $this->tpl->touchBlock("tbl_form_footer");
1288 }
1289 }
1290
1291 if (!$this->enabled['content']) {
1292 return $this->render();
1293 }
1294
1295 if (!$this->getExternalSegmentation()) {
1296 $this->setMaxCount(count($this->row_data));
1297 }
1298
1299 $this->determineOffsetAndOrder();
1300
1301 $this->setFooter("tblfooter", $this->lng->txt("previous"), $this->lng->txt("next"));
1302
1303 $data = $this->getData();
1304 if ($this->dataExists()) {
1305 // sort
1306 if (!$this->getExternalSorting() && $this->enabled["sort"]) {
1308 $data,
1309 $this->getOrderField(),
1310 $this->getOrderDirection(),
1311 $this->numericOrdering($this->getOrderField())
1312 );
1313 }
1314
1315 // slice
1316 if (!$this->getExternalSegmentation()) {
1317 $data = array_slice($data, $this->getOffset(), $this->getLimit());
1318 }
1319 }
1320
1321 // fill rows
1322 if ($this->dataExists()) {
1323 if ($this->getPrintMode()) {
1325 }
1326
1327 $this->tpl->addBlockFile(
1328 "TBL_CONTENT",
1329 "tbl_content",
1330 $this->row_template,
1331 $this->row_template_dir
1332 );
1333
1334 foreach ($data as $set) {
1335 $this->tpl->setCurrentBlock("tbl_content");
1336 $this->css_row = ($this->css_row !== "tblrow1")
1337 ? "tblrow1"
1338 : "tblrow2";
1339 $this->tpl->setVariable("CSS_ROW", $this->css_row);
1340
1341 $this->fillRow($set);
1342 $this->tpl->setCurrentBlock("tbl_content");
1343 $this->tpl->parseCurrentBlock();
1344 }
1345 } else {
1346 // add standard no items text (please tell me, if it messes something up, alex, 29.8.2008)
1347 $no_items_text = (trim($this->getNoEntriesText()) != '')
1348 ? $this->getNoEntriesText()
1349 : $lng->txt("no_items");
1350
1351 $this->css_row = ($this->css_row !== "tblrow1")
1352 ? "tblrow1"
1353 : "tblrow2";
1354
1355 $this->tpl->setCurrentBlock("tbl_no_entries");
1356 $this->tpl->setVariable('TBL_NO_ENTRY_CSS_ROW', $this->css_row);
1357 $this->tpl->setVariable('TBL_NO_ENTRY_COLUMN_COUNT', $this->column_count);
1358 $this->tpl->setVariable('TBL_NO_ENTRY_TEXT', trim($no_items_text));
1359 $this->tpl->parseCurrentBlock();
1360 }
1361
1362
1363 if (!$this->getPrintMode()) {
1364 $this->fillFooter();
1365
1366 $this->fillHiddenRow();
1367
1368 $this->fillActionRow();
1369
1370 $this->storeNavParameter();
1371 }
1372
1373 return $this->render();
1374 }
static setUseRelativeDates(bool $a_status)
set use relative dates
prepareOutput()
Anything that must be done before HTML is generated.
fillRow(array $a_set)
Standard Version of Fill Row.
exportData(int $format, bool $send=false)
Export and optionally send current table data.
setMaxCount(int $a_max_count)
set max.
setFooter(string $a_style, string $a_previous="", string $a_next="")

References $data, $DIC, $lng, ILIAS\Survey\Mode\getId(), ILIAS\Repository\lng(), ilDatePresentation\setUseRelativeDates(), and ilArrayUtil\sortArray().

+ Here is the call graph for this function:

◆ getId()

◆ getIsDataTable()

ilTable2GUI::getIsDataTable ( )

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

403 : bool
404 {
405 return $this->datatable;
406 }

References $datatable.

◆ getLimit()

◆ getLinkbar()

ilTable2GUI::getLinkbar ( string  $a_num)

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

1913 : ?string
1914 {
1915 global $DIC;
1916
1917 $ilUser = $DIC->user();
1918
1919 $ilCtrl = $this->ctrl;
1920 $lng = $this->lng;
1921
1922 $hash = "";
1923
1924 $link = $ilCtrl->getLinkTargetByClass(get_class($this->parent_obj), $this->parent_cmd) .
1925 "&" . $this->getNavParameter() . "=" .
1926 $this->getOrderField() . ":" . $this->getOrderDirection() . ":";
1927
1928 $LinkBar = "";
1929 $layout_prev = $lng->txt("previous");
1930 $layout_next = $lng->txt("next");
1931
1932 // if more entries then entries per page -> show link bar
1933 if ($this->max_count > $this->getLimit() || $this->custom_prev_next) {
1934 $sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
1935
1936 // calculate number of pages
1937 $pages = intval($this->max_count / $this->getLimit());
1938
1939 // add a page if a rest remains
1940 if (($this->max_count % $this->getLimit())) {
1941 $pages++;
1942 }
1943
1944 // links to other pages
1945 $offset_arr = array();
1946 for ($i = 1 ;$i <= $pages ; $i++) {
1947 $newoffset = $this->getLimit() * ($i - 1);
1948
1949 $nav_value = $this->getOrderField() . ":" . $this->getOrderDirection() . ":" . $newoffset;
1950 $offset_arr[$nav_value] = $i;
1951 }
1952
1953 $sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
1954
1955 // previous link
1956 if ($this->custom_prev_next && $this->custom_prev != "") {
1957 $LinkBar .= "<a href=\"" . $this->custom_prev . $hash . "\">" . $layout_prev . "</a>";
1958 } elseif ($this->getOffset() >= 1 && !$this->custom_prev_next) {
1959 $prevoffset = $this->getOffset() - $this->getLimit();
1960 $LinkBar .= "<a href=\"" . $link . $prevoffset . $hash . "\">" . $layout_prev . "</a>";
1961 } else {
1962 $LinkBar .= '<span class="ilTableFootLight">' . $layout_prev . "</span>";
1963 }
1964
1965 // current value
1966 if ($a_num == "1") {
1967 $LinkBar .= '<input type="hidden" name="' . $this->getNavParameter() .
1968 '" value="' . $this->getOrderField() . ":" . $this->getOrderDirection() . ":" . $this->getOffset() . '" />';
1969 }
1970
1971 $sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
1972
1973 // show next link (if not last page)
1974 $LinkBar .= $sep;
1975 if ($this->custom_prev_next && $this->custom_next != "") {
1976 $LinkBar .= "<a href=\"" . $this->custom_next . $hash . "\">" . $layout_next . "</a>";
1977 } elseif (!(($this->getOffset() / $this->getLimit()) == ($pages - 1)) && ($pages != 1) &&
1978 !$this->custom_prev_next) {
1979 $newoffset = $this->getOffset() + $this->getLimit();
1980 $LinkBar .= "<a href=\"" . $link . $newoffset . $hash . "\">" . $layout_next . "</a>";
1981 } else {
1982 $LinkBar .= '<span class="ilTableFootLight">' . $layout_next . "</span>";
1983 }
1984
1985 $sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
1986
1987 if (count($offset_arr) && !$this->getDisplayAsBlock() && !$this->custom_prev_next) {
1988 $LinkBar .= $sep;
1989
1990 $LinkBar .=
1991 '<label for="tab_page_sel_' . $a_num . '">' . $lng->txt("page") . '</label> ' .
1993 $this->nav_value,
1994 $this->getNavParameter() . $a_num,
1995 $offset_arr,
1996 false,
1997 true,
1998 0,
1999 "small",
2000 array("id" => "tab_page_sel_" . $a_num,
2001 "onchange" => "ilTablePageSelection(this, 'cmd[" . $this->parent_cmd . "]')")
2002 );
2003 }
2004
2005 return $LinkBar;
2006 } else {
2007 return null;
2008 }
2009 }

References $DIC, $lng, and ilLegacyFormElementsUtil\formSelect().

+ Here is the call graph for this function:

◆ getNavParameter()

ilTable2GUI::getNavParameter ( )
final

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

981 : string
982 {
983 return $this->prefix . "_table_nav";
984 }

Referenced by ilBiblTranslationTableGUI\__construct(), ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), and getRequestedValues().

+ Here is the caller graph for this function:

◆ getNoEntriesText()

ilTable2GUI::getNoEntriesText ( )

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

393 : string
394 {
396 }

References $noentriestext.

Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

+ Here is the caller graph for this function:

◆ getOffset()

◆ getOpenFormTag()

ilTable2GUI::getOpenFormTag ( )

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

192 : bool
193 {
195 }

References $open_form_tag.

Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

+ Here is the caller graph for this function:

◆ getOrderField()

ilTable2GUI::getOrderField ( )

Reimplemented in ilBookingReservationsTableGUI.

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

461 : string
462 {
463 return $this->order_field;
464 }

Referenced by ilSessionMaterialsTableGUI\getDataFromDb(), ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilAssignedUsersTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilStudyProgrammeMembersTableGUI\getOrdering(), ilUserTableGUI\getUserIdsForFilter(), ilCmiXapiStatementsGUI\initLimitingAndOrdering(), ilLTIConsumerXapiStatementsGUI\initLimitingAndOrdering(), ilLearningSequenceParticipantsTableGUI\parse(), ilTrashTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), and resetOffset().

+ Here is the caller graph for this function:

◆ getParentCmd()

ilTable2GUI::getParentCmd ( )

◆ getParentObject()

ilTable2GUI::getParentObject ( )

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

368 : ?object
369 {
370 return $this->parent_obj;
371 }

References $parent_obj.

Referenced by ilWebResourceEditableLinkTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\applyParamters(), ilEmployeeTalkTableGUI\fillRow(), ilRoleTableGUI\fillRow(), ilAdvancedMDFieldDefinitionGroupTableGUI\fillRow(), ilShibbolethRoleAssignmentTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilConsultationHourBookingTableGUI\fillRow(), ilConsultationHoursTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilPCFileListTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilObjectCustomUserFieldsTableGUI\fillRow(), ilMemberExportFileTableGUI\fillRow(), ilSCORMTrackingItemsPerScoTableGUI\fillRow(), ilSCORMTrackingItemsPerUserTableGUI\fillRow(), ilSCORMTrackingItemsScoTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilSurveyAppraiseesTableGUI\fillRow(), ilSCGroupTableGUI\fillRow(), ilWebResourceEditableLinkTableGUI\fillRow(), ilWebResourceLinkTableGUI\fillRow(), ilECSCategoryMappingTableGUI\fillRow(), ilECSCommunityTableGUI\fillRow(), ilECSServerTableGUI\fillRow(), ilECSNodeMappingTreeTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilUnitCategoryTableGUI\fillRow(), ilUserRoleStartingPointTableGUI\fillRow(), ilObjectCopyProgressTableGUI\fillRow(), ilWebDAVMountInstructionsDocumentTableGUI\formatActions(), ilAccessibilityDocumentTableGUI\formatActionsDropDown(), ilUserRoleStartingPointTableGUI\getActions(), ilAssignedUsersTableGUI\getContactLink(), ilStudyProgrammeIndividualPlanTableGUI\getDeadlineInput(), ilUserRoleStartingPointTableGUI\getEditLink(), ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilPollUserTableGUI\getItems(), ilAssignedUsersTableGUI\getLeaveLink(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilStudyProgrammeIndividualPlanTableGUI\getRequiredPointsInput(), ilRoleTableGUI\init(), ilObjectRolePermissionTableGUI\initColumns(), ilParticipantTableGUI\initFilter(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilAssignmentsPerParticipantTableGUI\parseData(), ilLocalUnitCategoryTableGUI\populateTitle(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilSubscriberTableGUI\showActionLinks(), and ilWaitingListTableGUI\showActionLinks().

+ Here is the caller graph for this function:

◆ getPrefix()

ilTable2GUI::getPrefix ( )
final

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

487 : string
488 {
489 return $this->prefix;
490 }

◆ getPreventDoubleSubmission()

ilTable2GUI::getPreventDoubleSubmission ( )

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

2643 : bool
2644 {
2646 }
bool $prevent_double_submission

Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

+ Here is the caller graph for this function:

◆ getPrintMode()

◆ getRequestedValues()

ilTable2GUI::getRequestedValues ( )
protected

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

177 : void
178 {
179 if (is_null($this->table_request)) {
180 return;
181 }
182 $this->requested_nav_par = $this->table_request->getNavPar($this->getNavParameter());
183 $this->requested_nav_par1 = $this->table_request->getNavPar($this->getNavParameter(), 1);
184 $this->requested_nav_par2 = $this->table_request->getNavPar($this->getNavParameter(), 2);
185 }

References getNavParameter().

Referenced by __construct().

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

◆ getResetCommand()

ilTable2GUI::getResetCommand ( )

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

824 : string
825 {
826 return $this->reset_cmd;
827 }

◆ getRowSelectorLabel()

ilTable2GUI::getRowSelectorLabel ( )

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

2633 : string
2634 {
2636 }
string $row_selector_label

◆ getSelectableColumns()

◆ getSelectedColumns()

ilTable2GUI::getSelectedColumns ( )

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

323 : array
324 {
325 $scol = array();
326 foreach ($this->selected_column as $k => $v) {
327 if ($v) {
328 $scol[$k] = $k;
329 }
330 }
331 return $scol;
332 }

Referenced by ilQuestionBrowserTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilAccessibilityTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\fillHeaderCSV(), ilSCORMTrackingItemsTableGUI\fillHeaderCSV(), ilSCORM2004TrackingItemsTableGUI\fillHeaderExcel(), ilSCORMTrackingItemsTableGUI\fillHeaderExcel(), ilTrObjectUsersPropsTableGUI\fillHeaderExcel(), ilTrUserObjectsPropsTableGUI\fillHeaderExcel(), ilStudyProgrammeMembersTableGUI\fillRow(), ilBookingObjectsTableGUI\fillRow(), ilCourseParticipantsTableGUI\fillRow(), ilGroupParticipantsTableGUI\fillRow(), ilLearningSequenceParticipantsTableGUI\fillRow(), ilSubscriberTableGUI\fillRow(), ilWaitingListTableGUI\fillRow(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\fillRow(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\fillRow(), ilMStListCoursesTableGUI\fillRow(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\fillRow(), ilMStShowUserCoursesTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRow(), ilRepositoryUserResultTableGUI\fillRow(), ilSessionParticipantsTableGUI\fillRow(), ilStudyProgrammeIndividualPlanTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRowCSV(), ilSCORMTrackingItemsTableGUI\fillRowCSV(), ilSCORM2004TrackingItemsTableGUI\fillRowExcel(), ilSCORMTrackingItemsTableGUI\fillRowExcel(), ilMStListCoursesTableGUI\getFieldValuesForExport(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\getFieldValuesForExport(), ilMStShowUserCoursesTableGUI\getFieldValuesForExport(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\getFieldValuesForExport(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\getFieldValuesForExport(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilParticipantsPerAssignmentTableGUI\getModeColumns(), ilRepositoryUserResultTableGUI\getPossibleSortations(), ilBookingReservationsTableGUI\getSelectedUserColumns(), ilSessionParticipantsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilQuestionPoolPrintViewTableGUI\initColumns(), ilLearningSequenceParticipantsTableGUI\initForm(), ilQuestionBrowserTableGUI\isCommentsColumnSelected(), ilCourseParticipantsTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilRepositoryUserResultTableGUI\parseUserIds(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), and ILIAS\LegalDocuments\Legacy\Table\visibleColumns().

+ Here is the caller graph for this function:

◆ getSelectedFilters()

ilTable2GUI::getSelectedFilters ( )

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

670 : array
671 {
672 $sfil = array();
673 foreach ($this->selected_filter as $k => $v) {
674 if ($v) {
675 $sfil[$k] = $k;
676 }
677 }
678 return $sfil;
679 }

◆ getShowRowsSelector()

ilTable2GUI::getShowRowsSelector ( )

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

2386 : bool
2387 {
2389 }

◆ getTopAnchor()

ilTable2GUI::getTopAnchor ( )

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

383 : string
384 {
385 return $this->top_anchor;
386 }

References $top_anchor.

◆ getTopCommands()

ilTable2GUI::getTopCommands ( )

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

951 : bool
952 {
953 return $this->top_commands;
954 }

◆ initFilter()

◆ isAdvMDFilter()

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

Check if filter element is based on adv md.

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

1647 : bool {
1648 foreach ($a_gui->getFilterElements(false) as $item) {
1649 if ($item === $a_element) {
1650 return true;
1651 }
1652 }
1653 return false;
1654 }
getFilterElements(bool $a_only_non_empty=true)
Get SQL conditions for current filter value(s)

◆ isColumnSelected()

◆ isFilterSelected()

ilTable2GUI::isFilterSelected ( string  $a_col)

Is given filter selected?

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

665 : bool
666 {
667 return (bool) $this->selected_filter[$a_col];
668 }

Referenced by ilAccessibilityTableGUI\populate(), and ILIAS\LegalDocuments\Legacy\Table\setupFilter().

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

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

1632 : bool
1633 {
1634 $prop = $this->loadProperty('filter');
1635 if ($prop === '0' || $prop === '1') {
1636 return (bool) $prop;
1637 }
1638 return $this->getDefaultFilterVisibility();
1639 }

◆ loadProperty()

ilTable2GUI::loadProperty ( string  $type)

Reimplemented in ilDclRecordListTableGUI.

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

2277 : ?string
2278 {
2279 global $DIC;
2280
2281 $ilUser = null;
2282 if (isset($DIC["ilUser"])) {
2283 $ilUser = $DIC["ilUser"];
2284 }
2285
2286 if (is_object($ilUser) && $this->getId() != "") {
2287 $tab_prop = new ilTablePropertiesStorageGUI();
2288
2289 return $tab_prop->getProperty($this->getId(), $ilUser->getId(), $type);
2290 }
2291 return null;
2292 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References $DIC, and ILIAS\Survey\Mode\getId().

Referenced by determineLimit(), and determineSelectedColumns().

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

◆ numericOrdering()

◆ prepareOutput()

ilTable2GUI::prepareOutput ( )
protected

Anything that must be done before HTML is generated.

Reimplemented in ilInstallationHeadingTableGUI, ilMultilingualismTableGUI, ilFileSystemTableGUI, and ilMediaPoolTableGUI.

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

1159 : void
1160 {
1161 }

Referenced by ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

+ Here is the caller graph for this function:

◆ render()

ilTable2GUI::render ( )

Reimplemented from ilTableGUI.

Reimplemented in ilExerciseSubmissionTableGUI, ILIAS\LegalDocuments\Legacy\Table, and ilMediaPoolTableGUI.

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

1384 : string
1385 {
1386 $lng = $this->lng;
1387
1388 $this->tpl->setVariable("CSS_TABLE", $this->getStyle("table"));
1389 if ($this->getId() != "") {
1390 $this->tpl->setVariable("ID", 'id="' . $this->getId() . '"');
1391 }
1392
1393 // description
1394 if ($this->getDescription() != "") {
1395 $this->tpl->setCurrentBlock("tbl_header_description");
1396 $this->tpl->setVariable("TBL_DESCRIPTION", $this->getDescription());
1397 $this->tpl->parseCurrentBlock();
1398 }
1399
1400 if (!$this->getPrintMode()) {
1401 $this->renderFilter();
1402 }
1403
1404 if ($this->getDisplayAsBlock()) {
1405 $this->tpl->touchBlock("outer_start_1");
1406 $this->tpl->touchBlock("outer_end_1");
1407 } else {
1408 $this->tpl->touchBlock("outer_start_2");
1409 $this->tpl->touchBlock("outer_end_2");
1410 }
1411
1412 // table title and icon
1413 if ($this->enabled["title"] && ($this->title != ""
1414 || $this->icon != "" || count($this->header_commands) > 0 ||
1415 $this->headerHTML != "" || $this->close_command != "")) {
1416 if ($this->enabled["icon"]) {
1417 $this->tpl->setCurrentBlock("tbl_header_title_icon");
1418 $this->tpl->setVariable("TBL_TITLE_IMG", ilUtil::getImagePath($this->icon));
1419 $this->tpl->setVariable("TBL_TITLE_IMG_ALT", $this->icon_alt);
1420 $this->tpl->parseCurrentBlock();
1421 }
1422
1423 if (!$this->getPrintMode()) {
1424 foreach ($this->header_commands as $command) {
1425 if ($command["img"] != "") {
1426 $this->tpl->setCurrentBlock("tbl_header_img_link");
1427 if ($command["target"] != "") {
1428 $this->tpl->setVariable(
1429 "TARGET_IMG_LINK",
1430 'target="' . $command["target"] . '"'
1431 );
1432 }
1433 $this->tpl->setVariable("ALT_IMG_LINK", $command["text"]);
1434 $this->tpl->setVariable("HREF_IMG_LINK", $command["href"]);
1435 $this->tpl->setVariable(
1436 "SRC_IMG_LINK",
1437 $command["img"]
1438 );
1439 } else {
1440 $this->tpl->setCurrentBlock("head_cmd");
1441 $this->tpl->setVariable("TXT_HEAD_CMD", $command["text"]);
1442 $this->tpl->setVariable("HREF_HEAD_CMD", $command["href"]);
1443 }
1444 $this->tpl->parseCurrentBlock();
1445 }
1446 }
1447
1448 if (isset($this->headerHTML)) {
1449 $this->tpl->setCurrentBlock("tbl_header_html");
1450 $this->tpl->setVariable("HEADER_HTML", $this->headerHTML);
1451 $this->tpl->parseCurrentBlock();
1452 }
1453
1454 // close command
1455 if ($this->close_command != "") {
1456 $this->tpl->setCurrentBlock("tbl_header_img_link");
1457 $this->tpl->setVariable("ALT_IMG_LINK", $lng->txt("close"));
1458 $this->tpl->setVariable("HREF_IMG_LINK", $this->close_command);
1459 $this->tpl->parseCurrentBlock();
1460 }
1461
1462 $this->tpl->setCurrentBlock("tbl_header_title");
1463 $this->tpl->setVariable("TBL_TITLE", $this->title);
1464 if ($this->getDisplayAsBlock()) {
1465 $this->tpl->setVariable("BLK_CLASS", "Block");
1466 }
1467 $this->tpl->parseCurrentBlock();
1468 }
1469
1470 // table header
1471 if ($this->enabled["header"]) {
1472 $this->fillHeader();
1473 }
1474
1475 $this->tpl->touchBlock("tbl_table_end");
1476
1477 return $this->tpl->get();
1478 }
renderFilter()
Render Filter section.
getStyle(string $a_element)

References $lng, ILIAS\Survey\Mode\getId(), and ilUtil\getImagePath().

Referenced by ilTestSkillLevelThresholdsTableGUI\fillRow(), ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\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 1483 of file class.ilTable2GUI.php.

1483 : void
1484 {
1485 global $DIC;
1486
1487 $lng = $this->lng;
1488 $main_tpl = $DIC["tpl"];
1489
1490 $filter = $this->getFilterItems();
1491 $opt_filter = $this->getFilterItems(true);
1492
1493 $main_tpl->addJavascript("assets/js/ServiceTable.js");
1494
1495 if (count($filter) == 0 && count($opt_filter) == 0) {
1496 return;
1497 }
1498
1499 $ccnt = 0;
1500
1501 // render standard filter
1502 if (count($filter) > 0) {
1503 foreach ($filter as $item) {
1504 if ($ccnt >= $this->getFilterCols()) {
1505 $this->tpl->setCurrentBlock("filter_row");
1506 $this->tpl->parseCurrentBlock();
1507 $ccnt = 0;
1508 }
1509 $this->tpl->setCurrentBlock("filter_item");
1510 $this->tpl->setVariable(
1511 "OPTION_NAME",
1512 $item->getTitle()
1513 );
1514 $this->tpl->setVariable(
1515 "F_INPUT_ID",
1516 $item->getTableFilterLabelFor()
1517 );
1518 $this->tpl->setVariable(
1519 "INPUT_HTML",
1520 $item->getTableFilterHTML()
1521 );
1522 $this->tpl->parseCurrentBlock();
1523 $ccnt++;
1524 }
1525 }
1526
1527 // render optional filter
1528 if (count($opt_filter) > 0) {
1529 $this->determineSelectedFilters();
1530
1531 foreach ($opt_filter as $item) {
1532 if ($this->isFilterSelected($item->getPostVar())) {
1533 if ($ccnt >= $this->getFilterCols()) {
1534 $this->tpl->setCurrentBlock("filter_row");
1535 $this->tpl->parseCurrentBlock();
1536 $ccnt = 0;
1537 }
1538 $this->tpl->setCurrentBlock("filter_item");
1539 $this->tpl->setVariable(
1540 "OPTION_NAME",
1541 $item->getTitle()
1542 );
1543 $this->tpl->setVariable(
1544 "F_INPUT_ID",
1545 $item->getFieldId()
1546 );
1547 $this->tpl->setVariable(
1548 "INPUT_HTML",
1549 $item->getTableFilterHTML()
1550 );
1551 $this->tpl->parseCurrentBlock();
1552 $ccnt++;
1553 }
1554 }
1555
1556 // filter selection
1557 $items = array();
1558 foreach ($opt_filter as $item) {
1559 $k = $item->getPostVar();
1560 $items[$k] = array("txt" => $item->getTitle(),
1561 "selected" => $this->isFilterSelected($k));
1562 }
1563
1564 $cb_over = new ilCheckboxListOverlayGUI("tbl_filters_" . $this->getId());
1565 $cb_over->setLinkTitle($lng->txt("optional_filters"));
1566 $cb_over->setItems($items);
1567
1568 $cb_over->setFormCmd($this->getParentCmd());
1569 $cb_over->setFieldVar("tblff" . $this->getId());
1570 $cb_over->setHiddenVar("tblfsf" . $this->getId());
1571
1572 $cb_over->setSelectionHeaderClass("ilTableMenuItem");
1573 $this->tpl->setCurrentBlock("filter_select");
1574
1575 // apply should be the first submit because of enter/return, inserting hidden submit
1576 $this->tpl->setVariable("HIDDEN_CMD_APPLY", $this->filter_cmd);
1577
1578 $this->tpl->setVariable("FILTER_SELECTOR", $cb_over->getHTML(false));
1579 $this->tpl->parseCurrentBlock();
1580 }
1581
1582 // if any filter
1583 if ($ccnt > 0 || count($opt_filter) > 0) {
1584 $this->tpl->setVariable("TXT_FILTER", $lng->txt("filter"));
1585
1586 if ($ccnt > 0) {
1587 if ($ccnt < $this->getFilterCols()) {
1588 for ($i = $ccnt; $i <= $this->getFilterCols(); $i++) {
1589 $this->tpl->touchBlock("filter_empty_cell");
1590 }
1591 }
1592 $this->tpl->setCurrentBlock("filter_row");
1593 $this->tpl->parseCurrentBlock();
1594
1595 $this->tpl->setCurrentBlock("filter_buttons");
1596 $this->tpl->setVariable("CMD_APPLY", $this->filter_cmd);
1597 $this->tpl->setVariable("TXT_APPLY", $this->filter_cmd_txt
1598 ?: $lng->txt("apply_filter"));
1599 $this->tpl->setVariable("CMD_RESET", $this->reset_cmd);
1600 $this->tpl->setVariable("TXT_RESET", $this->reset_cmd_txt
1601 ?: $lng->txt("reset_filter"));
1602 } elseif (count($opt_filter) > 0) {
1603 $this->tpl->setCurrentBlock("optional_filter_hint");
1604 $this->tpl->setVariable('TXT_OPT_HINT', $lng->txt('optional_filter_hint'));
1605 $this->tpl->parseCurrentBlock();
1606 }
1607
1608 $this->tpl->setCurrentBlock("filter_section");
1609 $this->tpl->setVariable("FIL_ID", $this->getId());
1610 $this->tpl->parseCurrentBlock();
1611
1612 // (keep) filter hidden?
1613 if (!$this->isFilterVisible() && !$this->getDisableFilterHiding()) {
1614 $id = $this->getId();
1615 $this->main_tpl->addOnLoadCode("
1616 ilTableHideFilter['atfil_$id'] = true;
1617 ilTableHideFilter['tfil_$id'] = true;
1618 ilTableHideFilter['dtfil_$id'] = true;
1619 ");
1620 }
1621 /*
1622 * BT 35757: filter has to be initialized after it has a chance to get hidden,
1623 * moving this here from ServiceTable.js to avoid timing weirdness with onLoadCode.
1624 */
1625 $this->main_tpl->addOnLoadCode("ilInitTableFilters()");
1626 }
1627 }
isFilterSelected(string $a_col)
Is given filter selected?
isFilterVisible()
Check if filter is visible: manually shown (session, db) or default value set.
ilGlobalTemplateInterface $main_tpl
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block.

References $DIC, $id, $lng, and ILIAS\Survey\Mode\getId().

+ Here is the call graph for this function:

◆ resetFilter()

ilTable2GUI::resetFilter ( )

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

1691 : void
1692 {
1693 $filter = $this->getFilterItems();
1694 $opt_filter = $this->getFilterItems(true);
1695
1696 foreach ($filter as $item) {
1697 if ($item->checkInput()) {
1698 // see #26490
1699 $item->setValueByArray([]);
1700 $item->clearFromSession();
1701 }
1702 }
1703 foreach ($opt_filter as $item) {
1704 if ($item->checkInput()) {
1705 // see #26490
1706 $item->setValueByArray([]);
1707 $item->clearFromSession();
1708 }
1709 }
1710 }

Referenced by ilLPTableBaseGUI\executeCommand(), and ILIAS\LegalDocuments\Legacy\Table\setupFilter().

+ Here is the caller graph for this function:

◆ resetOffset()

ilTable2GUI::resetOffset ( bool  $a_in_determination = false)

◆ setCloseCommand()

ilTable2GUI::setCloseCommand ( string  $a_link)

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

921 : void
922 {
923 $this->close_command = $a_link;
924 }

◆ setCloseFormTag()

ilTable2GUI::setCloseFormTag ( bool  $a_val)

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

197 : void
198 {
199 $this->close_form_tag = $a_val;
200 }

◆ setContext()

ilTable2GUI::setContext ( string  $id)

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

2366 : void
2367 {
2368 if (trim($id)) {
2369 $this->context = $id;
2370 }
2371 }

References $id.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setCustomPreviousNext()

ilTable2GUI::setCustomPreviousNext ( string  $a_prev_link,
string  $a_next_link 
)

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

730 : void {
731 $this->custom_prev_next = true;
732 $this->custom_prev = $a_prev_link;
733 $this->custom_next = $a_next_link;
734 }

◆ setData()

ilTable2GUI::setData ( array  $a_data)
final

Set table data.

Reimplemented from ilTableGUI.

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

466 : void
467 {
468 $this->row_data = $a_data;
469 }

Referenced by ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilImportantPagesTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilDclRecordListTableGUI\buildData(), ilOrgUnitPermissionTableGUI\collectData(), ilHelpMappingTableGUI\getChapters(), ilModulesTableGUI\getComponents(), ilWikiContributorsTableGUI\getContributors(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilMemberExportFileTableGUI\getFiles(), ilNewItemGroupTableGUI\getGroups(), ilAssignedUsersTableGUI\getItems(), ilBookingAssignParticipantsTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilBookingAssignObjectsTableGUI\getItems(), ilCmiXapiVerificationTableGUI\getItems(), ilPCImageMapTableGUI\getItems(), ilCourseVerificationTableGUI\getItems(), ilExerciseVerificationTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilExcCriteriaTableGUI\getItems(), ilExAssignmentTeamLogTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilLTIConsumerVerificationTableGUI\getItems(), ilMediaObjectUsagesTableGUI\getItems(), ilImageMapTableGUI\getItems(), ilMediaPoolPageUsagesTableGUI\getItems(), ilMediaPoolTableGUI\getItems(), ilClipboardTableGUI\getItems(), ilPollAnswerTableGUI\getItems(), ilPortfolioPageTableGUI\getItems(), ilAdminSubItemsTableGUI\getItems(), ilRecommendedContentRoleTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilSCORMVerificationTableGUI\getItems(), ILIAS\Style\Content\CharacteristicTableGUI\getItems(), ilStyleMediaQueryTableGUI\getItems(), ilTableTemplatesTableGUI\getItems(), ilStyleColorTableGUI\getItems(), ilTestVerificationTableGUI\getItems(), ilLPObjectStatisticsAdminTableGUI\getItems(), ilLPObjectStatisticsDailyTableGUI\getItems(), ilLPObjectStatisticsLPTableGUI\getItems(), ilLPObjectStatisticsTableGUI\getItems(), ilLPObjectStatisticsTypesTableGUI\getItems(), ilLPProgressTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilUserRoleStartingPointTableGUI\getItems(), ilUserTableGUI\getItems(), ilObjWorkspaceFolderTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilSessionOverviewTableGUI\getItems(), ilBookingParticipantsTableGUI\getItems(), ilSurveyParticipantsTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilBookingSchedulesTableGUI\getItems(), ilLinksTableGUI\getLinks(), ilItemGroupItemsTableGUI\getMaterials(), ilPageLayoutTableGUI\getPageLayouts(), ilWikiPagesTableGUI\getPages(), ilCopySelfAssQuestionTableGUI\getQuestions(), ilSurveySkillAssignmentTableGUI\getQuestions(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilSurveySkillChangesTableGUI\getSkillLevelsForAppraisee(), ilSurveySkillTableGUI\getSkills(), ilSysStyleCatAssignmentTableGUI\getStyleCatAssignments(), ilSystemStylesTableGUI\getStyles(), ilWorkspaceAccessTableGUI\importData(), ilWorkspaceShareTableGUI\importData(), ilSurveyQuestionTableGUI\importData(), ilSurveySyncTableGUI\importData(), ilFileVersionsTableGUI\initData(), ilQuestionCumulatedStatisticsTableGUI\initData(), ilDashboardSortationTableGUI\initData(), ilSurveyQuestionblockbrowserTableGUI\initData(), ilSurveyQuestionbrowserTableGUI\initData(), ilTaxonomyAdministrationRepositoryTableGUI\initItems(), ilAdvancedMDFieldDefinitionGroupTableGUI\initItems(), SurveyConstraintsTableGUI\initItems(), ilCmiXapiStatementsGUI\initTableData(), ilLTIConsumerXapiStatementsGUI\initTableData(), ilECSExportedContentTableGUI\parse(), ilECSImportedContentTableGUI\parse(), ilObjectRolePermissionTableGUI\parse(), ilObjectRoleTemplateOptionsTableGUI\parse(), ilObjectRoleTemplatePermissionTableGUI\parse(), ilAdvancedMDRecordLanguageTableGUI\parse(), ilCalendarInboxSharedTableGUI\parse(), ilCalendarManageTableGUI\parse(), ilCalendarRecurrenceTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilCalendarSharedRoleListTableGUI\parse(), ilCalendarSharedUserListTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilLOMemberTestResultTableGUI\parse(), ilCourseReferenceDeleteConfirmationTableGUI\parse(), ilExAssignmentListTextTableGUI\parse(), ilObjForumSearchResultTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilObjectCopyProgressTableGUI\parse(), ilObjectTableGUI\parse(), ilLearningSequenceParticipantsTableGUI\parse(), ilLogComponentTableGUI\parse(), ilMDCopyrightUsageTableGUI\parse(), ilTrashTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilSessionParticipantsTableGUI\parse(), ilSCGroupTableGUI\parse(), ilSCTaskTableGUI\parse(), ilUserClipboardTableGUI\parse(), ilWebResourceEditableLinkTableGUI\parse(), ilWebResourceLinkTableGUI\parse(), ilECSNodeMappingTreeTableGUI\parse(), ilObjWikiSearchResultTableGUI\parse(), ilCourseObjectiveMaterialAssignmentTableGUI\parse(), ilCourseObjectiveQuestionAssignmentTableGUI\parse(), ilObjectCustomUserFieldsTableGUI\parse(), ilTimingsManageTableGUI\parse(), ilTimingsPersonalTableGUI\parse(), ilCourseObjectiveQuestionsTableGUI\parse(), ilCourseObjectivesTableGUI\parse(), ilECSCategoryMappingTableGUI\parse(), ilConsultationHourBookingTableGUI\parse(), ilRoleSelectionTableGUI\parse(), ilUserExportFileTableGUI\parse(), ilECSCommunityTableGUI\parse(), ilShibbolethRoleAssignmentTableGUI\parse(), ilECSServerTableGUI\parse(), ilLPCollectionSettingsTableGUI\parse(), ilSCTreeDuplicatesTableGUI\parse(), ilRoleTableGUI\parse(), ilRoleAssignmentTableGUI\parse(), ilExportSelectionTableGUI\parseContainer(), ilDclEditViewTableGUI\parseData(), ilBiblTranslationTableGUI\parseData(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), ilMStShowUserCoursesTableGUI\parseData(), ilDclCreateViewTableGUI\parseData(), ilDclTableViewEditFieldsTableGUI\parseData(), ilAdvancedMDFieldTableGUI\parseDefinitions(), ilAdvancedMDRecordExportFilesTableGUI\parseFiles(), ilRepositoryObjectResultTableGUI\parseObjectIds(), ilObjectCopySearchResultTableGUI\parseSearchResults(), ilWebResourceEditableLinkTableGUI\parseSelectedLinks(), ilMDCopyrightTableGUI\parseSelections(), ilObjectCopySelectionTableGUI\parseSource(), ilRepositoryUserResultTableGUI\parseUserIds(), ilAccessibilityTableGUI\populate(), ilWebDAVMountInstructionsDocumentTableGUI\populate(), ilFileSystemTableGUI\prepareOutput(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilCalendarAppointmentsTableGUI\setAppointments(), ilCalendarChangedAppointmentsTableGUI\setAppointments(), ilSessionMaterialsTableGUI\setMaterials(), ilQuestionBrowserTableGUI\setQuestionData(), ilSumScoreTableGUI\setSumScores(), ilEmployeeTalkTableGUI\setTalkData(), and ilWebResourceEditableLinkTableGUI\updateFromPost().

+ Here is the caller graph for this function:

◆ setDefaultFilterVisiblity()

ilTable2GUI::setDefaultFilterVisiblity ( bool  $a_status)

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

871 : void
872 {
873 $this->default_filter_visibility = $a_status;
874 }

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

+ Here is the caller graph for this function:

◆ setDefaultOrderDirection()

ilTable2GUI::setDefaultOrderDirection ( string  $a_defaultorderdirection)

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

861 : void
862 {
863 $this->defaultorderdirection = $a_defaultorderdirection;
864 }

Referenced by ilQuestionBrowserTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilECSExportedContentTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilWikiContributorsTableGUI\getContributors(), ilWikiPagesTableGUI\getPages(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilRoleTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilTrashTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), and ilUserExportFileTableGUI\init().

+ Here is the caller graph for this function:

◆ setDefaultOrderField()

ilTable2GUI::setDefaultOrderField ( string  $a_defaultorderfield)

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

850 : void
851 {
852 $this->defaultorderfield = $a_defaultorderfield;
853 }

Referenced by ilQuestionBrowserTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilECSExportedContentTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilMatchingQuestionAnswerFreqStatTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilEmployeeTalkTableGUI\addColumns(), ilWikiContributorsTableGUI\getContributors(), ilWikiPagesTableGUI\getPages(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilRoleTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilLogComponentTableGUI\init(), ilTrashTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilUserExportFileTableGUI\init(), ilLearningSequenceParticipantsTableGUI\initForm(), ilConsultationHourBookingTableGUI\initTable(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), and ilMStShowUserCoursesTableGUI\parseData().

+ Here is the caller graph for this function:

◆ setDescription()

◆ setDisableFilterHiding()

◆ setDisplayAsBlock()

ilTable2GUI::setDisplayAsBlock ( bool  $a_val)

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

775 : void
776 {
777 $this->display_as_block = $a_val;
778 }

Referenced by assFileUploadFileTableGUI\__construct().

+ Here is the caller graph for this function:

◆ setEnableAllCommand()

ilTable2GUI::setEnableAllCommand ( bool  $a_value)

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

2609 : void
2610 {
2611 $this->enable_command_for_all = $a_value;
2612 }

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

+ Here is the caller graph for this function:

◆ setEnableHeader()

ilTable2GUI::setEnableHeader ( bool  $a_enableheader)

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

418 : void
419 {
420 $this->enabled["header"] = $a_enableheader;
421 }

Referenced by ilLPObjectStatisticsTypesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilLinksTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilTrashTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), and ilLPObjectStatisticsTableGUI\init().

+ Here is the caller graph for this function:

◆ setEnableNumInfo()

◆ setEnableTitle()

ilTable2GUI::setEnableTitle ( bool  $a_enabletitle)

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

408 : void
409 {
410 $this->enabled["title"] = $a_enabletitle;
411 }

Referenced by ilLPObjectStatisticsTypesTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilTrashTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), and ilLPObjectStatisticsTableGUI\init().

+ Here is the caller graph for this function:

◆ setExportFormats()

ilTable2GUI::setExportFormats ( array  $formats)

◆ setExternalSegmentation()

ilTable2GUI::setExternalSegmentation ( bool  $a_val)

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

829 : void
830 {
831 $this->ext_seg = $a_val;
832 }

Referenced by ilBiblTranslationTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilTrashTableGUI\init(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), and ilMStShowUserCoursesTableGUI\parseData().

+ Here is the caller graph for this function:

◆ setExternalSorting()

ilTable2GUI::setExternalSorting ( bool  $a_val)

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

793 : void
794 {
795 $this->ext_sort = $a_val;
796 }

Referenced by ilRepositoryUserResultTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilObjectCopyProgressTableGUI\init(), ilTrashTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilSCORMTrackingUsersTableGUI\parse(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\parseData(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\parseData(), ilMStListCoursesTableGUI\parseData(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\parseData(), and ilMStShowUserCoursesTableGUI\parseData().

+ Here is the caller graph for this function:

◆ setFilterCols()

◆ setFilterCommand()

◆ setFilterValue()

ilTable2GUI::setFilterValue ( ilTableFilterItem  $a_item,
  $a_value 
)
protected
Parameters
string | array | null$a_value
Exceptions
ilDateTimeException

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

2354 : void
2355 {
2356 if (method_exists($a_item, "setChecked")) {
2357 $a_item->setChecked((bool) $a_value);
2358 } elseif (method_exists($a_item, "setValue")) {
2359 $a_item->setValue($a_value);
2360 } elseif (method_exists($a_item, "setDate")) {
2361 $a_item->setDate(new ilDate($a_value, IL_CAL_DATE));
2362 }
2363 $a_item->writeToSession();
2364 }
Class for single dates.

References IL_CAL_DATE.

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

+ Here is the caller graph for this function:

◆ setFormAction()

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

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

739 : void {
740 $this->form_action = $a_form_action;
741 $this->form_multipart = $a_multipart;
742 }

Referenced by ilQuestionBrowserTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilDashboardSortationTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilECSExportedContentTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilClipboardTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilParticipantsPerAssignmentTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilLinksTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilObjStudyProgrammeIndividualPlanGUI\appendIndividualPlanActions(), ilRoleTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilObjectCopyCourseGroupSelectionTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilLogComponentTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilTrashTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilSCGroupTableGUI\init(), ilSCTaskTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilUserExportFileTableGUI\init(), ilForumTopicTableGUI\initMergeThreadsTable(), ilConsultationHourBookingTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), and ilForumTopicTableGUI\initTopicsOverviewTable().

+ Here is the caller graph for this function:

◆ setFormName()

ilTable2GUI::setFormName ( string  $a_name = "")

Reimplemented from ilTableGUI.

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

749 : void
750 {
751 $this->formname = $a_name;
752 }

Referenced by ilQuestionBrowserTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilObjectCopySelectionTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilCalendarRecurrenceTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilUserExportFileTableGUI\init(), and ilLearningSequenceParticipantsTableGUI\initForm().

+ Here is the caller graph for this function:

◆ setHeaderHTML()

ilTable2GUI::setHeaderHTML ( string  $html)

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

2256 : void
2257 {
2258 $this->headerHTML = $html;
2259 }

◆ setId()

ilTable2GUI::setId ( string  $a_val)

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

759 : void
760 {
761 $this->id = $a_val;
762 if ($this->getPrefix() == "") {
763 $this->setPrefix($a_val);
764 }
765 if (strlen($this->id) > 30) {
766 throw new ilException("Table ID to long (max. 30 char): " . $this->id);
767 }
768 }
Base class for ILIAS Exception handling.
setPrefix(string $a_prefix)
set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort...

Referenced by ilQuestionBrowserTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilCourseReferenceDeleteConfirmationTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilAdvancedMDRecordLanguageTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilCalendarRecurrenceTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceParticipantsTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilMailSearchResultsTableGUI\__construct(), ilMDCopyrightUsageTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilForumTopicTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSCTaskTableGUI\__construct(), ilSCORMTrackingItemPerUserTableGUI\__construct(), ilSCORMTrackingItemsPerScoTableGUI\__construct(), ilSCORMTrackingItemsPerUserTableGUI\__construct(), ilSCORMTrackingItemsScoTableGUI\__construct(), ilSCORMTrackingUsersTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilTimingsManageTableGUI\__construct(), ilTimingsPersonalTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilRoleTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilPollUserTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilUserClipboardTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilRepositoryObjectSearchResultTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilConsultationHourBookingTableGUI\__construct(), ilTrashTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilLogComponentTableGUI\__construct(), ilECSServerTableGUI\__construct(), ilUserExportFileTableGUI\__construct(), ilSCGroupTableGUI\__construct(), ilSCTreeDuplicatesTableGUI\__construct(), ilLOMemberTestResultTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilObjectCopyProgressTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilAssignmentsPerParticipantTableGUI\initMode(), and ilParticipantsPerAssignmentTableGUI\initMode().

+ Here is the caller graph for this function:

◆ setIsDataTable()

ilTable2GUI::setIsDataTable ( bool  $a_val)

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

398 : void
399 {
400 $this->datatable = $a_val;
401 }

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

+ Here is the caller graph for this function:

◆ setLimit()

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

set max.

datasets displayed per page

Reimplemented from ilTableGUI.

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

2648 : void
2649 {
2650 parent::setLimit($a_limit, $a_default_limit);
2651
2652 // #17077 - if limit is set "manually" to 9999, force rows selector off
2653 if ($a_limit == 9999 &&
2654 $this->limit_determined) {
2655 $this->rows_selector_off = true;
2656 }
2657 }

Referenced by ilLPObjectStatisticsTypesTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilImportantPagesTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), determineLimit(), ilAdvancedMDRecordLanguageTableGUI\init(), ilLogComponentTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilCmiXapiScoringTableGUI\initColumns(), and ilLTIConsumerScoringTableGUI\initColumns().

+ Here is the caller graph for this function:

◆ setNoEntriesText()

ilTable2GUI::setNoEntriesText ( string  $a_text)

◆ setOpenFormTag()

ilTable2GUI::setOpenFormTag ( bool  $a_val)

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

187 : void
188 {
189 $this->open_form_tag = $a_val;
190 }

Referenced by ilUploadDirFilesTableGUI\__construct().

+ Here is the caller graph for this function:

◆ setOrderField()

ilTable2GUI::setOrderField ( string  $a_order_field)

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

456 : void
457 {
458 $this->order_field = $a_order_field;
459 }

Referenced by ilCalendarManageTableGUI\resetToDefaults().

+ Here is the caller graph for this function:

◆ setOrderLink()

ilTable2GUI::setOrderLink ( string  $key,
string  $order_dir 
)

Reimplemented from ilTableGUI.

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

986 : void
987 {
988 global $DIC;
989
990 $ilUser = $DIC->user();
991
992 $ilCtrl = $this->ctrl;
993
994 $hash = "";
995
996 $old = $this->requested_nav_par ?? '';
997
998 // set order link
999 $ilCtrl->setParameter(
1000 $this->parent_obj,
1001 $this->getNavParameter(),
1002 urlencode($key) . ":" . $order_dir . ":" . $this->offset
1003 );
1004 $this->tpl->setVariable(
1005 "TBL_ORDER_LINK",
1006 $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd) . $hash
1007 );
1008
1009 // set old value of nav variable
1010 $ilCtrl->setParameter(
1011 $this->parent_obj,
1012 $this->getNavParameter(),
1013 $old
1014 );
1015 }
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
@inheritDoc

References $DIC.

◆ setPrefix()

ilTable2GUI::setPrefix ( string  $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)

Reimplemented from ilTableGUI.

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

481 : void
482 {
483 $this->prefix = $a_prefix;
484 $this->getRequestedValues();
485 }

Referenced by assFileUploadFileTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceParticipantsTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), and assFileUploadFileTableGUI\initCommand().

+ Here is the caller graph for this function:

◆ setPreventDoubleSubmission()

ilTable2GUI::setPreventDoubleSubmission ( bool  $a_val)

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

2638 : void
2639 {
2640 $this->prevent_double_submission = $a_val;
2641 }

◆ setPrintMode()

ilTable2GUI::setPrintMode ( bool  $a_value = false)

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

2425 : void
2426 {
2427 $this->print_mode = $a_value;
2428 }

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

+ Here is the caller graph for this function:

◆ setResetCommand()

◆ setRowSelectorLabel()

ilTable2GUI::setRowSelectorLabel ( string  $row_selector_label)

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

2628 : void
2629 {
2630 $this->row_selector_label = $row_selector_label;
2631 }

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

+ Here is the caller graph for this function:

◆ setRowTemplate()

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

Set row template.

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

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

844 : void
845 {
846 $this->row_template = $a_template;
847 $this->row_template_dir = $a_template_dir;
848 }

Referenced by ilQuestionBrowserTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilDashboardSortationTableGUI\__construct(), ilAdvancedMDFieldDefinitionGroupTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilECSExportedContentTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBiblTranslationTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilCmiXapiStatementsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilInstallationHeadingTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLearningSequenceEditParticipantsTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilNewsForContextTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilPDNewsTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilClipboardTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilMultilingualismTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilExerciseSubmissionTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilLinksTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilFoundUsersTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilSystemStylesTableGUI\addActions(), ilRoleTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilLOMemberTestResultTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilObjectCopyProgressTableGUI\init(), ilObjectTableGUI\init(), ilLogComponentTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilTrashTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilSCGroupTableGUI\init(), ilSCTaskTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilSCTreeDuplicatesTableGUI\init(), ilUserClipboardTableGUI\init(), ilUserExportFileTableGUI\init(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilRepositoryObjectSearchResultTableGUI\initRowTemplate(), ilConsultationHourBookingTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilECSServerTableGUI\initTable(), and ilForumTopicTableGUI\initTopicsOverviewTable().

+ Here is the caller graph for this function:

◆ setSelectAllCheckbox()

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

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

788 : void {
789 $this->select_all_checkbox = $a_select_all_checkbox;
790 $this->select_all_on_top = $a_select_all_on_top;
791 }

Referenced by ilQuestionBrowserTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilClipboardTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilSCORM2004TrackingTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilFileSystemTableGUI\addColumns(), ilRoleTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilTrashTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilUserClipboardTableGUI\init(), ilUserExportFileTableGUI\init(), assFileUploadFileTableGUI\initCommand(), ilLearningSequenceParticipantsTableGUI\initForm(), ilAssignmentsPerParticipantTableGUI\initMode(), ilParticipantsPerAssignmentTableGUI\initMode(), ilConsultationHourBookingTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), and ilForumTopicTableGUI\initTopicsOverviewTable().

+ Here is the caller graph for this function:

◆ setShowRowsSelector()

ilTable2GUI::setShowRowsSelector ( bool  $a_value)

Toggle rows-per-page selector.

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

2381 : void
2382 {
2383 $this->show_rows_selector = $a_value;
2384 }

Referenced by ilQuestionBrowserTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ILIAS\LegalDocuments\Legacy\Table\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ILIAS\MyStaff\ListCertificates\ilMStListCertificatesTableGUI\__construct(), ILIAS\MyStaff\ListCompetences\Skills\ilMStListCompetencesSkillsTableGUI\__construct(), ILIAS\MyStaff\ListUsers\ilMStListUsersTableGUI\__construct(), ilEmployeeTalkTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilMStListCoursesTableGUI\__construct(), ilMStShowUserCoursesTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilStudyProgrammeMembersTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSumScoreTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilRoleTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilCalendarRecurrenceTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilCourseReferenceDeleteConfirmationTableGUI\init(), ilLogComponentTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilLearningSequenceParticipantsTableGUI\initForm(), ilForumTopicTableGUI\initMergeThreadsTable(), ilConsultationHourBookingTableGUI\initTable(), ilForumTopicTableGUI\initTopicsOverviewTable(), and ILIAS\LegalDocuments\Legacy\Table\setMaxCount().

+ Here is the caller graph for this function:

◆ setTitle()

ilTable2GUI::setTitle ( string  $a_title,
string  $a_icon = "",
string  $a_icon_alt = "" 
)
final
Parameters
string$a_titletable title
string$a_iconfile name of title icon
string$a_icon_altalternative text for title icon

Reimplemented from ilTableGUI.

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

442 : void {
443 parent::setTitle($a_title, $a_icon, $a_icon_alt);
444 }

Referenced by ilLPObjectStatisticsTypesTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilMailSearchObjectMembershipsTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilMailSearchObjectsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilLTIConsumerVerificationTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilAccessibilityDocumentTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilBookingAssignObjectsTableGUI\__construct(), ilBookingParticipantsTableGUI\__construct(), ilCmiXapiScoringTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ilDclEditViewTableGUI\__construct(), ilDclFieldListTableGUI\__construct(), ilDclTableViewEditFieldsTableGUI\__construct(), ilFileVersionsTableGUI\__construct(), ilLTIConsumerScoringTableGUI\__construct(), ilCmiXapiLrsTypesTableGUI\__construct(), ilCmiXapiVerificationTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilModulesTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilStudyProgrammeAutoCategoriesTableGUI\__construct(), ilStudyProgrammeAutoMembershipsTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilRecommendedContentRoleTableGUI\__construct(), ilStudyProgrammeMailMemberSearchTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilWebDAVMountInstructionsDocumentTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilMobMultiSrtConfirmationTable2GUI\__construct(), ilMultiSrtConfirmationTable2GUI\__construct(), ilClipboardTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilMemberExportFileTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMEditShortTitlesTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilSurveyParticipantsTableGUI\__construct(), ilPCFileListTableGUI\__construct(), ilPCGridCellTableGUI\__construct(), ilPCTabsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilExcCriteriaTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilExcCriteriaCatalogueTableGUI\__construct(), ilLinksTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilOrgUnitPermissionTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilBookingAssignParticipantsTableGUI\__construct(), ilSubItemSelectionTableGUI\__construct(), ilWikiContributorsTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilWikiRecentChangesTableGUI\__construct(), ilWikiSearchResultsTableGUI\__construct(), ilWikiPagesTableGUI\__construct(), ilDashObjectsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilPortfolioRoleAssignmentTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilUserRoleStartingPointTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilObjLearningSequenceContentTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilRoleTableGUI\init(), ilAdvancedMDRecordLanguageTableGUI\init(), ilLOMemberTestResultTableGUI\init(), ilTimingsManageTableGUI\init(), ilTimingsPersonalTableGUI\init(), ilMDCopyrightUsageTableGUI\init(), ilTrashTableGUI\init(), ilRepositoryObjectSearchResultTableGUI\init(), ilSCGroupTableGUI\init(), ilSCTaskTableGUI\init(), ilLPObjectStatisticsDailyTableGUI\init(), ilLPObjectStatisticsLPTableGUI\init(), ilLPObjectStatisticsTableGUI\init(), ilUserClipboardTableGUI\init(), ilForumTopicTableGUI\initMergeThreadsTable(), ilAssignmentsPerParticipantTableGUI\initMode(), ilParticipantsPerAssignmentTableGUI\initMode(), ilConsultationHourBookingTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilECSServerTableGUI\initTable(), ilGlobalUnitCategoryTableGUI\populateTitle(), and ilLocalUnitCategoryTableGUI\populateTitle().

+ Here is the caller graph for this function:

◆ setTopAnchor()

ilTable2GUI::setTopAnchor ( string  $a_val)

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

378 : void
379 {
380 $this->top_anchor = $a_val;
381 }

◆ setTopCommands()

◆ storeNavParameter()

ilTable2GUI::storeNavParameter ( )

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

1227 : void
1228 {
1229 if ($this->getOrderField() != "") {
1230 $this->storeProperty("order", $this->getOrderField());
1231 }
1232 if ($this->getOrderDirection() != "") {
1233 $this->storeProperty("direction", $this->getOrderDirection());
1234 }
1235 if ($this->getOffset() >= 0) {
1236 $this->storeProperty("offset", (string) $this->getOffset());
1237 }
1238 }

Referenced by ilLPTableBaseGUI\executeCommand(), ilDclCreateViewTableGUI\getHTML(), ilDclEditViewTableGUI\getHTML(), ilDclFieldListTableGUI\getHTML(), and ilDclTableViewEditFieldsTableGUI\getHTML().

+ Here is the caller graph for this function:

◆ storeProperty()

ilTable2GUI::storeProperty ( string  $type,
string  $value 
)

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

2261 : void
2262 {
2263 global $DIC;
2264
2265 $ilUser = null;
2266 if (isset($DIC["ilUser"])) {
2267 $ilUser = $DIC["ilUser"];
2268 }
2269
2270 if (is_object($ilUser) && $this->getId() != "") {
2271 $tab_prop = new ilTablePropertiesStorageGUI();
2272
2273 $tab_prop->storeProperty($this->getId(), $ilUser->getId(), $type, $value);
2274 }
2275 }

References $DIC, and ILIAS\Survey\Mode\getId().

Referenced by determineLimit(), determineSelectedColumns(), and ilLPTableBaseGUI\executeCommand().

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

◆ writeFilterToSession()

ilTable2GUI::writeFilterToSession ( )

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

1656 : void
1657 {
1658 $advmd_record_gui = null;
1659 if (method_exists($this, "getAdvMDRecordGUI")) {
1660 $advmd_record_gui = $this->getAdvMDRecordGUI();
1661 }
1662
1663 foreach ($this->getFilterItems() as $item) {
1664 if ($advmd_record_gui &&
1665 $this->isAdvMDFilter($advmd_record_gui, $item)) {
1666 continue;
1667 }
1668
1669 if ($item->checkInput()) {
1670 $item->setValueByArray($this->raw_post_data);
1671 $item->writeToSession();
1672 }
1673 }
1674 foreach ($this->getFilterItems(true) as $item) {
1675 if ($advmd_record_gui &&
1676 $this->isAdvMDFilter($advmd_record_gui, $item)) {
1677 continue;
1678 }
1679
1680 if ($item->checkInput()) {
1681 $item->setValueByArray($this->raw_post_data);
1682 $item->writeToSession();
1683 }
1684 }
1685
1686 if ($advmd_record_gui) {
1687 $advmd_record_gui->importFilter();
1688 }
1689 }
isAdvMDFilter(ilAdvancedMDRecordGUI $a_gui, ilTableFilterItem $a_element)
Check if filter element is based on adv md.

Referenced by ilLPTableBaseGUI\executeCommand(), and ILIAS\LegalDocuments\Legacy\Table\setupFilter().

+ Here is the caller graph for this function:

Field Documentation

◆ $buttons

◆ $close_command

string ilTable2GUI::$close_command = ""
protected

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

◆ $close_form_tag

bool ilTable2GUI::$close_form_tag = true
protected

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

Referenced by getCloseFormTag().

◆ $column

◆ $columns_determined

bool ilTable2GUI::$columns_determined = false
protected

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

◆ $context

◆ $css_row

string ilTable2GUI::$css_row = ''
protected

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

◆ $ctrl

ilCtrl ilTable2GUI::$ctrl
protected

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

Referenced by ilTestSkillLevelThresholdsTableGUI\__construct(), ilBookingBulkCreationTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilDclCreateViewTableGUI\__construct(), ILIAS\Style\Content\CharacteristicTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilParticipantsPerAssignmentTableGUI\__construct(), ilBookingObjectsTableGUI\fillRow(), ilBookingParticipantsTableGUI\fillRow(), ilBookingSchedulesTableGUI\fillRow(), ilCopySelfAssQuestionTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilAssignmentsTableGUI\fillRow(), ilAssignmentsPerParticipantTableGUI\fillRow(), ilExerciseVerificationTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilParticipantsPerAssignmentTableGUI\fillRow(), ilExcCriteriaCatalogueTableGUI\fillRow(), ilExcCriteriaTableGUI\fillRow(), ilPublicSubmissionsTableGUI\fillRow(), ilHelpModuleTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilLMGlossaryTableGUI\fillRow(), ilLMMenuItemsTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilMediaCastTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilClipboardTableGUI\fillRow(), ilNewsForContextTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilWorkspaceAccessTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilPortfolioPageTableGUI\fillRow(), ilAdminSubItemsTableGUI\fillRow(), ilNewItemGroupTableGUI\fillRow(), ilSkillLevelTableGUI\fillRow(), ilSkillCatTableGUI\fillRow(), ilContentStylesTableGUI\fillRow(), ilStyleMediaQueryTableGUI\fillRow(), ilTableTemplatesTableGUI\fillRow(), ilStyleColorTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilSurveyQuestionTableGUI\fillRow(), ilFoundUsersTableGUI\fillRow(), ilSurveySkillAssignmentTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilSurveySkillThresholdsTableGUI\fillRow(), ilTaxonomyListTableGUI\fillRow(), ilTaxonomyTableGUI\fillRow(), ilWikiPagesTableGUI\fillRow(), ilWikiRecentChangesTableGUI\fillRow(), ilWikiSearchResultsTableGUI\fillRow(), ilObjWorkspaceFolderTableGUI\fillRow(), ilDclCreateViewTableGUI\getHTML(), ilDclTableViewEditFieldsTableGUI\getHTML(), ilSurveyQuestionTableGUI\importData(), ilObjWikiSearchResultTableGUI\parse(), ilAssignmentsPerParticipantTableGUI\parseData(), and ilMediaPoolTableGUI\render().

◆ $custom_next

string ilTable2GUI::$custom_next = ""
protected

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

◆ $custom_prev

string ilTable2GUI::$custom_prev = ""
protected

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

◆ $custom_prev_next

bool ilTable2GUI::$custom_prev_next = false
protected

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

◆ $datatable

bool ilTable2GUI::$datatable = false
protected

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

Referenced by getIsDataTable().

◆ $default_filter_visibility

bool ilTable2GUI::$default_filter_visibility = false
protected

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

◆ $defaultorderdirection

string ilTable2GUI::$defaultorderdirection = ""
protected

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

◆ $defaultorderfield

string ilTable2GUI::$defaultorderfield = ""
protected

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

◆ $description

string ilTable2GUI::$description = ''
protected

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

◆ $disable_filter_hiding

bool ilTable2GUI::$disable_filter_hiding = false
protected

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

◆ $display_as_block

bool ilTable2GUI::$display_as_block = false
protected

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

◆ $enable_command_for_all

bool ilTable2GUI::$enable_command_for_all = false
protected

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

◆ $export_formats

array ilTable2GUI::$export_formats = []
protected

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

◆ $export_mode

int ilTable2GUI::$export_mode = 0
protected

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

◆ $ext_seg

bool ilTable2GUI::$ext_seg = false
protected

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

◆ $ext_sort

bool ilTable2GUI::$ext_sort = false
protected

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

◆ $filter_cmd

string ilTable2GUI::$filter_cmd = 'applyFilter'
protected

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

◆ $filter_cmd_txt

string ilTable2GUI::$filter_cmd_txt = ""
protected

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

◆ $filter_cols

int ilTable2GUI::$filter_cols = 5
protected

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

◆ $filters

array ilTable2GUI::$filters = array()
protected

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

Referenced by ilMDCopyrightUsageTableGUI\collectData().

◆ $filters_determined

bool ilTable2GUI::$filters_determined = false
protected

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

◆ $form_action

string ilTable2GUI::$form_action = ""
protected

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

◆ $form_multipart

bool ilTable2GUI::$form_multipart = false
protected

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

◆ $formname

string ilTable2GUI::$formname = ""
protected

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

Referenced by assFileUploadFileTableGUI\__construct().

◆ $header_commands

array ilTable2GUI::$header_commands = []
protected

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

◆ $headerHTML

string ilTable2GUI::$headerHTML = ""
private

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

◆ $hidden_inputs

array ilTable2GUI::$hidden_inputs = []
protected

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

◆ $id

◆ $limit_determined

bool ilTable2GUI::$limit_determined = false
protected

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

◆ $main_tpl

◆ $mi_sel_buttons

array ilTable2GUI::$mi_sel_buttons = []
protected

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

◆ $multi

array ilTable2GUI::$multi = []
protected

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

◆ $nav_determined

bool ilTable2GUI::$nav_determined = false
protected

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

◆ $nav_value

string ilTable2GUI::$nav_value = ''
protected

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

Referenced by resetOffset().

◆ $noentriestext

string ilTable2GUI::$noentriestext = ''
protected

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

Referenced by getNoEntriesText().

◆ $num_info

bool ilTable2GUI::$num_info = false
protected

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

Referenced by getEnableNumInfo().

◆ $open_form_tag

bool ilTable2GUI::$open_form_tag = true
protected

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

Referenced by getOpenFormTag().

◆ $optional_filters

array ilTable2GUI::$optional_filters = array()
protected

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

◆ $order_field

string ilTable2GUI::$order_field = ""
protected

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

Referenced by ilUserTableGUI\getItems().

◆ $parent_cmd

◆ $parent_obj

◆ $prevent_double_submission

bool ilTable2GUI::$prevent_double_submission = true
protected

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

◆ $print_mode

bool ilTable2GUI::$print_mode = false
protected

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

◆ $raw_post_data

array ilTable2GUI::$raw_post_data = null
protected

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

◆ $requested_nav_par

string ilTable2GUI::$requested_nav_par = ""
protected

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

◆ $requested_nav_par1

string ilTable2GUI::$requested_nav_par1 = ""
protected

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

◆ $requested_nav_par2

string ilTable2GUI::$requested_nav_par2 = ""
protected

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

◆ $reset_cmd

string ilTable2GUI::$reset_cmd = 'resetFilter'
protected

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

◆ $reset_cmd_txt

string ilTable2GUI::$reset_cmd_txt = ""
protected

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

◆ $restore_filter

bool ilTable2GUI::$restore_filter = false
protected

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

◆ $restore_filter_values

array ilTable2GUI::$restore_filter_values = []
protected

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

◆ $row_data

array ilTable2GUI::$row_data = []
protected

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

Referenced by ilUserRoleStartingPointTableGUI\fillRow().

◆ $row_selector_label

string ilTable2GUI::$row_selector_label = ""
protected

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

◆ $row_template

string ilTable2GUI::$row_template = ""
protected

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

◆ $row_template_dir

string ilTable2GUI::$row_template_dir = ""
protected

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

◆ $rows_selector_off

bool ilTable2GUI::$rows_selector_off = false
protected

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

◆ $sel_buttons

array ilTable2GUI::$sel_buttons = []
protected

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

◆ $select_all_on_top

bool ilTable2GUI::$select_all_on_top = false
protected

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

◆ $selectable_columns

array ilTable2GUI::$selectable_columns = array()
protected

◆ $selected_column

array ilTable2GUI::$selected_column = array()
protected

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

◆ $selected_columns

array ilTable2GUI::$selected_columns = []
protected

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

◆ $selected_filter

array ilTable2GUI::$selected_filter = []
protected

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

◆ $show_rows_selector

bool ilTable2GUI::$show_rows_selector = true
protected

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

◆ $sort_order

string ilTable2GUI::$sort_order = ""
protected

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

◆ $sortable_fields

array ilTable2GUI::$sortable_fields = array()
protected

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

◆ $table_request

ILIAS Table TableGUIRequest ilTable2GUI::$table_request = null
protected

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

◆ $top_anchor

string ilTable2GUI::$top_anchor = "il_table_top"
protected

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

Referenced by getTopAnchor().

◆ $top_commands

bool ilTable2GUI::$top_commands = true
protected

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

◆ $ui

◆ $unique_id

string ilTable2GUI::$unique_id = ""
private

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

Referenced by __construct().

◆ ACTION_ALL_LIMIT

const ilTable2GUI::ACTION_ALL_LIMIT = 1000

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

◆ EXPORT_CSV

const ilTable2GUI::EXPORT_CSV = 2

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

◆ EXPORT_EXCEL

const ilTable2GUI::EXPORT_EXCEL = 1

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

◆ FILTER_CHECKBOX

◆ FILTER_DATE

const ilTable2GUI::FILTER_DATE = 3

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

◆ FILTER_DATE_RANGE

◆ FILTER_DATETIME_RANGE

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