ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilTable2GUI Class Reference

Class ilTable2GUI. More...

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

Public Member Functions

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

Static Public Member Functions

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

Data Fields

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

Protected Member Functions

 prepareOutput ()
 Anything that must be done before HTML is generated.
 fillRow ($a_set)
 Standard Version of Fill Row.
 getFilterValue (ilFormPropertyGUI $a_item)
 Get current filter value.
 SetFilterValue (ilFormPropertyGUI $a_item, $a_value)
 Set current filter value.
 fillMetaExcel ($worksheet, &$a_row)
 Add meta information to excel export.
 fillHeaderExcel ($worksheet, &$a_row)
 Excel Version of Fill Header.
 fillRowExcel ($a_worksheet, &$a_row, $a_set)
 Excel Version of Fill Row.
 fillMetaCSV ($a_csv)
 Add meta information to csv export.
 fillHeaderCSV ($a_csv)
 CSV Version of Fill Header.
 fillRowCSV ($a_csv, $a_set)
 CSV Version of Fill Row.

Protected Attributes

 $close_command = ""
 $top_anchor = "il_table_top"
 $filters = array()
 $optional_filters = array()
 $filter_cmd = 'applyFilter'
 $reset_cmd = 'resetFilter'
 $filter_cols = 5
 $ext_sort = false
 $ext_seg = false
 $context = ""
 $mi_sel_buttons = null
 $disable_filter_hiding = false
 $selected_filter = false
 $top_commands = true
 $selectable_columns = array()
 $selected_column = array()
 $show_templates = false
 $show_rows_selector = true
 $nav_determined = false
 $limit_determined = false
 $filters_determined = false
 $columns_determined = false
 $open_form_tag = true
 $close_form_tag = true
 $export_formats
 $export_mode
 $print_mode
 $enable_command_for_all
 $restore_filter
 $restore_filter_values
 $sortable_fields = array()
 $prevent_double_submission = true
 $row_selector_label

Private Member Functions

 renderFilter ()
 Render Filter section.

Private Attributes

 $unique_id
 $headerHTML

Detailed Description

Class ilTable2GUI.

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

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

Constructor & Destructor Documentation

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

Constructor.

Reimplemented in ilSessionParticipantsTableGUI, ilWaitingListTableGUI, ilSubscriberTableGUI, ilCourseObjectiveMaterialAssignmentTableGUI, ilObjectCopySearchResultTableGUI, ilSCORM2004ExportTableGUI, ilSurveyExportTableGUI, ilSurveyMaintenanceTableGUI, ilSurveyQuestionPoolExportTableGUI, ilSurveyQuestionsTableGUI, ilSurveyResultsUserTableGUI, ilSurveyPhrasesTableGUI, ilCalendarAppointmentsTableGUI, ilSurveyResultsCumulatedTableGUI, ilSurveyMaterialsTableGUI, ilStyleColorTableGUI, ilStyleMediaQueryTableGUI, SurveyMaterialsSourceTableGUI, ilObjectRolePermissionTableGUI, ilWebResourceLinkTableGUI, ilMailSearchCoursesTableGUI, ilMailSearchCoursesMembersTableGUI, ilSCORMOfflineModeUsersTableGUI, ilBannedUsersTableGUI, ilFileVersionTableGUI, ilConsultationHoursTableGUI, ilTrMatrixTableGUI, ilTestExportTableGUI, ilQuestionPoolPrintViewTableGUI, ilConsultationHourBookingTableGUI, ilCopySelfAssQuestionTableGUI, ilCourseParticipantsGroupsTableGUI, ilHelpMappingTableGUI, ilAssessmentFolderLogAdministrationTableGUI, assFileUploadFileTableGUI, ilRbacLogTableGUI, ilConsultationHourGroupTableGUI, ilExAssignmentTeamLogTableGUI, ilLMQuestionListTableGUI, ilConditionHandlerTableGUI, ilBookingSchedulesTableGUI, ilHelpTooltipTableGUI, ilExportTableGUI, ilObjectTableGUI, ilRatingCategoryTableGUI, ilRepositoryObjectResultTableGUI, ilAssignmentsTableGUI, ilPortfolioTableGUI, ilSCORMTrackingItemPerUserTableGUI, ilSCORMTrackingItemsScoTableGUI, ilQuestionPoolExportTableGUI, ilPCIIMPopupTableGUI, ilImageMapTableGUI, ilUserForTagTableGUI, ilFeedbackConfirmationTable2GUI, ilTermListTableGUI, ilTermUsagesTableGUI, ilLMBlockedUsersTableGUI, ilLMGlossaryTableGUI, ilLMMenuItemsTableGUI, ilLMPagesTableGUI, ilUploadDirFilesTableGUI, ilSCORMTrackingItemsPerUserTableGUI, ilSurveySkillAssignmentTableGUI, ilSurveySkillTableGUI, ilWikiPageTemplatesTableGUI, ilSettingsTemplateTableGUI, ilPCIIMOverlaysTableGUI, ilLanguageExtTableGUI, ilLanguageTableGUI, ilMobSubtitleTableGUI, ilAdminSubItemsTableGUI, ilSearchResultTableGUI, ilSkillLevelProfileAssignmentTableGUI, ilSkillProfileLevelsTableGUI, ilSkillProfileUserTableGUI, ilStyleImageTableGUI, ilLPTableBaseGUI, ilScormSpecialPagesTableGUI, ilSCORMTrackingItemsPerScoTableGUI, ilSCORMTrackingUsersTableGUI, ilLDAPRoleMappingTableGUI, ilUserLPTableGUI, ilCourseGroupingTableGUI, and ilCourseStartObjectsTableGUI.

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

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

Referenced by ilFoundUsersTableGUI\ilFoundUsersTableGUI(), ilLinksTableGUI\ilLinksTableGUI(), ilMediaCastTableGUI\ilMediaCastTableGUI(), ilMilestoneResponsiblesTableGUI\ilMilestoneResponsiblesTableGUI(), ilNewsForContextTableGUI\ilNewsForContextTableGUI(), ilPCFileListTableGUI\ilPCFileListTableGUI(), ilPCTabsTableGUI\ilPCTabsTableGUI(), ilPDNewsTableGUI\ilPDNewsTableGUI(), ilSCORM2004TrackingTableGUI\ilSCORM2004TrackingTableGUI(), ilSpecialUsersTableGUI\ilSpecialUsersTableGUI(), ilSubItemSelectionTableGUI\ilSubItemSelectionTableGUI(), ilWikiContributorsTableGUI\ilWikiContributorsTableGUI(), ilWikiPagesTableGUI\ilWikiPagesTableGUI(), ilWikiRecentChangesTableGUI\ilWikiRecentChangesTableGUI(), and ilWikiSearchResultsTableGUI\ilWikiSearchResultsTableGUI().

{
global $lng;
$this->unique_id = md5(uniqid());
$this->parent_obj = $a_parent_obj;
$this->parent_cmd = $a_parent_cmd;
$this->buttons = array();
$this->header_commands = array();
$this->multi = array();
$this->hidden_inputs = array();
$this->formname = "table_" . $this->unique_id;
$this->tpl = new ilTemplate("tpl.table2.html", true, true, "Services/Table");
$lng->loadLanguageModule('tbl');
if(!$a_template_context)
{
$a_template_context = $this->getId();
}
$this->setContext($a_template_context);
// activate export mode
if(isset($_GET[$this->prefix."_xpt"]))
{
$this->export_mode = (int)$_GET[$this->prefix."_xpt"];
}
// template handling
if(isset($_GET[$this->prefix."_tpl"]))
{
$this->restoreTemplate($_GET[$this->prefix."_tpl"]);
}
$this->determineLimit();
$this->setIsDataTable(true);
$this->setEnableNumInfo(true);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Function Documentation

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

Add a column to the header.

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

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

Referenced by ilNotificationSettingsTable\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), iliLinkConfirmationTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), iliLinkMembersTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilTrashTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilModulesTableGUI\__construct(), ilStyleTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilForumStatisticsTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilOpenIdProviderTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilTrackedQuestionsTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilContributorTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilRendererTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilUserTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilShopPersonalSettingsTopicsTableGUI\__construct(), ilShopTopicsTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilObjBibliographicAdminTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyInvitedUsersTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyExportTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilAddressbookTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\addColumns(), ilExportTableGUI\addCustomColumn(), arIndexTableGUI\addMultipleSelectionColumn(), ilFoundUsersTableGUI\ilFoundUsersTableGUI(), ilLinksTableGUI\ilLinksTableGUI(), ilMediaCastTableGUI\ilMediaCastTableGUI(), ilMilestoneResponsiblesTableGUI\ilMilestoneResponsiblesTableGUI(), ilNewsForContextTableGUI\ilNewsForContextTableGUI(), ilPCFileListTableGUI\ilPCFileListTableGUI(), ilPCTabsTableGUI\ilPCTabsTableGUI(), ilPDNewsTableGUI\ilPDNewsTableGUI(), ilSCORM2004TrackingTableGUI\ilSCORM2004TrackingTableGUI(), ilSpecialUsersTableGUI\ilSpecialUsersTableGUI(), ilSubItemSelectionTableGUI\ilSubItemSelectionTableGUI(), ilWikiContributorsTableGUI\ilWikiContributorsTableGUI(), ilWikiPagesTableGUI\ilWikiPagesTableGUI(), ilWikiRecentChangesTableGUI\ilWikiRecentChangesTableGUI(), ilWikiSearchResultsTableGUI\ilWikiSearchResultsTableGUI(), ilDidacticTemplateSettingsTableGUI\init(), ilObjectTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilListOfQuestionsTableGUI\init(), ilRoleTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilTestPersonalDefaultSettingsTableGUI\initColumns(), ilTestPassManualScoringOverviewTableGUI\initColumns(), ilQuestionInternalLinkSelectionTableGUI\initColumns(), ilExportTableGUI\initColumns(), ilImageMapTableGUI\initColumns(), ilTestSkillLevelThresholdsTableGUI\initColumns(), ilQuestionUsagesTableGUI\initColumns(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initColumns(), ilQuestionCumulatedStatisticsTableGUI\initColumns(), ilTestSkillQuestionAssignmentsTableGUI\initColumns(), ilMailingListsTableGUI\initColumns(), ilMailingListsMembersTableGUI\initColumns(), ilTestManScoringParticipantsTableGUI\initColumns(), ilQuestionPoolPrintViewTableGUI\initColumns(), ilPCIIMTriggerTableGUI\initColumns(), ilOrgUnitTypeTableGUI\initColumns(), ilTestPassDetailsOverviewTableGUI\initColumns(), ilTestExportTableGUI\initColumns(), ilMarkSchemaTableGUI\initColumns(), ilTestDynamicQuestionSetStatisticTableGUI\initColumns(), ilTestPassOverviewTableGUI\initColumns(), ilObjectRolePermissionTableGUI\initColumns(), ilForumTopicTableGUI\initMergeThreadsTable(), ilECSServerTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputColumns(), ilMailFolderTableGUI\prepareHTML(), ilLinkCheckerTableGUI\prepareHTML(), ilExportTableGUI\prepareOutput(), ilTestToplistGUI\prepareTable(), ilOrgUnitOtherRolesTableGUI\setTableHeaders(), and ilOrgUnitStaffTableGUI\setTableHeaders().

{
$this->column[] = array(
"text" => $a_text,
"sort_field" => $a_sort_field,
"width" => $a_width,
"is_checkbox_action_column" => $a_is_checkbox_action_column,
"class" => $a_class,
"tooltip" => $a_tooltip
);
if ($a_sort_field != "")
{
$this->sortable_fields[] = $a_sort_field;
}
$this->column_count = count($this->column);
}

+ Here is the caller graph for this function:

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

Add Command button.

Parameters
stringCommand
stringText

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

Referenced by ilCourseGroupingAssignmentTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), iliLinkMembersTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilAccessKeyTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilModulesTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilStyleTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilOpenIdProviderTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilTestSkillQuestionAssignmentsTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilTrackedQuestionsTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyExportTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilAddressbookTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\addCommands(), ilPCFileListTableGUI\ilPCFileListTableGUI(), ilPCTabsTableGUI\ilPCTabsTableGUI(), ilSubItemSelectionTableGUI\ilSubItemSelectionTableGUI(), ilWikiContributorsTableGUI\ilWikiContributorsTableGUI(), ilListOfQuestionsTableGUI\init(), ilRoleTableGUI\init(), ilImageMapTableGUI\initActions(), ilPCIIMTriggerTableGUI\initActions(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), arDeleteGUI\initCommandButtons(), ilMailFolderTableGUI\initCommandButtons(), ilForumTopicTableGUI\initMergeThreadsTable(), ilConditionHandlerTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputCommands(), ilLPCollectionSettingsTableGUI\parse(), ilLinkCheckerTableGUI\prepareHTML(), ilObjectTranslationTableGUI\prepareOutput(), ilObjectTranslation2TableGUI\prepareOutput(), and ilMediaPoolTableGUI\prepareOutput().

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

+ Here is the caller graph for this function:

ilTable2GUI::addCommandButtonInstance ( ilButton  $a_button)

Add Command button instance.

Parameters
ilButton$a_button

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

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

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

+ Here is the caller graph for this function:

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

Add filter item.

Filter items are property form inputs that implement the ilTableFilterItem interface

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

References $restore_filter_values.

Referenced by addFilterItemByMetaType(), ilRoleAssignmentTableGUI\initFilter(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilPDNewsTableGUI\initFilter(), ilTestQuestionBrowserTableGUI\initFilter(), ilLPObjectStatisticsDailyTableGUI\initFilter(), ilTestManScoringParticipantsTableGUI\initFilter(), ilLPObjectStatisticsTableGUI\initFilter(), ilLPObjectStatisticsTypesTableGUI\initFilter(), ilLanguageExtTableGUI\initFilter(), ilTestDynamicQuestionSetStatisticTableGUI\initFilter(), ilTestPassDetailsOverviewTableGUI\initFilter(), ilSurveyQuestionblockbrowserTableGUI\initFilter(), ilPresentationListTableGUI\initFilter(), ilSurveyQuestionsTableGUI\initFilter(), ilSurveyQuestionbrowserTableGUI\initFilter(), ilAccountCodesTableGUI\initFilter(), ilTermListTableGUI\initFilter(), ilTestParticipantsTableGUI\initFilter(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilRoleTableGUI\initFilter(), ilMediaPoolTableGUI\initFilter(), ilQuestionBrowserTableGUI\initFilter(), ilRegistrationCodesTableGUI\initFilter(), ilEvaluationAllTableGUI\initFilter(), ilLPTableBaseGUI\initFilter(), ilAddressbookTableGUI\initFilter(), ilTrUserObjectsPropsTableGUI\initFilter(), ilUserTableGUI\initFilter(), and ilMailFolderTableGUI\initFilter().

{
$a_input_item->setParent($this);
if (!$a_optional)
{
$this->filters[] = $a_input_item;
}
else
{
$this->optional_filters[] = $a_input_item;
}
// restore filter values (from stored view)
if($this->restore_filter)
{
if(array_key_exists($a_input_item->getFieldId(), $this->restore_filter_values))
{
$this->setFilterValue($a_input_item, $this->restore_filter_values[$a_input_item->getFieldId()]);
}
else
{
$this->setFilterValue($a_input_item, null); // #14949
}
}
}

+ Here is the caller graph for this function:

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

Add filter by standard type.

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

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

References $lng, $options, addFilterItem(), ilCombinationInputGUI\COMPARISON_ASCENDING, and ilDateTimeInputGUI\MODE_INPUT.

Referenced by arIndexTableGUI\addFilterField(), ilDataCollectionDatatype\addFilterInputFieldToTable(), ilRbacLogTableGUI\initFilter(), ilSCORMTrackingUsersTableGUI\initFilter(), ilCourseParticipantsGroupsTableGUI\initFilter(), ilTrMatrixTableGUI\initFilter(), ilWorkspaceShareTableGUI\initFilter(), ilBookingReservationsTableGUI\initFilter(), ilObjectRolePermissionTableGUI\initFilter(), ilTrSummaryTableGUI\initFilter(), and ilTrObjectUsersPropsTableGUI\initFilter().

{
global $lng;
if(!$caption)
{
$caption = $lng->txt($id);
}
include_once("./Services/Form/classes/class.ilPropertyFormGUI.php");
switch($type)
{
case self::FILTER_SELECT:
include_once("./Services/Form/classes/class.ilSelectInputGUI.php");
$item = new ilSelectInputGUI($caption, $id);
break;
case self::FILTER_DATE:
include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
$item = new ilDateTimeInputGUI($caption, $id);
break;
case self::FILTER_TEXT:
include_once("./Services/Form/classes/class.ilTextInputGUI.php");
$item = new ilTextInputGUI($caption, $id);
$item->setMaxLength(64);
$item->setSize(20);
// $item->setSubmitFormOnEnter(true);
break;
case self::FILTER_LANGUAGE:
$lng->loadLanguageModule("meta");
include_once("./Services/Form/classes/class.ilSelectInputGUI.php");
$item = new ilSelectInputGUI($caption, $id);
$options = array("" => $lng->txt("trac_all"));
foreach ($lng->getInstalledLanguages() as $lang_key)
{
$options[$lang_key] = $lng->txt("meta_l_".$lang_key);
}
$item->setOptions($options);
break;
case self::FILTER_NUMBER_RANGE:
include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
include_once("./Services/Form/classes/class.ilNumberInputGUI.php");
$item = new ilCombinationInputGUI($caption, $id);
$combi_item = new ilNumberInputGUI("", $id."_from");
$item->addCombinationItem("from", $combi_item, $lng->txt("from"));
$combi_item = new ilNumberInputGUI("", $id."_to");
$item->addCombinationItem("to", $combi_item, $lng->txt("to"));
$item->setMaxLength(7);
$item->setSize(20);
break;
case self::FILTER_DATE_RANGE:
include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
$item = new ilCombinationInputGUI($caption, $id);
$combi_item = new ilDateTimeInputGUI("", $id."_from");
$item->addCombinationItem("from", $combi_item, $lng->txt("from"));
$combi_item = new ilDateTimeInputGUI("", $id."_to");
$item->addCombinationItem("to", $combi_item, $lng->txt("to"));
break;
case self::FILTER_DATETIME_RANGE:
include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
$item = new ilCombinationInputGUI($caption, $id);
$combi_item = new ilDateTimeInputGUI("", $id."_from");
$combi_item->setShowTime(true);
$item->addCombinationItem("from", $combi_item, $lng->txt("from"));
$combi_item = new ilDateTimeInputGUI("", $id."_to");
$combi_item->setShowTime(true);
$item->addCombinationItem("to", $combi_item, $lng->txt("to"));
break;
case self::FILTER_DURATION_RANGE:
$lng->loadLanguageModule("form");
include_once("./Services/Form/classes/class.ilCombinationInputGUI.php");
include_once("./Services/Form/classes/class.ilDurationInputGUI.php");
$item = new ilCombinationInputGUI($caption, $id);
$combi_item = new ilDurationInputGUI("", $id."_from");
$combi_item->setShowMonths(false);
$combi_item->setShowDays(true);
$combi_item->setShowSeconds(true);
$item->addCombinationItem("from", $combi_item, $lng->txt("from"));
$combi_item = new ilDurationInputGUI("", $id."_to");
$combi_item->setShowMonths(false);
$combi_item->setShowDays(true);
$combi_item->setShowSeconds(true);
$item->addCombinationItem("to", $combi_item, $lng->txt("to"));
break;
default:
return false;
}
$this->addFilterItem($item, $a_optional);
$item->readFromSession();
return $item;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

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

Parameters
stringhref
stringtext

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

Referenced by ilObjGroupGUI\membersObject(), and ilObjCourseGUI\membersObject().

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

+ Here is the caller graph for this function:

ilTable2GUI::addHiddenInput (   $a_name,
  $a_value 
)

Add Hidden Input field.

Parameters
stringName
stringValue

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

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

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

+ Here is the caller graph for this function:

ilTable2GUI::addMultiCommand (   $a_cmd,
  $a_text 
)

Add Command button.

Parameters
stringCommand
stringText

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

Referenced by ilCourseGroupingAssignmentTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), iliLinkMembersTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilClientListTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilTrashTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilStyleTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilOpenIdProviderTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilContributorTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilUserTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyInvitedUsersTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilSurveyExportTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilAddressbookTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\addCommands(), ilExportTableGUI\addCustomMultiCommand(), ilMilestoneResponsiblesTableGUI\ilMilestoneResponsiblesTableGUI(), ilPCFileListTableGUI\ilPCFileListTableGUI(), ilPCTabsTableGUI\ilPCTabsTableGUI(), ilSCORM2004TrackingTableGUI\ilSCORM2004TrackingTableGUI(), ilDidacticTemplateSettingsTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilImageMapTableGUI\initActions(), ilPCIIMTriggerTableGUI\initActions(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), ilQuestionPoolExportTableGUI\initMultiCommands(), ilTestExportTableGUI\initMultiCommands(), ilExportTableGUI\initMultiCommands(), ilRepositoryUserResultTableGUI\initMultiCommands(), ilMailFolderTableGUI\initMultiCommands(), ilConsultationHourBookingTableGUI\initTable(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilLPCollectionSettingsTableGUI\parse(), ilShopTopicsTableGUI\parseRecords(), ilObjectTranslationTableGUI\prepareOutput(), ilObjectTranslation2TableGUI\prepareOutput(), ilMediaPoolTableGUI\prepareOutput(), and ilMailingListsGUI\showMembersList().

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

+ Here is the caller graph for this function:

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

Add Selection List + Command button for selected items.

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

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

References addHiddenInput().

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

{
$this->mi_sel_buttons[] = array("sel_var" => $a_sel_var, "options" => $a_options, "selected" => $a_default_selection, "cmd" => $a_cmd, "text" => $a_text);
$this->addHiddenInput("cmd_sv[".$a_cmd."]", $a_sel_var);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Add Selection List + Command button.

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

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

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

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

Referenced by ilObjectCustomUserFieldsTableGUI\parse().

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

+ Here is the caller graph for this function:

ilTable2GUI::dataExists ( )
final

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

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

{
if (is_array($this->row_data))
{
if (count($this->row_data) > 0)
{
return true;
}
}
return false;
}

+ Here is the caller graph for this function:

ilTable2GUI::deleteTemplate (   $a_name)

Delete template.

Parameters
string$a_name
Returns
bool

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

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

Referenced by fillFooter().

{
global $ilUser;
$a_name = ilUtil::prepareFormOutput($a_name, true);
if(trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID)
{
include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
$storage = new ilTableTemplatesStorage();
$storage->delete($this->getContext(), $ilUser->getId(), $a_name);
return true;
}
return false;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::determineLimit ( )

Determine the limit.

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

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

Referenced by __construct(), getCurrentState(), and arIndexTableGUI\setOrderAndSegmentation().

{
global $ilUser;
if ($this->limit_determined)
{
return;
}
$limit = 0;
if (isset($_GET[$this->prefix."_trows"]))
{
$this->storeProperty("rows", $_GET[$this->prefix."_trows"]);
$limit = $_GET[$this->prefix."_trows"];
$this->resetOffset();
}
if ($limit == 0)
{
$rows = $this->loadProperty("rows");
if ($rows > 0)
{
$limit = $rows;
}
else
{
if (is_object($ilUser))
{
$limit = $ilUser->getPref("hits_per_page");
}
else
{
$limit = 40;
}
}
}
$this->setLimit($limit);
$this->limit_determined = true;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::determineOffsetAndOrder (   $a_omit_offset = false)

Determine offset and order.

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

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

Referenced by ilLPTableBaseGUI\executeCommand(), exportData(), ilShoppingCartTableGUI\getCartHTML(), getCurrentState(), getHTML(), ilTestManScoringParticipantsTableGUI\getInternalyOrderedDataValues(), ilUserLPTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), ilCourseParticipantsTableGUI\parse(), ilTermsOfServiceTableGUI\populate(), ilFileSystemTableGUI\prepareOutput(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), resetOffset(), and arIndexTableGUI\setOrderAndSegmentation().

{
global $ilUser;
if ($this->nav_determined)
{
return true;
}
if ($_POST[$this->getNavParameter()."1"] != "")
{
if ($_POST[$this->getNavParameter()."1"] != $_POST[$this->getNavParameter()])
{
$this->nav_value = $_POST[$this->getNavParameter()."1"];
}
else if ($_POST[$this->getNavParameter()."2"] != $_POST[$this->getNavParameter()])
{
$this->nav_value = $_POST[$this->getNavParameter()."2"];
}
}
elseif($_GET[$this->getNavParameter()])
{
$this->nav_value = $_GET[$this->getNavParameter()];
}
elseif($_SESSION[$this->getNavParameter()] != "")
{
$this->nav_value = $_SESSION[$this->getNavParameter()];
}
if ($this->nav_value == "" && $this->getId() != "" && $ilUser->getId() != ANONYMOUS_USER_ID)
{
$order = $this->loadProperty("order");
if (in_array($order, $this->sortable_fields))
{
$direction = $this->loadProperty("direction");
}
else
{
$direction = $this->getDefaultOrderDirection();
}
// get order and direction from db
$this->nav_value =
$order.":".
$direction.":".
$this->loadProperty("offset");
}
$nav = explode(":", $this->nav_value);
// $nav[0] is order by
$this->setOrderField(($nav[0] != "") ? $nav[0] : $this->getDefaultOrderField());
$this->setOrderDirection(($nav[1] != "") ? $nav[1] : $this->getDefaultOrderDirection());
if (!$a_omit_offset)
{
// #8904: offset must be discarded when no limit is given
if(!$this->getExternalSegmentation() && $this->limit_determined && $this->limit == 9999)
{
$this->resetOffset(true);
}
else if (!$this->getExternalSegmentation() && $nav[2] >= $this->max_count)
{
$this->resetOffset(true);
}
else
{
$this->setOffset($nav[2]);
}
}
if (!$a_omit_offset)
{
$this->nav_determined = true;
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::determineSelectedColumns ( )

Determine selected columns.

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

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

Referenced by __construct(), and getCurrentState().

{
if ($this->columns_determined)
{
return;
}
$old_sel = $this->loadProperty("selfields");
$stored = false;
if ($old_sel != "")
{
$sel_fields =
@unserialize($old_sel);
$stored = true;
}
if(!is_array($sel_fields))
{
$stored = false;
$sel_fields = array();
}
$this->selected_columns = array();
$set = false;
foreach ($this->getSelectableColumns() as $k => $c)
{
$this->selected_column[$k] = false;
$new_column = ($sel_fields[$k] === NULL);
if ($_POST["tblfsh".$this->getId()])
{
$set = true;
if (is_array($_POST["tblfs".$this->getId()]) && in_array($k, $_POST["tblfs".$this->getId()]))
{
$this->selected_column[$k] = true;
}
}
else if ($stored && !$new_column) // take stored values
{
$this->selected_column[$k] = $sel_fields[$k];
}
else // take default values
{
if ($new_column)
{
$set = true;
}
if ($c["default"])
{
$this->selected_column[$k] = true;
}
}
}
if ($old_sel != serialize($this->selected_column) && $set)
{
$this->storeProperty("selfields", serialize($this->selected_column));
}
$this->columns_determined = true;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::determineSelectedFilters ( )

Determine selected filters.

Parameters
@return

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

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

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

{
if ($this->filters_determined)
{
return;
}
$old_sel = $this->loadProperty("selfilters");
$stored = false;
if ($old_sel != "")
{
$sel_filters =
@unserialize($old_sel);
$stored = true;
}
if(!is_array($sel_filters))
{
$stored = false;
$sel_filters = array();
}
$this->selected_filter = array();
$set = false;
foreach ($this->getFilterItems(true) as $item)
{
$k = $item->getPostVar();
$this->selected_filter[$k] = false;
if ($_POST["tblfsf".$this->getId()])
{
$set = true;
if (is_array($_POST["tblff".$this->getId()]) && in_array($k, $_POST["tblff".$this->getId()]))
{
$this->selected_filter[$k] = true;
}
else
{
$item->setValue(NULL);
$item->writeToSession();
}
}
else if ($stored) // take stored values
{
$this->selected_filter[$k] = $sel_filters[$k];
}
}
if ($old_sel != serialize($this->selected_filter) && $set)
{
$this->storeProperty("selfilters", serialize($this->selected_filter));
}
$this->filters_determined = true;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

& ilTable2GUI::executeCommand ( )

Execute command.

Reimplemented in ilLPTableBaseGUI.

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

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

{
global $ilCtrl;
$next_class = $ilCtrl->getNextClass($this);
$cmd = $ilCtrl->getCmd();
switch($next_class)
{
case 'ilformpropertydispatchgui':
include_once './Services/Form/classes/class.ilFormPropertyDispatchGUI.php';
$form_prop_dispatch = new ilFormPropertyDispatchGUI();
$this->initFilter();
$item = $this->getFilterItemByPostVar($_GET["postvar"]);
$form_prop_dispatch->setItem($item);
return $ilCtrl->forwardCommand($form_prop_dispatch);
break;
}
return false;
}

+ Here is the call graph for this function:

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

Export and optionally send current table data.

Parameters
int$format

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

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

Referenced by getHTML().

{
if($this->dataExists())
{
// #9640: sort
if (!$this->getExternalSorting() && $this->enabled["sort"])
{
$this->row_data = ilUtil::sortArray($this->row_data, $this->getOrderField(),
$this->getOrderDirection(), $this->numericOrdering($this->getOrderField()));
}
$filename = "export";
switch($format)
{
case self::EXPORT_EXCEL:
include_once "./Services/Excel/classes/class.ilExcelUtils.php";
include_once "./Services/Excel/classes/class.ilExcelWriterAdapter.php";
$adapter = new ilExcelWriterAdapter($filename.".xls", $send);
$workbook = $adapter->getWorkbook();
$worksheet = $workbook->addWorksheet();
$row = 0;
ob_start();
$this->fillMetaExcel($worksheet, $row); // row must be increment in fillMetaExcel()! (optional method)
// #14813
$pre = $row;
$this->fillHeaderExcel($worksheet, $row); // row should NOT be incremented in fillHeaderExcel()! (required method)
if($pre == $row)
{
$row++;
}
foreach($this->row_data as $set)
{
$this->fillRowExcel($worksheet, $row, $set);
$row++; // #14760
}
ob_end_clean();
$workbook->close();
break;
case self::EXPORT_CSV:
include_once "./Services/Utilities/classes/class.ilCSVWriter.php";
$csv = new ilCSVWriter();
$csv->setSeparator(";");
ob_start();
$this->fillMetaCSV($csv);
$this->fillHeaderCSV($csv);
foreach($this->row_data as $set)
{
$this->fillRowCSV($csv, $set);
}
ob_end_clean();
if($send)
{
$filename .= ".csv";
header("Content-type: text/comma-separated-values");
header("Content-Disposition: attachment; filename=\"".$filename."\"");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
header("Pragma: public");
echo $csv->getCSVString();
}
else
{
file_put_contents($filename, $csv->getCSVString());
}
break;
}
if($send)
{
exit();
}
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::fillActionRow ( )

Fill Action Row.

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

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

Referenced by ilShoppingCartTableGUI\getCartHTML(), and getHTML().

{
global $lng;
// action row
$action_row = false;
$arrow = false;
// add selection buttons
if (count($this->sel_buttons) > 0)
{
foreach ($this->sel_buttons as $button)
{
$this->tpl->setCurrentBlock("sel_button");
$this->tpl->setVariable("SBUTTON_SELECT",
ilUtil::formSelect($button["selected"], $button["sel_var"],
$button["options"], false, true));
$this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
$this->tpl->setVariable("SBTN_VALUE", $button["text"]);
$this->tpl->parseCurrentBlock();
if ($this->getTopCommands())
{
$this->tpl->setCurrentBlock("sel_top_button");
$this->tpl->setVariable("SBUTTON_SELECT",
ilUtil::formSelect($button["selected"], $button["sel_var"],
$button["options"], false, true));
$this->tpl->setVariable("SBTN_NAME", $button["cmd"]);
$this->tpl->setVariable("SBTN_VALUE", $button["text"]);
$this->tpl->parseCurrentBlock();
}
}
$buttons = true;
$action_row = true;
}
$this->sel_buttons[] = array("options" => $a_options, "cmd" => $a_cmd, "text" => $a_text);
// add buttons
if (count($this->buttons) > 0)
{
foreach ($this->buttons as $button)
{
if(!is_array($button))
{
if($button instanceof ilButton)
{
$this->tpl->setVariable('BUTTON_OBJ', $button->render());
// this will remove id - should be unique
$button = clone $button;
$this->tpl->setVariable('BUTTON_TOP_OBJ', $button->render());
}
continue;
}
if (strlen($button['onclick']))
{
$this->tpl->setCurrentBlock('cmdonclick');
$this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
$this->tpl->parseCurrentBlock();
}
$this->tpl->setCurrentBlock("plain_button");
if ($button["id"] != "")
{
$this->tpl->setVariable("PBID", ' id="'.$button["id"].'" ');
}
if ($button["class"] != "")
{
$this->tpl->setVariable("PBBT_CLASS", ' '.$button["class"]);
}
$this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
$this->tpl->setVariable("PBTN_VALUE", $button["text"]);
$this->tpl->parseCurrentBlock();
if ($this->getTopCommands())
{
if (strlen($button['onclick']))
{
$this->tpl->setCurrentBlock('top_cmdonclick');
$this->tpl->setVariable('CMD_ONCLICK', $button['onclick']);
$this->tpl->parseCurrentBlock();
}
$this->tpl->setCurrentBlock("plain_top_button");
$this->tpl->setVariable("PBTN_NAME", $button["cmd"]);
$this->tpl->setVariable("PBTN_VALUE", $button["text"]);
if ($button["class"] != "")
{
$this->tpl->setVariable("PBBT_CLASS", ' '.$button["class"]);
}
$this->tpl->parseCurrentBlock();
}
}
$buttons = true;
$action_row = true;
}
// multi selection
if(count($this->mi_sel_buttons))
{
foreach ($this->mi_sel_buttons as $button)
{
$this->tpl->setCurrentBlock("mi_sel_button");
$this->tpl->setVariable("MI_BUTTON_SELECT",
ilUtil::formSelect($button["selected"], $button["sel_var"],
$button["options"], false, true));
$this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
$this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
$this->tpl->parseCurrentBlock();
if ($this->getTopCommands())
{
$this->tpl->setCurrentBlock("mi_top_sel_button");
$this->tpl->setVariable("MI_BUTTON_SELECT",
ilUtil::formSelect($button["selected"], $button["sel_var"]."_2",
$button["options"], false, true));
$this->tpl->setVariable("MI_BTN_NAME", $button["cmd"]);
$this->tpl->setVariable("MI_BTN_VALUE", $button["text"]);
$this->tpl->parseCurrentBlock();
}
}
$arrow = true;
$action_row = true;
}
if (count($this->multi) > 1 && $this->dataExists())
{
if($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit())
{
$this->tpl->setCurrentBlock("tbl_cmd_select_all");
$this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
$this->tpl->parseCurrentBlock();
}
$this->tpl->setCurrentBlock("tbl_cmd_select");
$sel = array();
foreach ($this->multi as $mc)
{
$sel[$mc["cmd"]] = $mc["text"];
}
$this->tpl->setVariable("SELECT_CMDS",
ilUtil::formSelect("", "selected_cmd", $sel, false, true));
$this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
$this->tpl->parseCurrentBlock();
$arrow = true;
$action_row = true;
if ($this->getTopCommands())
{
if($this->enable_command_for_all && $this->max_count <= self::getAllCommandLimit())
{
$this->tpl->setCurrentBlock("tbl_top_cmd_select_all");
$this->tpl->setVariable("TXT_SELECT_CMD_ALL", $lng->txt("all_objects"));
$this->tpl->parseCurrentBlock();
}
$this->tpl->setCurrentBlock("tbl_top_cmd_select");
$sel = array();
foreach ($this->multi as $mc)
{
$sel[$mc["cmd"]] = $mc["text"];
}
$this->tpl->setVariable("SELECT_CMDS",
ilUtil::formSelect("", "selected_cmd2", $sel, false, true));
$this->tpl->setVariable("TXT_EXECUTE", $lng->txt("execute"));
$this->tpl->parseCurrentBlock();
}
}
elseif(count($this->multi) == 1 && $this->dataExists())
{
$this->tpl->setCurrentBlock("tbl_single_cmd");
$sel = array();
foreach ($this->multi as $mc)
{
$cmd = $mc['cmd'];
$txt = $mc['text'];
}
$this->tpl->setVariable("TXT_SINGLE_CMD",$txt);
$this->tpl->setVariable("SINGLE_CMD",$cmd);
$this->tpl->parseCurrentBlock();
$arrow = true;
$action_row = true;
if ($this->getTopCommands())
{
$this->tpl->setCurrentBlock("tbl_top_single_cmd");
$sel = array();
foreach ($this->multi as $mc)
{
$cmd = $mc['cmd'];
$txt = $mc['text'];
}
$this->tpl->setVariable("TXT_SINGLE_CMD",$txt);
$this->tpl->setVariable("SINGLE_CMD",$cmd);
$this->tpl->parseCurrentBlock();
}
}
if ($arrow)
{
$this->tpl->setCurrentBlock("tbl_action_img_arrow");
$this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_downright.svg"));
$this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
$this->tpl->parseCurrentBlock();
if ($this->getTopCommands())
{
$this->tpl->setCurrentBlock("tbl_top_action_img_arrow");
$this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_upright.svg"));
$this->tpl->setVariable("ALT_ARROW", $lng->txt("action"));
$this->tpl->parseCurrentBlock();
}
}
if ($action_row)
{
$this->tpl->setCurrentBlock("tbl_action_row");
$this->tpl->parseCurrentBlock();
if ($this->getTopCommands())
{
$this->tpl->setCurrentBlock("tbl_top_action_row");
$this->tpl->parseCurrentBlock();
}
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::fillFooter ( )

Fill footer row.

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

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

Referenced by ilShoppingCartTableGUI\getCartHTML(), and getHTML().

{
global $lng, $ilCtrl, $ilUser;
$footer = false;
// select all checkbox
if ((strlen($this->getFormName())) && (strlen($this->getSelectAllCheckbox())) && $this->dataExists())
{
$this->tpl->setCurrentBlock("select_all_checkbox");
$this->tpl->setVariable("SELECT_ALL_TXT_SELECT_ALL", $lng->txt("select_all"));
$this->tpl->setVariable("SELECT_ALL_CHECKBOX_NAME", $this->getSelectAllCheckbox());
$this->tpl->setVariable("SELECT_ALL_FORM_NAME", $this->getFormName());
$this->tpl->setVariable("CHECKBOXNAME", "chb_select_all_" . $this->unique_id);
$this->tpl->parseCurrentBlock();
}
// table footer numinfo
if ($this->enabled["numinfo"] && $this->enabled["footer"])
{
$start = $this->offset + 1; // compute num info
if (!$this->dataExists())
{
$start = 0;
}
$end = $this->offset + $this->limit;
if ($end > $this->max_count or $this->limit == 0)
{
}
if ($this->max_count > 0)
{
if ($this->lang_support)
{
$numinfo = "(".$start." - ".$end." ".strtolower($this->lng->txt("of"))." ".$this->max_count.")";
}
else
{
$numinfo = "(".$start." - ".$end." of ".$this->max_count.")";
}
}
if ($this->max_count > 0)
{
if ($this->getEnableNumInfo())
{
$this->tpl->setCurrentBlock("tbl_footer_numinfo");
$this->tpl->setVariable("NUMINFO", $numinfo);
$this->tpl->parseCurrentBlock();
}
}
$footer = true;
}
// table footer linkbar
if ($this->enabled["linkbar"] && $this->enabled["footer"] && $this->limit != 0
&& $this->max_count > 0)
{
$layout = array(
"link" => $this->footer_style,
"prev" => $this->footer_previous,
"next" => $this->footer_next,
);
//if (!$this->getDisplayAsBlock())
//{
$linkbar = $this->getLinkbar("1");
$this->tpl->setCurrentBlock("tbl_footer_linkbar");
$this->tpl->setVariable("LINKBAR", $linkbar);
$this->tpl->parseCurrentBlock();
$linkbar = true;
//}
$footer = true;
}
// column selector
if (count($this->getSelectableColumns()) > 0)
{
$items = array();
foreach ($this->getSelectableColumns() as $k => $c)
{
$items[$k] = array("txt" => $c["txt"],
"selected" => $this->isColumnSelected($k));
}
include_once("./Services/UIComponent/CheckboxListOverlay/classes/class.ilCheckboxListOverlayGUI.php");
$cb_over = new ilCheckboxListOverlayGUI("tbl_".$this->getId());
$cb_over->setLinkTitle($lng->txt("columns"));
$cb_over->setItems($items);
//$cb_over->setUrl("./ilias.php?baseClass=ilTablePropertiesStorage&table_id=".
// $this->getId()."&cmd=saveSelectedFields&user_id=".$ilUser->getId());
$cb_over->setFormCmd($this->getParentCmd());
$cb_over->setFieldVar("tblfs".$this->getId());
$cb_over->setHiddenVar("tblfsh".$this->getId());
$cb_over->setSelectionHeaderClass("ilTableMenuItem");
$column_selector = $cb_over->getHTML();
$footer = true;
}
if($this->getShowTemplates() && is_object($ilUser))
{
// template handling
if(isset($_REQUEST["tbltplcrt"]) && $_REQUEST["tbltplcrt"])
{
if($this->saveTemplate($_REQUEST["tbltplcrt"]))
{
ilUtil::sendSuccess($lng->txt("tbl_template_created"));
}
}
else if(isset($_REQUEST["tbltpldel"]) && $_REQUEST["tbltpldel"])
{
if($this->deleteTemplate($_REQUEST["tbltpldel"]))
{
ilUtil::sendSuccess($lng->txt("tbl_template_deleted"));
}
}
$create_id = "template_create_overlay_".$this->getId();
$delete_id = "template_delete_overlay_".$this->getId();
$list_id = "template_stg_".$this->getId();
include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
$storage = new ilTableTemplatesStorage();
$templates = $storage->getNames($this->getContext(), $ilUser->getId());
include_once("./Services/UIComponent/Overlay/classes/class.ilOverlayGUI.php");
// form to delete template
if(sizeof($templates))
{
$overlay = new ilOverlayGUI($delete_id);
$overlay->setTrigger($list_id."_delete");
$overlay->setAnchor("ilAdvSelListAnchorElement_".$list_id);
$overlay->setAutoHide(false);
$overlay->add();
$lng->loadLanguageModule("form");
$this->tpl->setCurrentBlock("template_editor_delete_item");
$this->tpl->setVariable("TEMPLATE_DELETE_OPTION_VALUE", "");
$this->tpl->setVariable("TEMPLATE_DELETE_OPTION", "- ".$lng->txt("form_please_select")." -");
$this->tpl->parseCurrentBlock();
foreach($templates as $name)
{
$this->tpl->setVariable("TEMPLATE_DELETE_OPTION_VALUE", $name);
$this->tpl->setVariable("TEMPLATE_DELETE_OPTION", $name);
$this->tpl->parseCurrentBlock();
}
$this->tpl->setCurrentBlock("template_editor_delete");
$this->tpl->setVariable("TEMPLATE_DELETE_ID", $delete_id);
$this->tpl->setVariable("TXT_TEMPLATE_DELETE", $lng->txt("tbl_template_delete"));
$this->tpl->setVariable("TXT_TEMPLATE_DELETE_SUBMIT", $lng->txt("delete"));
$this->tpl->setVariable("TEMPLATE_DELETE_CMD", $this->parent_cmd);
$this->tpl->parseCurrentBlock();
}
// form to save new template
$overlay = new ilOverlayGUI($create_id);
$overlay->setTrigger($list_id."_create");
$overlay->setAnchor("ilAdvSelListAnchorElement_".$list_id);
$overlay->setAutoHide(false);
$overlay->add();
$this->tpl->setCurrentBlock("template_editor");
$this->tpl->setVariable("TEMPLATE_CREATE_ID", $create_id);
$this->tpl->setVariable("TXT_TEMPLATE_CREATE", $lng->txt("tbl_template_create"));
$this->tpl->setVariable("TXT_TEMPLATE_CREATE_SUBMIT", $lng->txt("save"));
$this->tpl->setVariable("TEMPLATE_CREATE_CMD", $this->parent_cmd);
$this->tpl->parseCurrentBlock();
// load saved template
include_once("./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
$alist->setId($list_id);
$alist->addItem($lng->txt("tbl_template_create"), "create", "#");
if(sizeof($templates))
{
$alist->addItem($lng->txt("tbl_template_delete"), "delete", "#");
foreach($templates as $name)
{
$ilCtrl->setParameter($this->parent_obj, $this->prefix."_tpl", urlencode($name));
$alist->addItem($name, $name, $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd));
$ilCtrl->setParameter($this->parent_obj, $this->prefix."_tpl", "");
}
}
$alist->setListTitle($lng->txt("tbl_templates"));
$this->tpl->setVariable("TEMPLATE_SELECTOR", "&nbsp;".$alist->getHTML());
}
if ($footer)
{
$this->tpl->setCurrentBlock("tbl_footer");
$this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
if ($this->getDisplayAsBlock())
{
$this->tpl->setVariable("BLK_CLASS", "Block");
}
$this->tpl->parseCurrentBlock();
// top navigation, if number info or linkbar given
if ($numinfo != "" || $linkbar != "" || $column_selector != "" ||
count($this->filters) > 0 || count($this->optional_filters) > 0)
{
if (is_object($ilUser) && (count($this->filters) || count($this->optional_filters)))
{
$this->tpl->setCurrentBlock("filter_activation");
$this->tpl->setVariable("TXT_ACTIVATE_FILTER", $lng->txt("show_filter"));
$this->tpl->setVariable("FILA_ID", $this->getId());
if ($this->getId() != "")
{
$this->tpl->setVariable("SAVE_URLA", "./ilias.php?baseClass=ilTablePropertiesStorage&table_id=".
$this->getId()."&cmd=showFilter&user_id=".$ilUser->getId());
}
$this->tpl->parseCurrentBlock();
if (!$this->getDisableFilterHiding())
{
$this->tpl->setCurrentBlock("filter_deactivation");
$this->tpl->setVariable("TXT_HIDE", $lng->txt("hide_filter"));
if ($this->getId() != "")
{
$this->tpl->setVariable("SAVE_URL", "./ilias.php?baseClass=ilTablePropertiesStorage&table_id=".
$this->getId()."&cmd=hideFilter&user_id=".$ilUser->getId());
$this->tpl->setVariable("FILD_ID", $this->getId());
}
$this->tpl->parseCurrentBlock();
}
}
if ($numinfo != "" && $this->getEnableNumInfo())
{
$this->tpl->setCurrentBlock("top_numinfo");
$this->tpl->setVariable("NUMINFO", $numinfo);
$this->tpl->parseCurrentBlock();
}
if ($linkbar != "" && !$this->getDisplayAsBlock())
{
$linkbar = $this->getLinkbar("2");
$this->tpl->setCurrentBlock("top_linkbar");
$this->tpl->setVariable("LINKBAR", $linkbar);
$this->tpl->parseCurrentBlock();
}
// column selector
$this->tpl->setVariable("COLUMN_SELECTOR", $column_selector);
// row selector
if ($this->getShowRowsSelector() &&
is_object($ilUser) &&
$this->getId() &&
$this->getLimit() < 9999) // JF, 2014-10-27
{
include_once("./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
$alist->setId("sellst_rows_".$this->getId());
$hpp = ($ilUser->getPref("hits_per_page") != 9999)
? $ilUser->getPref("hits_per_page")
: $lng->txt("unlimited");
$options = array(0 => $lng->txt("default")." (".$hpp.")",5 => 5, 10 => 10, 15 => 15, 20 => 20,
30 => 30, 40 => 40, 50 => 50,
100 => 100, 200 => 200, 400 => 400, 800 => 800);
foreach ($options as $k => $v)
{
$ilCtrl->setParameter($this->parent_obj, $this->prefix."_trows", $k);
$alist->addItem($v, $k, $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd));
$ilCtrl->setParameter($this->parent_obj, $this->prefix."_trows", "");
}
$alist->setListTitle($this->getRowSelectorLabel() ? $this->getRowSelectorLabel() : $lng->txt("rows"));
$this->tpl->setVariable("ROW_SELECTOR", $alist->getHTML());
}
// export
if(sizeof($this->export_formats) && $this->dataExists())
{
include_once("./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
$alist->setId("sellst_xpt");
foreach($this->export_formats as $format => $caption_lng_id)
{
$ilCtrl->setParameter($this->parent_obj, $this->prefix."_xpt", $format);
$url = $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd);
$ilCtrl->setParameter($this->parent_obj, $this->prefix."_xpt", "");
$alist->addItem($lng->txt($caption_lng_id), $format, $url);
}
$alist->setListTitle($lng->txt("export"));
$this->tpl->setVariable("EXPORT_SELECTOR", "&nbsp;".$alist->getHTML());
}
$this->tpl->setCurrentBlock("top_navigation");
$this->tpl->setVariable("COLUMN_COUNT", $this->getColumnCount());
if ($this->getDisplayAsBlock())
{
$this->tpl->setVariable("BLK_CLASS", "Block");
}
$this->tpl->parseCurrentBlock();
}
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::fillHeader ( )

Reimplemented in ilQuestionBrowserTableGUI, and ilTestQuestionsTableGUI.

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

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

Referenced by render().

{
global $lng;
$allcolumnswithwidth = true;
foreach ((array) $this->column as $idx => $column)
{
if (!strlen($column["width"]))
{
$allcolumnswithwidth = false;
}
else if($column["width"] == "1")
{
// IE does not like 1 but seems to work with 1%
$this->column[$idx]["width"] = "1%";
}
}
if ($allcolumnswithwidth)
{
foreach ((array) $this->column as $column)
{
$this->tpl->setCurrentBlock("tbl_colgroup_column");
$this->tpl->setVariable("COLGROUP_COLUMN_WIDTH", $column["width"]);
$this->tpl->parseCurrentBlock();
}
}
$ccnt = 0;
foreach ((array) $this->column as $column)
{
$ccnt++;
//tooltip
if ($column["tooltip"] != "")
{
include_once("./Services/UIComponent/Tooltip/classes/class.ilTooltipGUI.php");
ilTooltipGUI::addTooltip("thc_".$this->getId()."_".$ccnt, $column["tooltip"]);
}
if (!$this->enabled["sort"] || $column["sort_field"] == "" || $column["is_checkbox_action_column"])
{
$this->tpl->setCurrentBlock("tbl_header_no_link");
if ($column["width"] != "")
{
$this->tpl->setVariable("TBL_COLUMN_WIDTH_NO_LINK"," width=\"".$column["width"]."\"");
}
if (!$column["is_checkbox_action_column"])
{
$this->tpl->setVariable("TBL_HEADER_CELL_NO_LINK",
$column["text"]);
}
else
{
$this->tpl->setVariable("TBL_HEADER_CELL_NO_LINK",
ilUtil::img(ilUtil::getImagePath("spacer.png"), $lng->txt("action")));
}
$this->tpl->setVariable("HEAD_CELL_NL_ID", "thc_".$this->getId()."_".$ccnt);
if ($column["class"] != "")
{
$this->tpl->setVariable("TBL_HEADER_CLASS"," " . $column["class"]);
}
$this->tpl->parseCurrentBlock();
$this->tpl->touchBlock("tbl_header_th");
continue;
}
if (($column["sort_field"] == $this->order_field) && ($this->order_direction != ""))
{
$this->tpl->setCurrentBlock("tbl_order_image");
if ($this->order_direction == "asc")
{
$this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-up");
}
else
{
$this->tpl->setVariable("ORDER_CLASS", "glyphicon glyphicon-arrow-down");
}
$this->tpl->setVariable("IMG_ORDER_ALT", $this->lng->txt("change_sort_direction"));
$this->tpl->parseCurrentBlock();
}
$this->tpl->setCurrentBlock("tbl_header_cell");
$this->tpl->setVariable("TBL_HEADER_CELL", $column["text"]);
$this->tpl->setVariable("HEAD_CELL_ID", "thc_".$this->getId()."_".$ccnt);
// only set width if a value is given for that column
if ($column["width"] != "")
{
$this->tpl->setVariable("TBL_COLUMN_WIDTH"," width=\"".$column["width"]."\"");
}
$lng_sort_column = $this->lng->txt("sort_by_this_column");
$this->tpl->setVariable("TBL_ORDER_ALT",$lng_sort_column);
$order_dir = "asc";
if ($column["sort_field"] == $this->order_field)
{
$order_dir = $this->sort_order;
$lng_change_sort = $this->lng->txt("change_sort_direction");
$this->tpl->setVariable("TBL_ORDER_ALT",$lng_change_sort);
}
if ($column["class"] != "")
{
$this->tpl->setVariable("TBL_HEADER_CLASS"," " . $column["class"]);
}
$this->setOrderLink($column["sort_field"], $order_dir);
$this->tpl->parseCurrentBlock();
$this->tpl->touchBlock("tbl_header_th");
}
$this->tpl->setCurrentBlock("tbl_header");
$this->tpl->parseCurrentBlock();
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::fillHeaderCSV (   $a_csv)
protected

CSV Version of Fill Header.

Likely to be overwritten by derived class.

Parameters
object$a_csvcurrent file

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

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

References ilTableGUI\$title.

Referenced by exportData().

{
foreach ($this->column as $column)
{
$title = strip_tags($column["text"]);
if($title)
{
$a_csv->addColumn($title);
}
}
$a_csv->addRow();
}

+ Here is the caller graph for this function:

ilTable2GUI::fillHeaderExcel (   $worksheet,
$a_row 
)
protected

Excel Version of Fill Header.

Likely to be overwritten by derived class.

Parameters
object$a_worksheetcurrent sheet
int$a_rowrow counter

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

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

References ilTableGUI\$title.

Referenced by exportData().

{
$col = 0;
foreach ($this->column as $column)
{
$title = strip_tags($column["text"]);
if($title)
{
$worksheet->write($a_row, $col, $title);
$col++;
}
}
}

+ Here is the caller graph for this function:

ilTable2GUI::fillHiddenRow ( )

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

Referenced by ilShoppingCartTableGUI\getCartHTML(), and getHTML().

{
$hidden_row = false;
if(count($this->hidden_inputs))
{
foreach ($this->hidden_inputs as $hidden_input)
{
$this->tpl->setCurrentBlock("tbl_hidden_field");
$this->tpl->setVariable("FIELD_NAME", $hidden_input["name"]);
$this->tpl->setVariable("FIELD_VALUE", $hidden_input["value"]);
$this->tpl->parseCurrentBlock();
}
$this->tpl->setCurrentBlock("tbl_hidden_row");
$this->tpl->parseCurrentBlock();
}
}

+ Here is the caller graph for this function:

ilTable2GUI::fillMetaCSV (   $a_csv)
protected

Add meta information to csv export.

Likely to be overwritten by derived class.

Parameters
object$a_csvcurrent file

Reimplemented in ilLPTableBaseGUI.

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

Referenced by exportData().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::fillMetaExcel (   $worksheet,
$a_row 
)
protected

Add meta information to excel export.

Likely to be overwritten by derived class.

Parameters
object$a_worksheetcurrent sheet
int$a_rowrow counter

Reimplemented in ilLPTableBaseGUI.

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

Referenced by exportData().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::fillRow (   $a_set)
protected

Standard Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
array$a_setdata array

Reimplemented in ilTrSummaryTableGUI, arIndexTableGUI, ilMailFolderTableGUI, ilUserTableGUI, ilLPObjectStatisticsLPTableGUI, ilBookingReservationsTableGUI, ilMediaPoolTableGUI, ilTrObjectUsersPropsTableGUI, ilWorkspaceShareTableGUI, ilQuestionBrowserTableGUI, ilRegistrationCodesTableGUI, ilTrUserObjectsPropsTableGUI, ilAssQuestionHintsTableGUI, ilCronManagerTableGUI, ilContainerStartObjectsContentTableGUI, ilEvaluationAllTableGUI, ilCourseParticipantsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilSurveyQuestionTableGUI, ilSurveyQuestionbrowserTableGUI, ilRoleTableGUI, ilSurveyQuestionsTableGUI, ilLPProgressTableGUI, ilSCORM2004TrackingItemsTableGUI, ilSCORMTrackingItemsTableGUI, ilSessionParticipantsTableGUI, ilLPObjectStatisticsTableGUI, ilObjectRolePermissionTableGUI, ilLPObjectStatisticsDailyTableGUI, ilPresentationListTableGUI, ilModulesTableGUI, ilCourseParticipantsGroupsTableGUI, ilTermListTableGUI, ilExerciseMemberTableGUI, ilWebResourceEditableLinkTableGUI, ilRepositoryUserResultTableGUI, ilAccountCodesTableGUI, ilTestQuestionsTableGUI, ilExAssignmentPeerReviewTableGUI, SurveyConstraintsTableGUI, ilObjectRoleTemplatePermissionTableGUI, ilWaitingListTableGUI, ilBenchmarkTableGUI, ilWikiPagesTableGUI, ilFileSystemTableGUI, ilGroupParticipantsTableGUI, ilAddressbookTableGUI, ilTestQuestionBrowserTableGUI, ilSubscriberTableGUI, ilTestDynamicQuestionSetStatisticTableGUI, ilWebResourceLinkTableGUI, ilExAssignmentPeerReviewOverviewTableGUI, ilObjectCopySearchResultTableGUI, ilSurveyResultsCumulatedTableGUI, ilClientListTableGUI, ilExportTableGUI, ilAssignedUsersTableGUI, ilContainerStartObjectsTableGUI, ilSurveyQuestionblockbrowserTableGUI, ilPluginsOverviewTableGUI, ilCourseObjectivesTableGUI, ilCourseObjectiveQuestionAssignmentTableGUI, ilCourseStartObjectsTableGUI, ilSurveySyncTableGUI, ilMailSearchCoursesTableGUI, ilWorkspaceAccessTableGUI, ilAdminSubItemsTableGUI, ilSCORMVerificationTableGUI, ilSurveyAppraiseesTableGUI, ilBookingObjectsTableGUI, ilObjectCopySelectionTableGUI, ilExParticipantTableGUI, ilListOfQuestionsTableGUI, ilCopySelfAssQuestionTableGUI, ilPDNewsTableGUI, ilTestManScoringParticipantsTableGUI, ilCourseGroupingAssignmentTableGUI, ilQuestionPoolPrintViewTableGUI, ilSkillLevelTableGUI, ilSurveyMaintenanceTableGUI, ilTestParticipantsTableGUI, ilCourseEditParticipantsTableGUI, ilMailSearchCoursesMembersTableGUI, ilExAssignmentTeamTableGUI, ilOrgUnitStaffTableGUI, ilSCORM2004ExportTableGUI, ilTestFixedParticipantsTableGUI, ilExGradesTableGUI, ilSurveyExportTableGUI, ilAssignmentsTableGUI, ilSurveyResultsUserTableGUI, ilSurveyQuestionPoolExportTableGUI, ilExAssignmentListTextTableGUI, ilImageMapTableGUI, ilCalendarManageTableGUI, ilLMQuestionListTableGUI, ilSurveyPhrasesTableGUI, ilMilestoneResponsiblesTableGUI, ilPCIIMTriggerTableGUI, ilSCORMTrackingItemPerUserTableGUI, ilExAssignmentTeamLogTableGUI, ilOrgUnitOtherRolesTableGUI, ilCalendarAppointmentsTableGUI, ilUserLPTableGUI, ilRbacLogTableGUI, ilSkillAssignMaterialsTableGUI, ilSystemStylesTableGUI, ilCourseObjectiveMaterialAssignmentTableGUI, ilCalendarCategoryTableGUI, ilContributorTableGUI, ilSurveyCodesTableGUI, ilLanguageTableGUI, ilStyleTableGUI, ilECSCommunityTableGUI, ilSurveySkillAssignmentTableGUI, ilSurveySkillThresholdsTableGUI, ilGroupEditParticipantsTableGUI, ilConsultationHoursTableGUI, ilComponentsTableGUI, ilObjectOwnershipManagementTableGUI, ilSelfEvaluationSimpleTableGUI, ilPortfolioPageTableGUI, ilCalendarChangedAppointmentsTableGUI, ilTableTemplatesTableGUI, ilWikiExportOrderTableGUI, ilFileVersionTableGUI, ilPollAnswerTableGUI, ilSCORMTrackingItemsScoTableGUI, ilSurveyInvitedUsersTableGUI, ilMediaObjectUsagesTableGUI, ilSkillCatTableGUI, ilDidacticTemplateSettingsTableGUI, ilSkillSelfEvalSkillTableGUI, ilTaxonomyTableGUI, ilSurveySkillTableGUI, ilObjectRoleTemplateOptionsTableGUI, ilCourseVerificationTableGUI, ilExcDeliveredFilesTableGUI, ilExportIDTableGUI, ilSCORMTrackingUsersTableGUI, ilCalendarSharedListTableGUI, ilCalendarSharedRoleListTableGUI, ilCalendarSharedUserListTableGUI, ilStyleColorTableGUI, ilMediaPoolPageUsagesTableGUI, ilTestAverageReachedPointsTableGUI, ilWikiContributorsTableGUI, ilStyleMediaQueryTableGUI, ilCourseGroupingTableGUI, ilHelpMappingTableGUI, ilUploadDirFilesTableGUI, ilSessionMaterialsTableGUI, ilCalendarInboxSharedTableGUI, ilNewItemGroupTableGUI, ilCourseObjectiveQuestionsTableGUI, ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI, ilSurveySavePhraseTableGUI, ilAdvancedMDFieldTableGUI, ilLicenseOverviewTableGUI, ilObjectivesAlignmentTableGUI, ilSCORMTrackingItemsPerUserTableGUI, ilLPCollectionSettingsTableGUI, ilExerciseVerificationTableGUI, ilWikiRecentChangesTableGUI, ilMDCopyrightTableGUI, ilPageLayoutTableGUI, ilItemGroupItemsTableGUI, ilLDAPRoleAssignmentTableGUI, ilTaxonomyAdministrationRepositoryTableGUI, ilECSImportedContentTableGUI, ilCourseInfoFileTableGUI, ilSessionFileTableGUI, ilSurveyMaterialsTableGUI, ilTrackedQuestionsTableGUI, ilTaxAssignedItemsTableGUI, ilECSReleasedContentTableGUI, ilTestVerificationTableGUI, ilAdvancedMDRecordExportFilesTableGUI, ilLMPagesTableGUI, ilClipboardTableGUI, ilSearchResultTableGUI, ilLOTestAssignmentTableGUI, ilLinksTableGUI, ilSCORMOfflineModeUsersTableGUI, ilRoleSelectionTableGUI, ilRoleAssignmentTableGUI, ilECSNodeMappingTreeTableGUI, ilPollUserTableGUI, ilSurveyCodesEditTableGUI, ilAssessmentFolderLogAdministrationTableGUI, ilTestPassManualScoringOverviewTableGUI, ilConsultationHourBookingTableGUI, ilPortfolioTableGUI, ilSurveySkillChangesTableGUI, ilTestInviteUsersTableGUI, ilObjWorkspaceFolderTableGUI, ilShibbolethRoleAssignmentTableGUI, ilObjectTranslation2TableGUI, ilLPObjectStatisticsAdminTableGUI, ilObjectTranslationTableGUI, ilLuceneAdvancedSearchActivationTableGUI, ilECSCategoryMappingTableGUI, ilTermUsagesTableGUI, ilTestInviteGroupsTableGUI, ilTestInviteRolesTableGUI, ilPCFileListTableGUI, ilHistoryTableGUI, ilChatroomSmiliesTableGUI, ilTestHistoryTableGUI, ilStyleImageTableGUI, ilLMBlockedUsersTableGUI, ilMediaCastTableGUI, ilSCORMTrackingItemsPerScoTableGUI, SurveyMaterialsSourceTableGUI, ilRatingCategoryTableGUI, ilCustomUserFieldSettingsTableGUI, ilWikiSearchResultsTableGUI, ilBookingSchedulesTableGUI, ilAssessmentFolderLogTableGUI, ilSysStyleCatAssignmentTableGUI, ilTestSkillLevelThresholdsTableGUI, ilTestSkillQuestionAssignmentsTableGUI, assFileUploadFileTableGUI, ilAccessKeyTableGUI, ilAuthLoginPageEditorTableGUI, ilConsultationHourGroupTableGUI, ilPCIIMOverlaysTableGUI, ilSkillUsageTableGUI, ilUserFieldSettingsTableGUI, ilFoundUsersTableGUI, ilSpecialUsersTableGUI, ilAdvancedMDRecordTableGUI, ilExportSelectionTableGUI, ilRepDependenciesTableGUI, ilSCORM2004TrackingTableGUI, ilObjectCustomUserFieldsTableGUI, ilShopTopicsTableGUI, ilBookmarkAdministrationTableGUI, ilObjBibliographicAdminTableGUI, ilPublicSubmissionsTableGUI, ilTestAggregatedResultsTableGUI, ilPageHistoryTableGUI, ilSkillProfileTableGUI, ilContentStylesTableGUI, ilPCImageMapTableGUI, ilLanguageExtTableGUI, ilShopPersonalSettingsTopicsTableGUI, ilRepositoryObjectResultTableGUI, ilSetupLanguageTableGUI, ilDataBibliographicRecordListTableGUI, ilHelpModuleTableGUI, ilOpenIdProviderTableGUI, ilHelpTooltipTableGUI, ilImportantPagesTableGUI, ilLDAPRoleMappingTableGUI, ilTrashTableGUI, ilRendererTableGUI, ilPasteStyleCharacteristicTableGUI, ilLMGlossaryTableGUI, ilOrgUnitTypeTableGUI, ilSettingsTemplateTableGUI, ilSubItemSelectionTableGUI, ilObjectTableGUI, ilSelfEvaluationTableGUI, ilSkillLevelResourcesTableGUI, ilFeedbackConfirmationTable2GUI, ilLMMenuItemsTableGUI, ilWikiPageTemplatesTableGUI, ilSkillProfileLevelsTableGUI, ilTaxonomyListTableGUI, ilPCTabsTableGUI, ilShoppingCartTableGUI, ilScormSpecialPagesTableGUI, ilPCIIMPopupTableGUI, ilSkillLevelProfileAssignmentTableGUI, ilPageMultiLangTableGUI, ilNotificationSettingsTable, ilShopTableGUI, ilSkillProfileUserTableGUI, ilConfirmationTableGUI, ilTermQuickListTableGUI, ilPersonalSkillTableGUI, ilUserForTagTableGUI, ilMobSubtitleTableGUI, ilECSServerTableGUI, ilRoleAdoptPermissionTableGUI, ilNewsForContextTableGUI, ilAvailableRolesStatusTableGUI, ilAccessPermissionsStatusTableGUI, ilObjClipboardTableGUI, ilResultsByQuestionTableGUI, ilConditionHandlerTableGUI, and ilShopCouponsTableGUI.

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

Referenced by getHTML().

{
foreach ($a_set as $key => $value)
{
$this->tpl->setVariable("VAL_".strtoupper($key), $value);
}
}

+ Here is the caller graph for this function:

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

CSV Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
object$a_csvcurrent file
array$a_setdata array

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

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

Referenced by exportData().

{
foreach ($a_set as $key => $value)
{
if(is_array($value))
{
$value = implode(', ', $value);
}
$a_csv->addColumn(strip_tags($value));
}
$a_csv->addRow();
}

+ Here is the caller graph for this function:

ilTable2GUI::fillRowExcel (   $a_worksheet,
$a_row,
  $a_set 
)
protected

Excel Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
object$a_worksheetcurrent sheet
int$a_rowrow counter
array$a_setdata array

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

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

Referenced by exportData().

{
$col = 0;
foreach ($a_set as $key => $value)
{
if(is_array($value))
{
$value = implode(', ', $value);
}
$a_worksheet->write($a_row, $col, strip_tags($value));
$col++;
}
}

+ Here is the caller graph for this function:

static ilTable2GUI::getAllCommandLimit ( )
static

Get maximum number of entries to enable actions for all.

Returns
int

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

References ilTableGUI\$limit, and ACTION_ALL_LIMIT.

{
global $ilClientIniFile;
$limit = $ilClientIniFile->readVariable("system", "TABLE_ACTION_ALL_LIMIT");
if(!$limit)
{
}
return $limit;
}
ilTable2GUI::getCloseFormTag ( )

Get close form tag.

Returns
boolean close form tag

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

References $close_form_tag.

Referenced by getHTML().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::getContext ( )

Get context.

Returns
string

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

References $context.

Referenced by deleteTemplate(), fillFooter(), ilTestPassOverviewTableGUI\initColumns(), restoreTemplate(), and saveTemplate().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::getCurrentState ( )

get current settings for order, limit, columns and filter

Returns
array

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

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

Referenced by saveTemplate().

{
$this->determineLimit();
// "filter" show/hide is not saved
$result = array();
$result["order"] = $this->getOrderField();
$result["direction"] = $this->getOrderDirection();
$result["offset"] = $this->getOffset();
$result["rows"] = $this->getLimit();
$result["selfilters"] = $this->getSelectedFilters();
// #9514 - $this->getSelectedColumns() will omit deselected, leading to
// confusion on restoring template
// gather filter values
if($this->filters)
{
foreach($this->filters as $item)
{
$result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
}
}
if($this->optional_filters && $result["selfilters"])
{
foreach($this->optional_filters as $item)
{
if(in_array($item->getFieldId(), $result["selfilters"]))
{
$result["filter_values"][$item->getFieldId()] = $this->getFilterValue($item);
}
}
}
return $result;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::getDefaultOrderDirection ( )

Get Default order direction.

Returns
string Default order direction

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

Referenced by determineOffsetAndOrder().

{
return $this->defaultorderdirection;
}

+ Here is the caller graph for this function:

ilTable2GUI::getDefaultOrderField ( )

Get Default order field.

Returns
string Default order field

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

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

{
return $this->defaultorderfield;
}

+ Here is the caller graph for this function:

ilTable2GUI::getDescription ( )

Get description.

Returns
string description

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

Referenced by render().

{
return $this->description;
}

+ Here is the caller graph for this function:

ilTable2GUI::getDisableFilterHiding ( )

Get disable filter hiding.

Returns
boolean

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

References $disable_filter_hiding.

Referenced by fillFooter(), and renderFilter().

+ Here is the caller graph for this function:

ilTable2GUI::getDisplayAsBlock ( )

Get display as block.

Returns
boolean display as block

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

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

{
return $this->display_as_block;
}

+ Here is the caller graph for this function:

ilTable2GUI::getEnableHeader ( )

Get Enable Header.

Returns
boolean Enable Header

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

{
return $this->enabled["header"];
}
ilTable2GUI::getEnableNumInfo ( )

Get enable num info.

Returns
boolean enable number of records info

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

Referenced by fillFooter().

{
return $this->num_info;
}

+ Here is the caller graph for this function:

ilTable2GUI::getEnableTitle ( )

Get Enable Title.

Returns
boolean Enable Title

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

{
return $this->enabled["title"];
}
ilTable2GUI::getExportMode ( )

Was export activated?

Returns
int

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

References $export_mode.

Referenced by getHTML(), getLimit(), and getOffset().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::getExternalSegmentation ( )

Get external segmentation.

Returns
boolean data is segmented externally

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

References $ext_seg.

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

{
}

+ Here is the caller graph for this function:

ilTable2GUI::getExternalSorting ( )

Get external sorting.

Returns
boolean data is sorted externally

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

References $ext_sort.

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

{
}

+ Here is the caller graph for this function:

ilTable2GUI::getFilterCols ( )

Get filter columns.

Returns
int number of filter columns

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

References $filter_cols.

Referenced by renderFilter().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::getFilterCommand ( )

Get filter command.

Returns
string filter command

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

References $filter_cmd.

{
}
ilTable2GUI::getFilterItemByPostVar (   $a_post_var)
final

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

References getFilterItems().

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

{
foreach ($this->getFilterItems() as $item)
{
if ($item->getPostVar() == $a_post_var)
{
return $item;
}
}
foreach ($this->getFilterItems(true) as $item)
{
if ($item->getPostVar() == $a_post_var)
{
return $item;
}
}
return false;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::getFilterItems (   $a_optionals = false)
final

Get filter items.

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

References $filters, and $optional_filters.

Referenced by determineSelectedFilters(), getFilterItemByPostVar(), ilSurveyQuestionblockbrowserTableGUI\initData(), ilSurveyQuestionbrowserTableGUI\initData(), renderFilter(), resetFilter(), and writeFilterToSession().

{
if (!$a_optionals)
{
}
}

+ Here is the caller graph for this function:

ilTable2GUI::getFilterValue ( ilFormPropertyGUI  $a_item)
protected

Get current filter value.

Parameters
ilFormPropertyGUI$a_item
Returns
mixed

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

References IL_CAL_DATE.

Referenced by getCurrentState().

{
if(method_exists($a_item, "getChecked"))
{
return $a_item->getChecked();
}
else if(method_exists($a_item, "getValue"))
{
return $a_item->getValue();
}
else if(method_exists($a_item, "getDate"))
{
return $a_item->getDate()->get(IL_CAL_DATE);
}
}

+ Here is the caller graph for this function:

ilTable2GUI::getFormAction ( )
final

Get Form action parameter.

Returns
string Form action

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

Referenced by ilShoppingCartTableGUI\getCartHTML(), getHTML(), ilLOTestAssignmentTableGUI\init(), ilConsultationHourGroupTableGUI\initTable(), and ilConsultationHourBookingTableGUI\initTable().

{
return $this->form_action;
}

+ Here is the caller graph for this function:

ilTable2GUI::getFormName ( )

Get Form name.

Returns
string Form name

Reimplemented from ilTableGUI.

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

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

{
return $this->formname;
}

+ Here is the caller graph for this function:

ilTable2GUI::getHTML ( )

Get HTML.

Reimplemented in ilMediaPoolTableGUI.

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

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

Referenced by arIndexTableGUI\render().

{
global $lng, $ilCtrl, $ilUser;
if($this->getExportMode())
{
$this->exportData($this->getExportMode(), true);
}
$this->prepareOutput();
if (is_object($ilCtrl) && $this->getId() == "")
{
$ilCtrl->saveParameter($this->getParentObject(), $this->getNavParameter());
}
if(!$this->getPrintMode())
{
// set form action
if ($this->form_action != "" && $this->getOpenFormTag())
{
$hash = "";
if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization"))
{
$hash = "#".$this->getTopAnchor();
}
if((bool)$this->form_multipart)
{
$this->tpl->touchBlock("form_multipart_bl");
}
{
$this->tpl->touchBlock("pdfs");
}
$this->tpl->setCurrentBlock("tbl_form_header");
$this->tpl->setVariable("FORMACTION", $this->getFormAction().$hash);
$this->tpl->setVariable("FORMNAME", $this->getFormName());
$this->tpl->parseCurrentBlock();
}
if ($this->form_action != "" && $this->getCloseFormTag())
{
$this->tpl->touchBlock("tbl_form_footer");
}
}
if(!$this->enabled['content'])
{
return $this->render();
}
if (!$this->getExternalSegmentation())
{
$this->setMaxCount(count($this->row_data));
}
$this->setFooter("tblfooter",$this->lng->txt("previous"),$this->lng->txt("next"));
$data = $this->getData();
if($this->dataExists())
{
// sort
if (!$this->getExternalSorting() && $this->enabled["sort"])
{
$data = ilUtil::sortArray($data, $this->getOrderField(),
$this->getOrderDirection(), $this->numericOrdering($this->getOrderField()));
}
// slice
if (!$this->getExternalSegmentation())
{
$data = array_slice($data, $this->getOffset(), $this->getLimit());
}
}
// fill rows
if($this->dataExists())
{
if($this->getPrintMode())
{
}
$this->tpl->addBlockFile("TBL_CONTENT", "tbl_content", $this->row_template,
$this->row_template_dir);
foreach($data as $set)
{
$this->tpl->setCurrentBlock("tbl_content");
$this->css_row = ($this->css_row != "tblrow1")
? "tblrow1"
: "tblrow2";
$this->tpl->setVariable("CSS_ROW", $this->css_row);
$this->fillRow($set);
$this->tpl->setCurrentBlock("tbl_content");
$this->tpl->parseCurrentBlock();
}
}
else
{
// add standard no items text (please tell me, if it messes something up, alex, 29.8.2008)
$no_items_text = (trim($this->getNoEntriesText()) != '')
? $this->getNoEntriesText()
: $lng->txt("no_items");
$this->css_row = ($this->css_row != "tblrow1")
? "tblrow1"
: "tblrow2";
$this->tpl->setCurrentBlock("tbl_no_entries");
$this->tpl->setVariable('TBL_NO_ENTRY_CSS_ROW', $this->css_row);
$this->tpl->setVariable('TBL_NO_ENTRY_COLUMN_COUNT', $this->column_count);
$this->tpl->setVariable('TBL_NO_ENTRY_TEXT', trim($no_items_text));
$this->tpl->parseCurrentBlock();
}
if(!$this->getPrintMode())
{
$this->fillFooter();
$this->fillHiddenRow();
$this->fillActionRow();
}
return $this->render();
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::getIsDataTable ( )

Get is data table.

Returns
boolean is data table

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

Referenced by render().

{
return $this->datatable;
}

+ Here is the caller graph for this function:

ilTable2GUI::getLinkbar (   $a_num)

Get previous/next linkbar.

Author
Sascha Hofmann shofm.nosp@m.ann@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Returns
array linkbar or false on error

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

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

Referenced by fillFooter().

{
global $ilCtrl, $lng, $ilUser;
$hash = "";
if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization"))
{
$hash = "#".$this->getTopAnchor();
}
$link = $ilCtrl->getLinkTargetByClass(get_class($this->parent_obj), $this->parent_cmd).
"&".$this->getNavParameter()."=".
$this->getOrderField().":".$this->getOrderDirection().":";
$LinkBar = "";
$layout_prev = $lng->txt("previous");
$layout_next = $lng->txt("next");
// if more entries then entries per page -> show link bar
if ($this->max_count > $this->getLimit() || $this->custom_prev_next)
{
$sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
// calculate number of pages
$pages = intval($this->max_count / $this->getLimit());
// add a page if a rest remains
if (($this->max_count % $this->getLimit()))
$pages++;
// links to other pages
$offset_arr = array();
for ($i = 1 ;$i <= $pages ; $i++)
{
$newoffset = $this->getLimit() * ($i-1);
$nav_value = $this->getOrderField().":".$this->getOrderDirection().":".$newoffset;
$offset_arr[$nav_value] = $i;
}
$sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
// previous link
if ($this->custom_prev_next && $this->custom_prev != "")
{
if ($LinkBar != "")
$LinkBar .= $sep;
$LinkBar .= "<a href=\"".$this->custom_prev.$hash."\">".$layout_prev."</a>";
}
else if ($this->getOffset() >= 1 && !$this->custom_prev_next)
{
if ($LinkBar != "")
$LinkBar .= $sep;
$prevoffset = $this->getOffset() - $this->getLimit();
$LinkBar .= "<a href=\"".$link.$prevoffset.$hash."\">".$layout_prev."</a>";
}
else
{
if ($LinkBar != "")
$LinkBar .= $sep;
$LinkBar .= '<span class="ilTableFootLight">'.$layout_prev."</span>";
}
// current value
if ($a_num == "1")
{
$LinkBar .= '<input type="hidden" name="'.$this->getNavParameter().
'" value="'.$this->getOrderField().":".$this->getOrderDirection().":".$this->getOffset().'" />';
}
$sep = "<span>&nbsp;&nbsp;|&nbsp;&nbsp;</span>";
// show next link (if not last page)
if ($this->custom_prev_next && $this->custom_next != "")
{
if ($LinkBar != "")
$LinkBar .= $sep;
$LinkBar .= "<a href=\"".$this->custom_next.$hash."\">".$layout_next."</a>";
}
else if (! ( ($this->getOffset() / $this->getLimit())==($pages-1) ) && ($pages!=1) &&
!$this->custom_prev_next)
{
if ($LinkBar != "")
$LinkBar .= $sep;
$newoffset = $this->getOffset() + $this->getLimit();
$LinkBar .= "<a href=\"".$link.$newoffset.$hash."\">".$layout_next."</a>";
}
else
{
if ($LinkBar != "")
$LinkBar .= $sep;
$LinkBar .= '<span class="ilTableFootLight">'.$layout_next."</span>";
}
$sep = "<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
if (count($offset_arr) && !$this->getDisplayAsBlock() && !$this->custom_prev_next)
{
if ($LinkBar != "")
$LinkBar .= $sep;
$LinkBar .= "".
'<label for="tab_page_sel_'.$a_num.'">'.$lng->txt("page").'</label> '.
ilUtil::formSelect($this->nav_value,
$this->getNavParameter().$a_num, $offset_arr, false, true, 0, "small",
array("id" => "tab_page_sel_".$a_num,
"onchange" => "ilTablePageSelection(this, 'cmd[".$this->parent_cmd."]')"));
//' <input class="submit" type="submit" name="cmd['.$this->parent_cmd.']" value="'.
//$lng->txt("ok").'" />';
}
return $LinkBar;
}
else
{
return false;
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::getNavParameter ( )
final

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

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

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

+ Here is the caller graph for this function:

ilTable2GUI::getNoEntriesText ( )

Get text for an empty table.

Returns
string Text

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

Referenced by ilShoppingCartTableGUI\getCartHTML(), and getHTML().

{
return $this->noentriestext;
}

+ Here is the caller graph for this function:

ilTable2GUI::getOpenFormTag ( )

Get open form tag.

Returns
boolean open form tag

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

References $open_form_tag.

Referenced by getHTML().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::getParentObject ( )

Get parent object.

Returns
object parent GUI object

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

Referenced by ilPollUserTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilConditionHandlerTableGUI\fillRow(), ilECSServerTableGUI\fillRow(), ilLDAPRoleMappingTableGUI\fillRow(), ilImportantPagesTableGUI\fillRow(), ilOpenIdProviderTableGUI\fillRow(), ilPageHistoryTableGUI\fillRow(), ilObjectCustomUserFieldsTableGUI\fillRow(), ilAuthLoginPageEditorTableGUI\fillRow(), ilConsultationHourGroupTableGUI\fillRow(), SurveyMaterialsSourceTableGUI\fillRow(), ilSCORMTrackingItemsPerScoTableGUI\fillRow(), ilPCFileListTableGUI\fillRow(), ilECSCategoryMappingTableGUI\fillRow(), ilShibbolethRoleAssignmentTableGUI\fillRow(), ilConsultationHourBookingTableGUI\fillRow(), ilSCORMOfflineModeUsersTableGUI\fillRow(), ilECSNodeMappingTreeTableGUI\fillRow(), ilLDAPRoleAssignmentTableGUI\fillRow(), ilMDCopyrightTableGUI\fillRow(), ilSCORMTrackingItemsPerUserTableGUI\fillRow(), ilDidacticTemplateSettingsTableGUI\fillRow(), ilSCORMTrackingItemsScoTableGUI\fillRow(), ilConsultationHoursTableGUI\fillRow(), ilECSCommunityTableGUI\fillRow(), ilCalendarCategoryTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilSCORM2004ExportTableGUI\fillRow(), ilSurveyAppraiseesTableGUI\fillRow(), ilAssignedUsersTableGUI\fillRow(), ilExportTableGUI\fillRow(), ilWebResourceLinkTableGUI\fillRow(), ilSubscriberTableGUI\fillRow(), ilWaitingListTableGUI\fillRow(), SurveyConstraintsTableGUI\fillRow(), ilWebResourceEditableLinkTableGUI\fillRow(), ilRoleTableGUI\fillRow(), ilCronManagerTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilShoppingCartTableGUI\getCartHTML(), getHTML(), ilContainerStartObjectsContentTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilParticipantTableGUI\getSelectableColumns(), ilSubscriberTableGUI\getSelectableColumns(), ilWaitingListTableGUI\getSelectableColumns(), ilPCFileListTableGUI\ilPCFileListTableGUI(), ilLOTestAssignmentTableGUI\init(), ilTestPassOverviewTableGUI\initColumns(), ilObjectRolePermissionTableGUI\initColumns(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilParticipantTableGUI\initSettings(), ilWebResourceLinkTableGUI\initSorting(), ilConsultationHourGroupTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilLocalUnitCategoryTableGUI\populateTitle(), ilLinkCheckerTableGUI\prepareHTML(), ilTermsOfServiceAgreementByLanguageTableGUI\prepareRow(), ilTermsOfServiceAcceptanceHistoryTableGUI\prepareRow(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilExParticipantTableGUI\render(), ilExerciseMemberTableGUI\render(), ilParticipantTableGUI\showActionLinks(), ilSubscriberTableGUI\showActionLinks(), and ilWaitingListTableGUI\showActionLinks().

{
return $this->parent_obj;
}

+ Here is the caller graph for this function:

ilTable2GUI::getPrefix ( )
final

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

References ilTableGUI\$prefix.

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

{
return $this->prefix;
}

+ Here is the caller graph for this function:

ilTable2GUI::getPreventDoubleSubmission ( )

Get prevent double submission.

Returns
bool prevent double submission

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

References $prevent_double_submission.

Referenced by getHTML().

+ Here is the caller graph for this function:

ilTable2GUI::getPrintMode ( )

Get print mode.

Returns
bool $a_value

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

References $print_mode.

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

{
}

+ Here is the caller graph for this function:

ilTable2GUI::getResetCommand ( )

Get reset filter command.

Returns
string reset command

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

References $reset_cmd.

{
}
ilTable2GUI::getRowSelectorLabel ( )
Returns
string

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

References $row_selector_label.

Referenced by fillFooter().

+ Here is the caller graph for this function:

ilTable2GUI::getSelectAllCheckbox ( )

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

Returns
string name of the checkbox

Reimplemented from ilTableGUI.

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

References ilTableGUI\$select_all_checkbox.

Referenced by fillFooter().

+ Here is the caller graph for this function:

ilTable2GUI::getSelectedColumns ( )

Get selected columns.

Parameters
@return

Reimplemented in ilEvaluationAllTableGUI, and ilRegistrationCodesTableGUI.

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

Referenced by ilTermListTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilUserTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\fillHeaderCSV(), ilSCORM2004TrackingItemsTableGUI\fillHeaderCSV(), ilTrObjectUsersPropsTableGUI\fillHeaderCSV(), ilTrUserObjectsPropsTableGUI\fillHeaderCSV(), ilTrMatrixTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderCSV(), ilSCORMTrackingItemsTableGUI\fillHeaderExcel(), ilSCORM2004TrackingItemsTableGUI\fillHeaderExcel(), ilTrObjectUsersPropsTableGUI\fillHeaderExcel(), ilTrUserObjectsPropsTableGUI\fillHeaderExcel(), ilTrMatrixTableGUI\fillHeaderExcel(), ilTrSummaryTableGUI\fillHeaderExcel(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilSurveyResultsCumulatedTableGUI\fillRow(), ilSubscriberTableGUI\fillRow(), ilGroupParticipantsTableGUI\fillRow(), ilWaitingListTableGUI\fillRow(), ilRepositoryUserResultTableGUI\fillRow(), ilTermListTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ilCourseParticipantsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrMatrixTableGUI\fillRow(), ilUserTableGUI\fillRow(), ilTrSummaryTableGUI\fillRow(), ilSCORMTrackingItemsTableGUI\fillRowCSV(), ilSCORM2004TrackingItemsTableGUI\fillRowCSV(), ilTrObjectUsersPropsTableGUI\fillRowCSV(), ilTrUserObjectsPropsTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowCSV(), ilTrSummaryTableGUI\fillRowCSV(), ilSCORMTrackingItemsTableGUI\fillRowExcel(), ilSCORM2004TrackingItemsTableGUI\fillRowExcel(), ilTrObjectUsersPropsTableGUI\fillRowExcel(), ilTrUserObjectsPropsTableGUI\fillRowExcel(), ilTrMatrixTableGUI\fillRowExcel(), ilTrSummaryTableGUI\fillRowExcel(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilUserTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilQuestionPoolPrintViewTableGUI\initColumns(), ilGroupParticipantsTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilRepositoryUserResultTableGUI\parseUserIds(), ilSubscriberTableGUI\readSubscriberData(), and ilWaitingListTableGUI\readUserData().

{
$scol = array();
foreach ($this->selected_column as $k => $v)
{
if ($v)
{
$scol[$k] = $k;
}
}
return $scol;
}

+ Here is the caller graph for this function:

ilTable2GUI::getSelectedFilters ( )

Get selected filters.

Parameters
@return

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

Referenced by getCurrentState().

{
$sfil = array();
foreach ($this->selected_filter as $k => $v)
{
if ($v)
{
$sfil[$k] = $k;
}
}
return $sfil;
}

+ Here is the caller graph for this function:

ilTable2GUI::getShowRowsSelector ( )

Get rows-per-page selector state.

Returns
bool

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

References $show_rows_selector.

Referenced by fillFooter().

+ Here is the caller graph for this function:

ilTable2GUI::getShowTemplates ( )

Get template state.

Returns
bool

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

References $show_templates.

Referenced by fillFooter().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::getTopAnchor ( )

Get top anchor.

Returns
string top anchor

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

References $top_anchor.

Referenced by render().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::getTopCommands ( )

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

Returns
boolean top commands true/false

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

References $top_commands.

Referenced by fillActionRow().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::isColumnSelected (   $a_col)

Is given column selected?

Parameters
stringcolumn name
Returns
boolean

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

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

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

+ Here is the caller graph for this function:

ilTable2GUI::isFilterSelected (   $a_col)

Is given filter selected?

Parameters
stringcolumn name
Returns
boolean

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

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

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

+ Here is the caller graph for this function:

ilTable2GUI::loadProperty (   $type)

Load table property.

Parameters
string$type
Returns
mixed

Reimplemented in ilDataCollectionRecordListTableGUI.

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

References $ilUser, and getId().

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

{
global $ilUser;
if(is_object($ilUser) && $this->getId() != "")
{
include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
$tab_prop = new ilTablePropertiesStorage();
return $tab_prop->getProperty($this->getId(), $ilUser->getId(), $type);
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::numericOrdering (   $a_field)

Should this field be sorted numeric?

Returns
boolean numeric ordering; default is false

Reimplemented in ilTrSummaryTableGUI, ilQuestionBrowserTableGUI, ilForumTopicTableGUI, ilAssQuestionHintsTableGUI, ilQuestionPoolPrintViewTableGUI, ilTestParticipantsTableGUI, ilDataCollectionRecordListTableGUI, ilPresentationListTableGUI, ilTermsOfServiceAgreementByLanguageTableGUI, ilExAssignmentPeerReviewTableGUI, ilTestFixedParticipantsTableGUI, ilLPObjectStatisticsLPTableGUI, ilTermsOfServiceAcceptanceHistoryTableGUI, ilMailSearchCoursesTableGUI, ilWikiPagesTableGUI, ilLPProgressTableGUI, ilRepositoryObjectResultTableGUI, ilTermListTableGUI, ilSurveyResultsCumulatedTableGUI, ilEvaluationAllTableGUI, ilExParticipantTableGUI, ilExGradesTableGUI, ilAssignmentsTableGUI, ilQuestionCumulatedStatisticsTableGUI, ilTestExportTableGUI, ilRepositoryUserResultTableGUI, ilFileSystemTableGUI, ilMailAttachmentTableGUI, ilSkillLevelTableGUI, ilTaxonomyTableGUI, ilExAssignmentListTextTableGUI, ilLPObjectStatisticsTableGUI, ilLPObjectStatisticsTypesTableGUI, ilLPObjectStatisticsDailyTableGUI, ilTestPersonalDefaultSettingsTableGUI, ilTestPassOverviewTableGUI, ilTaxAssignedItemsTableGUI, ilTestAverageReachedPointsTableGUI, ilSearchResultTableGUI, ilResultsByQuestionTableGUI, ilPollAnswerTableGUI, ilForumStatisticsTableGUI, and ilPageHistoryTableGUI.

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

Referenced by ilAssessmentFolderLogAdministrationTableGUI\__construct(), exportData(), ilShoppingCartTableGUI\getCartHTML(), getHTML(), and ilTestManScoringParticipantsTableGUI\getInternalyOrderedDataValues().

{
return false;
}

+ Here is the caller graph for this function:

ilTable2GUI::prepareOutput ( )
protected

Anything that must be done before HTML is generated.

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

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

Referenced by ilShoppingCartTableGUI\getCartHTML(), and getHTML().

{
}

+ Here is the caller graph for this function:

ilTable2GUI::render ( )

render table public

Reimplemented from ilTableGUI.

Reimplemented in arIndexTableGUI, ilMediaPoolTableGUI, ilExerciseMemberTableGUI, and ilExParticipantTableGUI.

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

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

Referenced by ilShoppingCartTableGUI\getCartHTML(), and getHTML().

{
global $lng, $ilCtrl;
$this->tpl->setVariable("CSS_TABLE",$this->getStyle("table"));
$this->tpl->setVariable("DATA_TABLE", (int) $this->getIsDataTable());
if ($this->getId() != "")
{
$this->tpl->setVariable("ID", 'id="'.$this->getId().'"');
}
// description
if ($this->getDescription() != "")
{
$this->tpl->setCurrentBlock("tbl_header_description");
$this->tpl->setVariable("TBL_DESCRIPTION", $this->getDescription());
$this->tpl->parseCurrentBlock();
}
if(!$this->getPrintMode())
{
$this->renderFilter();
}
if ($this->getDisplayAsBlock())
{
$this->tpl->touchBlock("outer_start_1");
$this->tpl->touchBlock("outer_end_1");
}
else
{
$this->tpl->touchBlock("outer_start_2");
$this->tpl->touchBlock("outer_end_2");
}
// table title and icon
if ($this->enabled["title"] && ($this->title != ""
|| $this->icon != "" || count($this->header_commands) > 0 ||
$this->headerHTML != "" || $this->close_command != ""))
{
if ($this->enabled["icon"])
{
$this->tpl->setCurrentBlock("tbl_header_title_icon");
$this->tpl->setVariable("TBL_TITLE_IMG",ilUtil::getImagePath($this->icon));
$this->tpl->setVariable("TBL_TITLE_IMG_ALT",$this->icon_alt);
$this->tpl->parseCurrentBlock();
}
if(!$this->getPrintMode())
{
foreach($this->header_commands as $command)
{
if ($command["img"] != "")
{
$this->tpl->setCurrentBlock("tbl_header_img_link");
if ($command["target"] != "")
{
$this->tpl->setVariable("TARGET_IMG_LINK",
'target="'.$command["target"].'"');
}
$this->tpl->setVariable("ALT_IMG_LINK", $command["text"]);
$this->tpl->setVariable("HREF_IMG_LINK", $command["href"]);
$this->tpl->setVariable("SRC_IMG_LINK",
$command["img"]);
$this->tpl->parseCurrentBlock();
}
else
{
$this->tpl->setCurrentBlock("head_cmd");
$this->tpl->setVariable("TXT_HEAD_CMD", $command["text"]);
$this->tpl->setVariable("HREF_HEAD_CMD", $command["href"]);
$this->tpl->parseCurrentBlock();
}
}
}
if (isset ($this->headerHTML)) {
$this->tpl->setCurrentBlock("tbl_header_html");
$this->tpl->setVariable ("HEADER_HTML", $this->headerHTML);
$this->tpl->parseCurrentBlock();
}
// close command
if ($this->close_command != "")
{
$this->tpl->setCurrentBlock("tbl_header_img_link");
$this->tpl->setVariable("ALT_IMG_LINK",$lng->txt("close"));
$this->tpl->setVariable("HREF_IMG_LINK",$this->close_command);
$this->tpl->parseCurrentBlock();
}
$this->tpl->setCurrentBlock("tbl_header_title");
$this->tpl->setVariable("TBL_TITLE",$this->title);
$this->tpl->setVariable("TOP_ANCHOR",$this->getTopAnchor());
if ($this->getDisplayAsBlock())
{
$this->tpl->setVariable("BLK_CLASS", "Block");
}
$this->tpl->parseCurrentBlock();
}
// table header
if ($this->enabled["header"])
{
$this->fillHeader();
}
$this->tpl->touchBlock("tbl_table_end");
return $this->tpl->get();
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::renderFilter ( )
private

Render Filter section.

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

References $lng, $tpl, determineSelectedFilters(), getDisableFilterHiding(), getFilterCols(), getFilterItems(), getId(), getParentCmd(), ilYuiUtil\initConnection(), isFilterSelected(), and loadProperty().

Referenced by render().

{
global $lng, $tpl;
$filter = $this->getFilterItems();
$opt_filter = $this->getFilterItems(true);
$tpl->addJavascript("./Services/Table/js/ServiceTable.js");
if (count($filter) == 0 && count($opt_filter) == 0)
{
return;
}
include_once("./Services/YUI/classes/class.ilYuiUtil.php");
$ccnt = 0;
// render standard filter
if (count($filter) > 0)
{
foreach ($filter as $item)
{
if ($ccnt >= $this->getFilterCols())
{
$this->tpl->setCurrentBlock("filter_row");
$this->tpl->parseCurrentBlock();
$ccnt = 0;
}
$this->tpl->setCurrentBlock("filter_item");
$this->tpl->setVariable("OPTION_NAME",
$item->getTitle());
$this->tpl->setVariable("F_INPUT_ID",
$item->getFieldId());
$this->tpl->setVariable("INPUT_HTML",
$item->getTableFilterHTML());
$this->tpl->parseCurrentBlock();
$ccnt++;
}
}
// render optional filter
if (count($opt_filter) > 0)
{
foreach ($opt_filter as $item)
{
if($this->isFilterSelected($item->getPostVar()))
{
if ($ccnt >= $this->getFilterCols())
{
$this->tpl->setCurrentBlock("filter_row");
$this->tpl->parseCurrentBlock();
$ccnt = 0;
}
$this->tpl->setCurrentBlock("filter_item");
$this->tpl->setVariable("OPTION_NAME",
$item->getTitle());
$this->tpl->setVariable("F_INPUT_ID",
$item->getFieldId());
$this->tpl->setVariable("INPUT_HTML",
$item->getTableFilterHTML());
$this->tpl->parseCurrentBlock();
$ccnt++;
}
}
// filter selection
$items = array();
foreach ($opt_filter as $item)
{
$k = $item->getPostVar();
$items[$k] = array("txt" => $item->getTitle(),
"selected" => $this->isFilterSelected($k));
}
include_once("./Services/UIComponent/CheckboxListOverlay/classes/class.ilCheckboxListOverlayGUI.php");
$cb_over = new ilCheckboxListOverlayGUI("tbl_filters_".$this->getId());
$cb_over->setLinkTitle($lng->txt("optional_filters"));
$cb_over->setItems($items);
$cb_over->setFormCmd($this->getParentCmd());
$cb_over->setFieldVar("tblff".$this->getId());
$cb_over->setHiddenVar("tblfsf".$this->getId());
$cb_over->setSelectionHeaderClass("ilTableMenuItem");
$this->tpl->setCurrentBlock("filter_select");
// apply should be the first submit because of enter/return, inserting hidden submit
$this->tpl->setVariable("HIDDEN_CMD_APPLY", $this->filter_cmd);
$this->tpl->setVariable("FILTER_SELECTOR", $cb_over->getHTML());
$this->tpl->parseCurrentBlock();
}
// if any filter
if($ccnt > 0 || count($opt_filter) > 0)
{
$this->tpl->setVariable("TXT_FILTER", $lng->txt("filter"));
if($ccnt > 0)
{
if ($ccnt < $this->getFilterCols())
{
for($i = $ccnt; $i<=$this->getFilterCols(); $i++)
{
$this->tpl->touchBlock("filter_empty_cell");
}
}
$this->tpl->setCurrentBlock("filter_row");
$this->tpl->parseCurrentBlock();
$this->tpl->setCurrentBlock("filter_buttons");
$this->tpl->setVariable("CMD_APPLY", $this->filter_cmd);
$this->tpl->setVariable("TXT_APPLY", $this->filter_cmd_txt
? $this->filter_cmd_txt
: $lng->txt("apply_filter"));
$this->tpl->setVariable("CMD_RESET", $this->reset_cmd);
$this->tpl->setVariable("TXT_RESET", $this->reset_cmd_txt
? $this->reset_cmd_txt
: $lng->txt("reset_filter"));
}
else if(count($opt_filter) > 0)
{
$this->tpl->setCurrentBlock("optional_filter_hint");
$this->tpl->setVariable('TXT_OPT_HINT', $lng->txt('optional_filter_hint'));
$this->tpl->parseCurrentBlock();
}
$this->tpl->setCurrentBlock("filter_section");
$this->tpl->setVariable("FIL_ID", $this->getId());
$this->tpl->parseCurrentBlock();
// (keep) filter hidden?
if ($this->loadProperty("filter") != 1)
{
if (!$this->getDisableFilterHiding())
{
$this->tpl->setCurrentBlock("filter_hidden");
$this->tpl->setVariable("FI_ID", $this->getId());
$this->tpl->parseCurrentBlock();
}
}
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::resetFilter ( )

Reset filter.

Reimplemented in arIndexTableGUI, and ilMailFolderTableGUI.

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

References $_POST, $_REQUEST, $lng, and getFilterItems().

Referenced by ilLPTableBaseGUI\executeCommand(), ilObjTestGUI\fpResetFilterObject(), ilObjTestGUI\npResetFilterObject(), and ilObjSCORMLearningModuleGUI\resetUserTableFilter().

{
global $lng;
$filter = $this->getFilterItems();
$opt_filter = $this->getFilterItems(true);
foreach ($filter as $item)
{
if ($item->checkInput())
{
$item->setValueByArray($_POST);
$item->clearFromSession();
}
}
foreach ($opt_filter as $item)
{
if ($item->checkInput())
{
$item->setValueByArray($_POST);
$item->clearFromSession();
}
}
// #13209
unset($_REQUEST["tbltplcrt"]);
unset($_REQUEST["tbltpldel"]);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::restoreTemplate (   $a_name)

Restore state from template.

Parameters
string$a_name
Returns
bool

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

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

Referenced by __construct().

{
global $ilUser;
$a_name = ilUtil::stripSlashes($a_name);
if(trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID)
{
include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
$storage = new ilTableTemplatesStorage();
$data = $storage->load($this->getContext(), $ilUser->getId(), $a_name);
if(is_array($data))
{
foreach($data as $property => $value)
{
$this->storeProperty($property, $value);
}
}
$data["filter_values"] = unserialize($data["filter_values"]);
if($data["filter_values"])
{
$this->restore_filter_values = $data["filter_values"];
}
$this->restore_filter = true;
return true;
}
return false;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::saveTemplate (   $a_name)

Save current state as template.

Parameters
string$a_name
Returns
bool

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

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

Referenced by fillFooter().

{
global $ilUser;
$a_name = ilUtil::prepareFormOutput($a_name, true);
if(trim($a_name) && $this->getContext() != "" && is_object($ilUser) && $ilUser->getId() != ANONYMOUS_USER_ID)
{
include_once("./Services/Table/classes/class.ilTableTemplatesStorage.php");
$storage = new ilTableTemplatesStorage();
$state = $this->getCurrentState();
$state["filter_values"] = serialize($state["filter_values"]);
$state["selfields"] = serialize($state["selfields"]);
$state["selfilters"] = serialize($state["selfilters"]);
$storage->store($this->getContext(), $ilUser->getId(), $a_name, $state);
return true;
}
return false;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::setCloseCommand (   $a_link)

Add command for closing table.

Parameters
string$a_linkclosing link
Deprecated:

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

{
$this->close_command = $a_link;
}
ilTable2GUI::setCloseFormTag (   $a_val)

Set close form tag.

Parameters
booleanclose form tag

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

{
$this->close_form_tag = $a_val;
}
ilTable2GUI::setContext (   $id)

Set context.

Parameters
string$id

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

Referenced by __construct().

{
if(trim($id))
{
$this->context = $id;
}
}

+ Here is the caller graph for this function:

ilTable2GUI::setCustomPreviousNext (   $a_prev_link,
  $a_next_link 
)

Set custom previous/next links.

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

{
$this->custom_prev_next = true;
$this->custom_prev = $a_prev_link;
$this->custom_next = $a_next_link;
}
ilTable2GUI::setData (   $a_data)
final

set table data public

Parameters
arraytable data

Reimplemented from ilTableGUI.

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

References getExternalSorting().

Referenced by ilCourseStartObjectsTableGUI\__construct(), iliLinkConfirmationTableGUI\__construct(), iliLinkMembersTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilStyleTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilExportTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilTestExpressPageObjectGUI\browseForQuestions(), ilDataCollectionRecordListTableGUI\buildData(), ilSurveyParticipantsGUI\editRatersObject(), ilSurveyEvaluationGUI\evaluationuser(), ilHelpMappingTableGUI\getChapters(), ilClientListTableGUI\getClients(), ilComponentsTableGUI\getComponents(), ilPluginsOverviewTableGUI\getComponents(), ilModulesTableGUI\getComponents(), ilWikiContributorsTableGUI\getContributors(), ilHistoryTableGUI\getDataFromDb(), ilSessionMaterialsTableGUI\getDataFromDb(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilFileSystemTableGUI\getEntries(), ilNewItemGroupTableGUI\getGroups(), ilHelpModuleTableGUI\getHelpModules(), ilPCImageMapTableGUI\getItems(), ilTermUsagesTableGUI\getItems(), ilMediaPoolPageUsagesTableGUI\getItems(), ilLicenseOverviewTableGUI\getItems(), ilSCORMVerificationTableGUI\getItems(), ilTestVerificationTableGUI\getItems(), ilExerciseVerificationTableGUI\getItems(), ilCourseVerificationTableGUI\getItems(), ilObjWorkspaceFolderTableGUI\getItems(), ilMediaObjectUsagesTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilBookingSchedulesTableGUI\getItems(), ilContainerStartObjectsContentTableGUI\getItems(), ilLPObjectStatisticsAdminTableGUI\getItems(), ilCourseGroupingAssignmentTableGUI\getItems(), ilExAssignmentTeamLogTableGUI\getItems(), ilRatingCategoryTableGUI\getItems(), ilPollUserTableGUI\getItems(), ilCourseGroupingTableGUI\getItems(), ilPortfolioTableGUI\getItems(), ilStyleImageTableGUI\getItems(), ilClipboardTableGUI\getItems(), ilPortfolioPageTableGUI\getItems(), ilContributorTableGUI\getItems(), ilPollAnswerTableGUI\getItems(), ilRegistrationCodesTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilWikiExportOrderTableGUI\getItems(), ilBookingObjectsTableGUI\getItems(), ilStyleMediaQueryTableGUI\getItems(), ilRbacLogTableGUI\getItems(), ilLanguageTableGUI\getItems(), ilLDAPRoleMappingTableGUI\getItems(), ilStyleColorTableGUI\getItems(), ilExAssignmentTeamTableGUI\getItems(), ilExAssignmentPeerReviewOverviewTableGUI\getItems(), ilTableTemplatesTableGUI\getItems(), ilAdminSubItemsTableGUI\getItems(), ilImageMapTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilPCIIMTriggerTableGUI\getItems(), ilExAssignmentPeerReviewTableGUI\getItems(), ilCourseParticipantsGroupsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilLPObjectStatisticsDailyTableGUI\getItems(), ilLPObjectStatisticsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilLPObjectStatisticsTypesTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilLPProgressTableGUI\getItems(), ilUserTableGUI\getItems(), ilLPObjectStatisticsLPTableGUI\getItems(), ilTrMatrixTableGUI\getItems(), ilCronManagerTableGUI\getItems(), ilMediaPoolTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilLinksTableGUI\getLinks(), ilItemGroupItemsTableGUI\getMaterials(), ilPageLayoutTableGUI\getPageLayouts(), ilWikiPagesTableGUI\getPages(), ilMilestoneResponsiblesTableGUI\getParticipantsAndResponsibles(), ilSurveySkillAssignmentTableGUI\getQuestions(), ilCopySelfAssQuestionTableGUI\getQuestions(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilObjectivesAlignmentTableGUI\getScos(), ilSurveySkillChangesTableGUI\getSkillLevelsForAppraisee(), ilSurveySkillTableGUI\getSkills(), ilSysStyleCatAssignmentTableGUI\getStyleCatAssignments(), ilSystemStylesTableGUI\getStyles(), ilPCFileListTableGUI\ilPCFileListTableGUI(), ilPCTabsTableGUI\ilPCTabsTableGUI(), ilSubItemSelectionTableGUI\ilSubItemSelectionTableGUI(), ilWikiSearchResultsTableGUI\ilWikiSearchResultsTableGUI(), ilSurveySyncTableGUI\importData(), ilWorkspaceAccessTableGUI\importData(), ilSurveyQuestionTableGUI\importData(), ilWorkspaceShareTableGUI\importData(), ilQuestionCumulatedStatisticsTableGUI\initData(), ilDataBibliographicRecordListTableGUI\initData(), ilSurveyQuestionblockbrowserTableGUI\initData(), ilMarkSchemaTableGUI\initData(), ilSurveyQuestionbrowserTableGUI\initData(), ilTaxonomyAdministrationRepositoryTableGUI\initItems(), ilObjectOwnershipManagementTableGUI\initItems(), SurveyConstraintsTableGUI\initItems(), ilAuthLoginPageEditorTableGUI\parse(), ilSCORMTrackingItemsPerScoTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilSCORMOfflineModeUsersTableGUI\parse(), ilLPCollectionSettingsTableGUI\parse(), ilDidacticTemplateSettingsTableGUI\parse(), ilSCORMTrackingItemsPerUserTableGUI\parse(), ilSCORMTrackingItemsScoTableGUI\parse(), ilObjectTableGUI\parse(), ilOpenIdProviderTableGUI\parse(), ilObjectCustomUserFieldsTableGUI\parse(), ilExAssignmentListTextTableGUI\parse(), ilLuceneAdvancedSearchActivationTableGUI\parse(), ilSCORMTrackingItemPerUserTableGUI\parse(), ilECSCategoryMappingTableGUI\parse(), ilRoleSelectionTableGUI\parse(), ilShibbolethRoleAssignmentTableGUI\parse(), ilCalendarSharedUserListTableGUI\parse(), ilCalendarSharedRoleListTableGUI\parse(), ilConsultationHourGroupTableGUI\parse(), ilWebResourceLinkTableGUI\parse(), ilConsultationHourBookingTableGUI\parse(), ilCalendarSharedListTableGUI\parse(), ilLDAPRoleAssignmentTableGUI\parse(), ilECSNodeMappingTreeTableGUI\parse(), ilObjectRoleTemplateOptionsTableGUI\parse(), ilCalendarInboxSharedTableGUI\parse(), ilECSServerTableGUI\parse(), ilWebResourceEditableLinkTableGUI\parse(), ilCalendarCategoryTableGUI\parse(), ilCourseObjectiveMaterialAssignmentTableGUI\parse(), ilECSReleasedContentTableGUI\parse(), ilConsultationHoursTableGUI\parse(), ilSessionParticipantsTableGUI\parse(), ilCourseObjectiveQuestionsTableGUI\parse(), ilECSImportedContentTableGUI\parse(), ilCourseObjectiveQuestionAssignmentTableGUI\parse(), ilCalendarManageTableGUI\parse(), ilECSCommunityTableGUI\parse(), ilObjectRoleTemplatePermissionTableGUI\parse(), ilGroupParticipantsTableGUI\parse(), ilRoleTableGUI\parse(), ilCourseObjectivesTableGUI\parse(), ilObjectRolePermissionTableGUI\parse(), ilCourseParticipantsTableGUI\parse(), ilExportSelectionTableGUI\parseContainer(), ilOrgUnitOtherRolesTableGUI\parseData(), ilOrgUnitStaffTableGUI\parseData(), ilAdvancedMDFieldTableGUI\parseDefinitions(), ilAdvancedMDRecordExportFilesTableGUI\parseFiles(), ilRepositoryObjectResultTableGUI\parseObjectIds(), ilShopPersonalSettingsTopicsTableGUI\parseRecords(), ilShopTopicsTableGUI\parseRecords(), ilAdvancedMDRecordTableGUI\parseRecords(), ilObjectCopySearchResultTableGUI\parseSearchResults(), ilWebResourceEditableLinkTableGUI\parseSelectedLinks(), ilMDCopyrightTableGUI\parseSelections(), ilObjectCopySelectionTableGUI\parseSource(), ilRepositoryUserResultTableGUI\parseUserIds(), ilTermsOfServiceTableGUI\populate(), ilLinkCheckerTableGUI\prepareHTML(), ilSubscriberTableGUI\readSubscriberData(), ilWaitingListTableGUI\readUserData(), ilCalendarAppointmentsTableGUI\setAppointments(), ilCalendarChangedAppointmentsTableGUI\setAppointments(), ilConditionHandlerTableGUI\setConditions(), ilTestPlayerDynamicQuestionSetGUI\showTrackedQuestionListCmd(), and ilWebResourceEditableLinkTableGUI\updateFromPost().

{
// check column names against given data (to ensure proper sorting)
if(DEVMODE &&
$this->enabled["header"] && $this->enabled["sort"] &&
$this->columns_determined && is_array($this->column) &&
is_array($a_data) && sizeof($a_data) && !$this->getExternalSorting())
{
$check = $a_data;
$check = array_keys(array_shift($check));
foreach($this->column as $col)
{
if($col["sort_field"] && !in_array($col["sort_field"], $check))
{
$invalid[] = $col["sort_field"];
}
}
// this triggers an error, if some columns are not set for some rows
// which may just be a representation of "null" values, e.g.
// ilAdvancedMDValues:queryForRecords works that way.
/* if(sizeof($invalid))
{
trigger_error("The following columns are defined as sortable but".
" cannot be found in the given data: ".implode(", ", $invalid).
". Sorting will not work properly.", E_USER_WARNING);
}*/
}
$this->row_data = $a_data;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::setDefaultOrderDirection (   $a_defaultorderdirection)

Set Default order direction.

Parameters
string$a_defaultorderdirectionDefault order direction

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

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

{
$this->defaultorderdirection = $a_defaultorderdirection;
}

+ Here is the caller graph for this function:

ilTable2GUI::setDefaultOrderField (   $a_defaultorderfield)

Set Default order field.

Parameters
string$a_defaultorderfieldDefault order field

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

Referenced by ilCourseGroupingAssignmentTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilClientListTableGUI\__construct(), ilTermListTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilTrashTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilOpenIdProviderTableGUI\__construct(), ilForumStatisticsTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilExportTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilContributorTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilUserTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilShopPersonalSettingsTopicsTableGUI\__construct(), ilShopTopicsTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyInvitedUsersTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveyExportTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilAddressbookTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilWikiContributorsTableGUI\getContributors(), ilWikiPagesTableGUI\getPages(), ilWikiRecentChangesTableGUI\getRecentChanges(), ilObjectivesAlignmentTableGUI\getScos(), ilFoundUsersTableGUI\ilFoundUsersTableGUI(), ilMilestoneResponsiblesTableGUI\ilMilestoneResponsiblesTableGUI(), ilPDNewsTableGUI\ilPDNewsTableGUI(), ilSCORM2004TrackingTableGUI\ilSCORM2004TrackingTableGUI(), ilSpecialUsersTableGUI\ilSpecialUsersTableGUI(), ilDidacticTemplateSettingsTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationColumns(), ilTestPassManualScoringOverviewTableGUI\initOrdering(), ilTestManScoringParticipantsTableGUI\initOrdering(), ilConsultationHourGroupTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputColumns(), and arIndexTableGUI\setOrderAndSegmentation().

{
$this->defaultorderfield = $a_defaultorderfield;
}

+ Here is the caller graph for this function:

ilTable2GUI::setDisplayAsBlock (   $a_val)

Set display as block.

Parameters
booleandisplay as block

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

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

{
$this->display_as_block = $a_val;
}

+ Here is the caller graph for this function:

ilTable2GUI::setEnableAllCommand (   $a_value)

Enable actions for all entries in current result.

Parameters
bool$a_value

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

Referenced by ilUserTableGUI\__construct().

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

+ Here is the caller graph for this function:

ilTable2GUI::setEnableHeader (   $a_enableheader)

Set Enable Header.

Parameters
boolean$a_enableheaderEnable Header

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

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

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

+ Here is the caller graph for this function:

ilTable2GUI::setEnableTitle (   $a_enabletitle)

Set Enable Title.

Parameters
boolean$a_enabletitleEnable Title

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

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

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

+ Here is the caller graph for this function:

ilTable2GUI::setExportFormats ( array  $formats)

Set available export formats.

Parameters
array$formats

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

References $valid.

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

{
$this->export_formats = array();
// #11339
$valid = array(self::EXPORT_EXCEL => "tbl_export_excel",
self::EXPORT_CSV => "tbl_export_csv");
foreach($formats as $format)
{
if(array_key_exists($format, $valid))
{
$this->export_formats[$format] = $valid[$format];
}
}
}

+ Here is the caller graph for this function:

ilTable2GUI::setFilterCols (   $a_val)

Set filter columns.

Parameters
intnumber of filter columns

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

{
$this->filter_cols = $a_val;
}
ilTable2GUI::SetFilterValue ( ilFormPropertyGUI  $a_item,
  $a_value 
)
protected

Set current filter value.

Parameters
ilFormPropertyGUI$a_item
mixed$a_value

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

References IL_CAL_DATE, and ilFormPropertyGUI\writeToSession().

{
if(method_exists($a_item, "setChecked"))
{
$a_item->setChecked($a_value);
}
else if(method_exists($a_item, "setValue"))
{
$a_item->setValue($a_value);
}
else if(method_exists($a_item, "setDate"))
{
$a_item->setDate(new ilDate($a_value, IL_CAL_DATE));
}
$a_item->writeToSession();
}

+ Here is the call graph for this function:

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

Set Form action parameter.

Parameters
string$a_form_actionForm action
bvool$a_multipartForm multipart status

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

Referenced by ilCourseGroupingAssignmentTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), iliLinkConfirmationTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), iliLinkMembersTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilImportantPagesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilTermListTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilModulesTableGUI\__construct(), ilTrashTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilStyleTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilExportTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilOpenIdProviderTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilTestSkillQuestionAssignmentsTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilShopTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilContributorTableGUI\__construct(), ilTrackedQuestionsTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilUserTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilShoppingCartTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilShopTopicsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilShopPersonalSettingsTopicsTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilObjBibliographicAdminTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyInvitedUsersTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyExportTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilAddressbookTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilFoundUsersTableGUI\ilFoundUsersTableGUI(), ilLinksTableGUI\ilLinksTableGUI(), ilMediaCastTableGUI\ilMediaCastTableGUI(), ilMilestoneResponsiblesTableGUI\ilMilestoneResponsiblesTableGUI(), ilNewsForContextTableGUI\ilNewsForContextTableGUI(), ilPCFileListTableGUI\ilPCFileListTableGUI(), ilPCTabsTableGUI\ilPCTabsTableGUI(), ilPDNewsTableGUI\ilPDNewsTableGUI(), ilSCORM2004TrackingTableGUI\ilSCORM2004TrackingTableGUI(), ilSpecialUsersTableGUI\ilSpecialUsersTableGUI(), ilSubItemSelectionTableGUI\ilSubItemSelectionTableGUI(), ilWikiContributorsTableGUI\ilWikiContributorsTableGUI(), ilWikiPagesTableGUI\ilWikiPagesTableGUI(), ilWikiRecentChangesTableGUI\ilWikiRecentChangesTableGUI(), ilWikiSearchResultsTableGUI\ilWikiSearchResultsTableGUI(), ilDidacticTemplateSettingsTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilAssQuestionHintsTableGUI\initAdministrationCommands(), arDeleteGUI\initFormAction(), arIndexTableGUI\initFormAction(), ilForumTopicTableGUI\initMergeThreadsTable(), ilConsultationHourGroupTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilAssQuestionHintsTableGUI\initTestoutputCommands(), and ilLinkCheckerTableGUI\prepareHTML().

{
$this->form_action = $a_form_action;
$this->form_multipart = (bool)$a_multipart;
}

+ Here is the caller graph for this function:

ilTable2GUI::setFormName (   $a_formname)

Set Form name.

Parameters
string$a_formnameForm name

Reimplemented from ilTableGUI.

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

Referenced by iliLinkConfirmationTableGUI\__construct(), iliLinkMembersTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilTrackedQuestionsTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyInvitedUsersTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyExportTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilSessionParticipantsTableGUI\init(), ilAuthLoginPageEditorTableGUI\initTable(), and ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\setTableIdentifiers().

{
$this->formname = $a_formname;
}

+ Here is the caller graph for this function:

ilTable2GUI::setHeaderHTML (   $html)

set header html

Parameters
string$html

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

{
$this->headerHTML = $html;
}
ilTable2GUI::setId (   $a_val)

Set id.

Parameters
stringelement id

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

References getPrefix(), and setPrefix().

Referenced by ilNotificationSettingsTable\__construct(), ilPageHistoryTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilSCORMTrackingItemsPerScoTableGUI\__construct(), ilECSServerTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilSCORMTrackingUsersTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSCORMTrackingItemsPerUserTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilDidacticTemplateSettingsTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilModulesTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilSCORMTrackingItemsScoTableGUI\__construct(), ilSCORMTrackingItemPerUserTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilObjectTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilPCIIMTriggerTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilConsultationHourGroupTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilTestSkillQuestionAssignmentsTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilConsultationHourBookingTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilUserTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilLOTestAssignmentTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilShopTopicsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilShopPersonalSettingsTopicsTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilObjBibliographicAdminTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilRoleTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilAddressbookTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), arIndexTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilAuthLoginPageEditorTableGUI\initTable(), and ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\setTableIdentifiers().

{
$this->id = $a_val;
if ($this->getPrefix() == "")
{
$this->setPrefix($a_val);
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::setIsDataTable (   $a_val)

Set is data table.

Parameters
booleanis data table

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

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

{
$this->datatable = $a_val;
}

+ Here is the caller graph for this function:

ilTable2GUI::setOpenFormTag (   $a_val)

Set open form tag.

Parameters
booleanopen form tag

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

Referenced by ilUploadDirFilesTableGUI\__construct(), and ilObjTaxonomyGUI\listNodes().

{
$this->open_form_tag = $a_val;
}

+ Here is the caller graph for this function:

ilTable2GUI::setOrderField (   $a_order_field)

set order column

Parameters
string(array) field name for ordering

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

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

{
$this->order_field = $a_order_field;
}

+ Here is the caller graph for this function:

ilTable2GUI::setOrderLink (   $sort_field,
  $order_dir 
)

Reimplemented from ilTableGUI.

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

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

Referenced by fillHeader().

{
global $ilCtrl, $ilUser;
$hash = "";
if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization"))
{
$hash = "#".$this->getTopAnchor();
}
$old = $_GET[$this->getNavParameter()];
// set order link
$ilCtrl->setParameter($this->parent_obj,
$this->getNavParameter(),
$sort_field.":".$order_dir.":".$this->offset);
$this->tpl->setVariable("TBL_ORDER_LINK",
$ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd).$hash);
// set old value of nav variable
$ilCtrl->setParameter($this->parent_obj,
$this->getNavParameter(), $old);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::setPrefix (   $a_prefix)
final

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

Parameters
stringprefix

Reimplemented from ilTableGUI.

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

Referenced by iliLinkConfirmationTableGUI\__construct(), iliLinkMembersTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyInvitedUsersTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), setId(), and ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\setTableIdentifiers().

{
$this->prefix = $a_prefix;
}

+ Here is the caller graph for this function:

ilTable2GUI::setPreventDoubleSubmission (   $a_val)

Set prevent double submission.

Parameters
bool$a_valprevent double submission

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

{
$this->prevent_double_submission = $a_val;
}
ilTable2GUI::setPrintMode (   $a_value = false)

Toogle print mode.

Parameters
bool$a_value

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

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

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

+ Here is the caller graph for this function:

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

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

References $row_selector_label.

Referenced by ilForumTopicTableGUI\initMergeThreadsTable().

{
$this->row_selector_label = $row_selector_label;
return $this;
}

+ Here is the caller graph for this function:

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

Set row template.

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

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

Referenced by ilNotificationSettingsTable\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), iliLinkConfirmationTableGUI\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilUserLPTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilTaxonomyAdministrationRepositoryTableGUI\__construct(), iliLinkMembersTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilObjWorkspaceFolderTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilLDAPRoleMappingTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilRoleAdoptPermissionTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilObjectOwnershipManagementTableGUI\__construct(), ilResultsByQuestionTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilSystemStylesTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilTrSummaryTableGUI\__construct(), ilTrUserObjectsPropsTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilClientListTableGUI\__construct(), ilSetupLanguageTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilTermListTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilSurveySkillAssignmentTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilPluginsOverviewTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilLanguageExtTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilObjectTranslationTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilModulesTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilTrashTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilStyleTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilImageMapTableGUI\__construct(), ilObjectTranslation2TableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilForumStatisticsTableGUI\__construct(), ilBookingSchedulesTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilExportTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilObjectTableGUI\__construct(), ilOpenIdProviderTableGUI\__construct(), ilRatingCategoryTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilTestPassManualScoringOverviewTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilPCIIMTriggerTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilLMQuestionListTableGUI\__construct(), ilTestSkillQuestionAssignmentsTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilAssessmentFolderLogTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilTrackedQuestionsTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilContributorTableGUI\__construct(), ilRendererTableGUI\__construct(), ilTestSkillLevelThresholdsTableGUI\__construct(), ilUserTableGUI\__construct(), ilSCORMTrackingItemsTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilTestHistoryTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilSCORM2004TrackingItemsTableGUI\__construct(), ilQuestionPoolPrintViewTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilEvaluationAllTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilTestManScoringParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilTrMatrixTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilShopTopicsTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilAdvancedMDRecordTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilShopPersonalSettingsTopicsTableGUI\__construct(), ilOrgUnitTypeTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilTestPassOverviewTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilObjBibliographicAdminTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilListOfQuestionsTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilTrObjectUsersPropsTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilSurveyInvitedUsersTableGUI\__construct(), ilSurveyCodesEditTableGUI\__construct(), ilRoleSelectionTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectiveQuestionsTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilAdvancedMDRecordExportFilesTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilGroupEditParticipantsTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilSurveySavePhraseTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilTestDynamicQuestionSetStatisticTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSurveyExportTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSessionFileTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCourseInfoFileTableGUI\__construct(), ilECSReleasedContentTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilECSImportedContentTableGUI\__construct(), ilLDAPRoleAssignmentTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilShibbolethRoleAssignmentTableGUI\__construct(), ilMDCopyrightTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilAdvancedMDFieldTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilCourseObjectiveMaterialAssignmentTableGUI\__construct(), ilAddressbookTableGUI\__construct(), ilECSCommunityTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilCourseEditParticipantsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilCourseObjectiveQuestionAssignmentTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilFoundUsersTableGUI\ilFoundUsersTableGUI(), ilLinksTableGUI\ilLinksTableGUI(), ilMediaCastTableGUI\ilMediaCastTableGUI(), ilMilestoneResponsiblesTableGUI\ilMilestoneResponsiblesTableGUI(), ilNewsForContextTableGUI\ilNewsForContextTableGUI(), ilPCFileListTableGUI\ilPCFileListTableGUI(), ilPCTabsTableGUI\ilPCTabsTableGUI(), ilPDNewsTableGUI\ilPDNewsTableGUI(), ilSCORM2004TrackingTableGUI\ilSCORM2004TrackingTableGUI(), ilSpecialUsersTableGUI\ilSpecialUsersTableGUI(), ilSubItemSelectionTableGUI\ilSubItemSelectionTableGUI(), ilWikiContributorsTableGUI\ilWikiContributorsTableGUI(), ilWikiPagesTableGUI\ilWikiPagesTableGUI(), ilWikiRecentChangesTableGUI\ilWikiRecentChangesTableGUI(), ilWikiSearchResultsTableGUI\ilWikiSearchResultsTableGUI(), ilDidacticTemplateSettingsTableGUI\init(), ilLOTestAssignmentTableGUI\init(), ilRoleTableGUI\init(), ilSessionParticipantsTableGUI\init(), ilForumTopicTableGUI\initMergeThreadsTable(), ilECSServerTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), arIndexTableGUI\initTableRowTemplate(), and ilLinkCheckerTableGUI\prepareHTML().

{
$this->row_template = $a_template;
$this->row_template_dir = $a_template_dir;
}

+ Here is the caller graph for this function:

ilTable2GUI::setSelectAllCheckbox (   $a_select_all_checkbox)

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

Parameters
string$a_select_all_checkboxname of the checkbox

Reimplemented from ilTableGUI.

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

Referenced by ilNotificationSettingsTable\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), iliLinkMembersTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), SurveyConstraintsTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilLanguageTableGUI\__construct(), ilAdminSubItemsTableGUI\__construct(), ilTrashTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilAccountCodesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilClipboardTableGUI\__construct(), ilRegistrationCodesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilOpenIdProviderTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilBookmarkAdministrationTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilAssessmentFolderLogAdministrationTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), assFileUploadFileTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilUserTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilTestQuestionBrowserTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilTestQuestionsTableGUI\__construct(), ilSurveyCodesTableGUI\__construct(), ilSurveyInvitedUsersTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilSurveyPhrasesTableGUI\__construct(), ilLuceneAdvancedSearchActivationTableGUI\__construct(), ilCalendarSharedListTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyExportTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilCalendarCategoryTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilSurveyQuestionblockbrowserTableGUI\__construct(), ilCalendarSharedRoleListTableGUI\__construct(), ilCalendarSharedUserListTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilSurveyQuestionbrowserTableGUI\__construct(), ilAddressbookTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilSCORM2004TrackingTableGUI\ilSCORM2004TrackingTableGUI(), ilDidacticTemplateSettingsTableGUI\init(), ilRoleTableGUI\init(), arIndexTableGUI\initMultiItemActionsButton(), ilConsultationHourBookingTableGUI\initTable(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilAuthLoginPageEditorTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), and ilShopTopicsTableGUI\parseRecords().

{
$this->select_all_checkbox = $a_select_all_checkbox;
}

+ Here is the caller graph for this function:

ilTable2GUI::setShowRowsSelector (   $a_value)

Toggle rows-per-page selector.

Parameters
bool$a_value

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

Referenced by ilTermListTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPCollectionSettingsTableGUI\__construct(), ilPresentationListTableGUI\__construct(), ilDataBibliographicRecordListTableGUI\__construct(), ilSurveyQuestionTableGUI\__construct(), ilAssignedUsersTableGUI\__construct(), ilUserTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilObjectRoleTemplateOptionsTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilObjectRoleTemplatePermissionTableGUI\__construct(), ilGroupParticipantsTableGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilSurveyResultsCumulatedTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilSurveyResultsUserTableGUI\__construct(), ilCalendarAppointmentsTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSurveyMaintenanceTableGUI\__construct(), ilCalendarChangedAppointmentsTableGUI\__construct(), ilSessionParticipantsTableGUI\__construct(), ilCourseParticipantsTableGUI\__construct(), ilMediaCastTableGUI\ilMediaCastTableGUI(), ilWikiContributorsTableGUI\ilWikiContributorsTableGUI(), ilWikiPagesTableGUI\ilWikiPagesTableGUI(), ilWikiRecentChangesTableGUI\ilWikiRecentChangesTableGUI(), ilRoleTableGUI\init(), ilForumTopicTableGUI\initMergeThreadsTable(), arDeleteGUI\initRowSelector(), arIndexTableGUI\initRowSelector(), and ilConsultationHourBookingTableGUI\initTable().

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

+ Here is the caller graph for this function:

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

Set title and title icon.

Reimplemented from ilTableGUI.

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

Referenced by ilNotificationSettingsTable\__construct(), ilCourseGroupingAssignmentTableGUI\__construct(), ilCourseGroupingTableGUI\__construct(), ilCourseStartObjectsTableGUI\__construct(), ilTimingOverviewTableGUI\__construct(), ilPageLayoutTableGUI\__construct(), ilPageHistoryTableGUI\__construct(), ilObjectCustomUserFieldsTableGUI\__construct(), ilNewItemGroupTableGUI\__construct(), ilContainerStartObjectsTableGUI\__construct(), ilLicenseOverviewTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilComponentsTableGUI\__construct(), ilPollAnswerTableGUI\__construct(), ilObjectivesAlignmentTableGUI\__construct(), ilScormSpecialPagesTableGUI\__construct(), ilContainerStartObjectsContentTableGUI\__construct(), ilExcDeliveredFilesTableGUI\__construct(), ilBenchmarkTableGUI\__construct(), ilMobSubtitleTableGUI\__construct(), ilTestAverageReachedPointsTableGUI\__construct(), ilObjClipboardTableGUI\__construct(), ilLMBlockedUsersTableGUI\__construct(), ilLMGlossaryTableGUI\__construct(), ilModulesTableGUI\__construct(), ilSearchResultTableGUI\__construct(), ilPersonalSkillTableGUI\__construct(), ilLMMenuItemsTableGUI\__construct(), ilSkillLevelProfileAssignmentTableGUI\__construct(), ilLMPagesTableGUI\__construct(), ilTestVerificationTableGUI\__construct(), ilSkillProfileLevelsTableGUI\__construct(), ilSkillProfileTableGUI\__construct(), ilSkillProfileUserTableGUI\__construct(), ilSkillSelfEvalSkillTableGUI\__construct(), ilContentStylesTableGUI\__construct(), ilPasteStyleCharacteristicTableGUI\__construct(), ilStyleImageTableGUI\__construct(), ilExerciseVerificationTableGUI\__construct(), ilSysStyleCatAssignmentTableGUI\__construct(), ilUploadDirFilesTableGUI\__construct(), ilTaxonomyListTableGUI\__construct(), ilCourseVerificationTableGUI\__construct(), ilImportantPagesTableGUI\__construct(), ilLPObjectStatisticsAdminTableGUI\__construct(), ilLPObjectStatisticsDailyTableGUI\__construct(), ilLPObjectStatisticsTableGUI\__construct(), ilLPObjectStatisticsTypesTableGUI\__construct(), ilWikiPageTemplatesTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilConfirmationTableGUI\__construct(), ilFeedbackConfirmationTable2GUI\__construct(), ilClientListTableGUI\__construct(), ilAccessKeyTableGUI\__construct(), ilSettingsTemplateTableGUI\__construct(), ilExAssignmentListTextTableGUI\__construct(), ilTermQuickListTableGUI\__construct(), ilSCORMVerificationTableGUI\__construct(), ilTermListTableGUI\__construct(), ilSurveySkillTableGUI\__construct(), ilPageMultiLangTableGUI\__construct(), ilPCIIMOverlaysTableGUI\__construct(), ilTermUsagesTableGUI\__construct(), ilCronManagerTableGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilHelpModuleTableGUI\__construct(), ilTaxonomyTableGUI\__construct(), ilTaxAssignedItemsTableGUI\__construct(), ilRepDependenciesTableGUI\__construct(), ilSkillLevelResourcesTableGUI\__construct(), ilMediaPoolPageUsagesTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilStyleTableGUI\__construct(), ilUserForTagTableGUI\__construct(), ilPCIIMPopupTableGUI\__construct(), ilLPProgressTableGUI\__construct(), ilPortfolioTableGUI\__construct(), ilPublicSubmissionsTableGUI\__construct(), ilClipboardTableGUI\__construct(), ilUserFieldSettingsTableGUI\__construct(), ilExGradesTableGUI\__construct(), ilAssignmentsTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilHelpTooltipTableGUI\__construct(), ilMediaObjectUsagesTableGUI\__construct(), ilOpenIdProviderTableGUI\__construct(), ilRepositoryObjectResultTableGUI\__construct(), ilSelfEvaluationSimpleTableGUI\__construct(), ilSkillAssignMaterialsTableGUI\__construct(), ilSelfEvaluationTableGUI\__construct(), ilSkillLevelTableGUI\__construct(), ilSurveySkillChangesTableGUI\__construct(), ilExportTableGUI\__construct(), ilExParticipantTableGUI\__construct(), ilExportIDTableGUI\__construct(), ilExAssignmentTeamLogTableGUI\__construct(), ilCustomUserFieldSettingsTableGUI\__construct(), ilSurveySyncTableGUI\__construct(), ilFileSystemTableGUI\__construct(), ilCourseParticipantsGroupsTableGUI\__construct(), ilTestAggregatedResultsTableGUI\__construct(), ilTestInviteGroupsTableGUI\__construct(), ilTestInviteRolesTableGUI\__construct(), ilTestInviteUsersTableGUI\__construct(), ilObjectCopySelectionTableGUI\__construct(), ilRbacLogTableGUI\__construct(), ilHelpMappingTableGUI\__construct(), ilExAssignmentPeerReviewOverviewTableGUI\__construct(), ilTrackedQuestionsTableGUI\__construct(), ilRendererTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilSkillCatTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilECSNodeMappingTreeTableGUI\__construct(), ilPortfolioPageTableGUI\__construct(), ilContributorTableGUI\__construct(), ilCopySelfAssQuestionTableGUI\__construct(), ilWebResourceEditableLinkTableGUI\__construct(), ilDataCollectionFieldListTableGUI\__construct(), ilExportSelectionTableGUI\__construct(), ilTestFixedParticipantsTableGUI\__construct(), ilWorkspaceAccessTableGUI\__construct(), ilBannedUsersTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilExerciseMemberTableGUI\__construct(), ilWikiExportOrderTableGUI\__construct(), ilFileVersionTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilTestParticipantsTableGUI\__construct(), ilRepositoryUserResultTableGUI\__construct(), ilLPObjectStatisticsLPTableGUI\__construct(), ilObjBibliographicAdminTableGUI\__construct(), ilTestPassDetailsOverviewTableGUI\__construct(), ilMailSearchCoursesMembersTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilMailSearchCoursesTableGUI\__construct(), ilChatroomSmiliesTableGUI\__construct(), ilBookingObjectsTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilExAssignmentPeerReviewTableGUI\__construct(), ilExAssignmentTeamTableGUI\__construct(), ilObjectRolePermissionTableGUI\__construct(), ilBookingReservationsTableGUI\__construct(), SurveyMaterialsSourceTableGUI\__construct(), ilStyleColorTableGUI\__construct(), ilTableTemplatesTableGUI\__construct(), ilStyleMediaQueryTableGUI\__construct(), ilSurveyMaterialsTableGUI\__construct(), ilECSCategoryMappingTableGUI\__construct(), ilSurveyInvitedUsersTableGUI\__construct(), ilSurveyQuestionPoolExportTableGUI\__construct(), ilSurveyAppraiseesTableGUI\__construct(), ilSCORM2004ExportTableGUI\__construct(), ilObjectCopySearchResultTableGUI\__construct(), ilCalendarInboxSharedTableGUI\__construct(), ilAddressbookTableGUI\__construct(), ilAssQuestionHintsTableGUI\__construct(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\build(), ilECSSettingsGUI\communities(), ilLinksTableGUI\ilLinksTableGUI(), ilMilestoneResponsiblesTableGUI\ilMilestoneResponsiblesTableGUI(), ilPCFileListTableGUI\ilPCFileListTableGUI(), ilPCTabsTableGUI\ilPCTabsTableGUI(), ilSubItemSelectionTableGUI\ilSubItemSelectionTableGUI(), ilWikiContributorsTableGUI\ilWikiContributorsTableGUI(), ilWikiPagesTableGUI\ilWikiPagesTableGUI(), ilWikiRecentChangesTableGUI\ilWikiRecentChangesTableGUI(), ilWikiSearchResultsTableGUI\ilWikiSearchResultsTableGUI(), ilDidacticTemplateSettingsTableGUI\init(), ilListOfQuestionsTableGUI\init(), ilRoleTableGUI\init(), ilTestPassDetailsOverviewTableGUI\initColumns(), ilForumTopicTableGUI\initMergeThreadsTable(), ilECSServerTableGUI\initTable(), ilConsultationHourGroupTableGUI\initTable(), ilConsultationHourBookingTableGUI\initTable(), ilHistoryTableGUI\initTable(), ilSCORMTrackingItemsPerScoTableGUI\initTable(), ilSCORMOfflineModeUsersTableGUI\initTable(), ilSCORMTrackingItemsPerUserTableGUI\initTable(), ilSCORMTrackingUsersTableGUI\initTable(), ilSCORMTrackingItemsScoTableGUI\initTable(), ilConditionHandlerTableGUI\initTable(), ilSCORMTrackingItemPerUserTableGUI\initTable(), ilLPCollectionSettingsTableGUI\initTable(), ilTestDynamicQuestionSetStatisticTableGUI\initTitle(), ilLPTableBaseGUI\parseTitle(), ilGlobalUnitCategoryTableGUI\populateTitle(), ilLocalUnitCategoryTableGUI\populateTitle(), ilLinkCheckerTableGUI\prepareHTML(), ilLDAPSettingsGUI\roleMapping(), and ilMailFolderTableGUI\setTitleData().

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

+ Here is the caller graph for this function:

ilTable2GUI::setTopAnchor (   $a_val)

Set top anchor.

Parameters
stringtop anchor

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

Referenced by ilBookmarkAdministrationTableGUI\__construct().

{
$this->top_anchor = $a_val;
}

+ Here is the caller graph for this function:

ilTable2GUI::storeNavParameter ( )

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

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

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

{
if ($this->getOrderField() != "")
{
$this->storeProperty("order", $this->getOrderField());
}
if ($this->getOrderDirection() != "")
{
$this->storeProperty("direction", $this->getOrderDirection());
}
//echo "-".$this->getOffset()."-";
if ($this->getOffset() !== "")
{
$this->storeProperty("offset", $this->getOffset());
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::storeProperty (   $type,
  $value 
)

Store table property.

Parameters
string$type
mixed$value

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

References $ilUser, and getId().

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

{
global $ilUser;
if(is_object($ilUser) && $this->getId() != "")
{
include_once("./Services/Table/classes/class.ilTablePropertiesStorage.php");
$tab_prop = new ilTablePropertiesStorage();
$tab_prop->storeProperty($this->getId(), $ilUser->getId(), $type, $value);
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilTable2GUI::writeFilterToSession ( )

Write filter values to session.

Reimplemented in ilMailFolderTableGUI, and ilPresentationListTableGUI.

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

References $_POST, $_REQUEST, $lng, and getFilterItems().

Referenced by arIndexTableGUI\applyFilter(), ilObjSCORMLearningModuleGUI\applyUserTableFilter(), ilLPTableBaseGUI\executeCommand(), ilDataCollectionRecordListTableGUI\fillHeaderExcel(), ilObjTestGUI\fpSetFilterObject(), and ilObjTestGUI\npSetFilterObject().

{
global $lng;
$filter = $this->getFilterItems();
$opt_filter = $this->getFilterItems(true);
foreach ($filter as $item)
{
if ($item->checkInput())
{
$item->setValueByArray($_POST);
$item->writeToSession();
}
}
foreach ($opt_filter as $item)
{
if ($item->checkInput())
{
$item->setValueByArray($_POST);
$item->writeToSession();
}
}
// #13209
unset($_REQUEST["tbltplcrt"]);
unset($_REQUEST["tbltpldel"]);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

ilTable2GUI::$close_command = ""
protected

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

ilTable2GUI::$close_form_tag = true
protected

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

Referenced by getCloseFormTag().

ilTable2GUI::$columns_determined = false
protected

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

ilTable2GUI::$disable_filter_hiding = false
protected

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

Referenced by getDisableFilterHiding().

ilTable2GUI::$enable_command_for_all
protected

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

ilTable2GUI::$export_formats
protected

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

ilTable2GUI::$export_mode
protected

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

Referenced by getExportMode().

ilTable2GUI::$ext_seg = false
protected

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

Referenced by getExternalSegmentation().

ilTable2GUI::$ext_sort = false
protected

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

Referenced by getExternalSorting().

ilTable2GUI::$filter_cmd = 'applyFilter'
protected

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

Referenced by getFilterCommand().

ilTable2GUI::$filter_cols = 5
protected

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

Referenced by getFilterCols().

ilTable2GUI::$filters = array()
protected

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

Referenced by getFilterItems().

ilTable2GUI::$filters_determined = false
protected

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

ilTable2GUI::$headerHTML
private

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

ilTable2GUI::$limit_determined = false
protected

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

ilTable2GUI::$mi_sel_buttons = null
protected

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

ilTable2GUI::$nav_determined = false
protected

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

ilTable2GUI::$open_form_tag = true
protected

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

Referenced by getOpenFormTag().

ilTable2GUI::$optional_filters = array()
protected

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

Referenced by getFilterItems().

ilTable2GUI::$prevent_double_submission = true
protected

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

Referenced by getPreventDoubleSubmission().

ilTable2GUI::$print_mode
protected

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

Referenced by getPrintMode().

ilTable2GUI::$reset_cmd = 'resetFilter'
protected

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

Referenced by getResetCommand().

ilTable2GUI::$restore_filter
protected

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

ilTable2GUI::$restore_filter_values
protected

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

Referenced by addFilterItem().

ilTable2GUI::$row_selector_label
protected

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

Referenced by getRowSelectorLabel(), and setRowSelectorLabel().

ilTable2GUI::$selectable_columns = array()
protected
ilTable2GUI::$selected_column = array()
protected

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

Referenced by getCurrentState().

ilTable2GUI::$selected_filter = false
protected

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

ilTable2GUI::$show_rows_selector = true
protected

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

Referenced by getShowRowsSelector().

ilTable2GUI::$show_templates = false
protected

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

Referenced by getShowTemplates().

ilTable2GUI::$sortable_fields = array()
protected

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

ilTable2GUI::$top_anchor = "il_table_top"
protected

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

Referenced by getTopAnchor().

ilTable2GUI::$top_commands = true
protected

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

Referenced by getTopCommands().

const ilTable2GUI::ACTION_ALL_LIMIT = 1000

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

Referenced by getAllCommandLimit().

const ilTable2GUI::EXPORT_CSV = 2

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

const ilTable2GUI::EXPORT_EXCEL = 1
const ilTable2GUI::FILTER_DATE = 3

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

const ilTable2GUI::FILTER_DATETIME_RANGE = 8
const ilTable2GUI::FILTER_DURATION_RANGE = 7
const ilTable2GUI::FILTER_LANGUAGE = 4

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