ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilQuestionBrowserTableGUI Class Reference
+ Inheritance diagram for ilQuestionBrowserTableGUI:
+ Collaboration diagram for ilQuestionBrowserTableGUI:

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from ilTable2GUI
static getAllCommandLimit ()
 Get maximum number of entries to enable actions for all. More...
 
- Data Fields inherited from ilTable2GUI
const FILTER_TEXT = 1
 
const FILTER_SELECT = 2
 
const FILTER_DATE = 3
 
const FILTER_LANGUAGE = 4
 
const FILTER_NUMBER_RANGE = 5
 
const FILTER_DATE_RANGE = 6
 
const FILTER_DURATION_RANGE = 7
 
const FILTER_DATETIME_RANGE = 8
 
const FILTER_CHECKBOX = 9
 
const EXPORT_EXCEL = 1
 
const EXPORT_CSV = 2
 
const ACTION_ALL_LIMIT = 1000
 
- Data Fields inherited from ilTableGUI
 $title
 
 $icon
 
 $icon_alt
 
 $help_page
 
 $help_icon
 
 $help_icon_alt
 
 $header_names
 
 $header_vars
 
 $linkbar_vars
 
 $data
 
 $column_count
 
 $column_width
 
 $max_count
 
 $limit
 
 $max_limit = false
 
 $offset
 
 $order_column
 
 $order_direction
 
 $footer_style
 
 $footer_previous
 
 $footer_next
 
 $lang_support = true
 
 $global_tpl
 
 $form_name
 
 $select_all_checkbox
 
 $action_buttons
 
 $prefix
 
 $base = ""
 
 $enabled
 
 $styles
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilQuestionBrowserTableGUI::__construct (   $a_parent_obj,
  $a_parent_cmd,
  $a_write_access = false,
  $confirmdelete = false,
  $taxIds = array(),
  $enableCommenting = false 
)

Constructor.

public

Parameters

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

References Vendor\Package\$c, $confirmdelete, $DIC, $ilCtrl, ilTableGUI\$lng, $taxIds, ILIAS\GlobalScreen\Provider\__construct(), ilTable2GUI\addColumn(), ilTable2GUI\addCommandButton(), ilTable2GUI\addMultiCommand(), ilTableGUI\disable(), ilTableGUI\enable(), ilTable2GUI\getSelectedColumns(), getWriteAccess(), IL_NOTE_PUBLIC, initFilter(), ilNoteGUI\initJavascript(), isQuestionCommentingEnabled(), ilTable2GUI\setDefaultOrderDirection(), ilTable2GUI\setDefaultOrderField(), ilTable2GUI\setFilterCommand(), ilTable2GUI\setFormAction(), ilTable2GUI\setFormName(), ilTable2GUI\setId(), setQuestionCommentingEnabled(), ilTable2GUI\setResetCommand(), ilTable2GUI\setRowTemplate(), ilTable2GUI\setSelectAllCheckbox(), ilTable2GUI\setShowRowsSelector(), ilTableGUI\setStyle(), and setWriteAccess().

41  {
42  $this->setQuestionCommentingEnabled($enableCommenting);
43 
44  // Bugfix: #0019539
45  if ($confirmdelete) {
46  $this->setId("qpl_confirm_del_" . $a_parent_obj->object->getRefId());
47  } else {
48  $this->setId("qpl_qst_brows_" . $a_parent_obj->object->getRefId());
49  }
50 
51  parent::__construct($a_parent_obj, $a_parent_cmd);
52 
53  global $DIC;
54  $lng = $DIC['lng'];
55  $ilCtrl = $DIC['ilCtrl'];
56 
57  $this->lng = $lng;
58  $this->ctrl = $ilCtrl;
59 
60  $this->confirmdelete = $confirmdelete;
61  $this->setWriteAccess($a_write_access);
62  $this->taxIds = $taxIds;
63 
64  $qplSetting = new ilSetting("qpl");
65 
66  $this->setFormName('questionbrowser');
67  $this->setStyle('table', 'fullwidth');
68  if (!$confirmdelete) {
69  $this->addColumn('', '', '1%');
70  $this->addColumn($this->lng->txt("title"), 'title', '');
71  foreach ($this->getSelectedColumns() as $c) {
72  if (strcmp($c, 'description') == 0) {
73  $this->addColumn($this->lng->txt("description"), 'description', '');
74  }
75  if (strcmp($c, 'type') == 0) {
76  $this->addColumn($this->lng->txt("question_type"), 'ttype', '');
77  }
78  // According to mantis #12713
79  if (strcmp($c, 'points') == 0) {
80  $this->addColumn($this->lng->txt("points"), 'points', '', false, 'ilCenterForced');
81  }
82  if (strcmp($c, 'statistics') == 0) {
83  $this->addColumn($this->lng->txt('statistics'), '', '');
84  }
85  if (strcmp($c, 'author') == 0) {
86  $this->addColumn($this->lng->txt("author"), 'author', '');
87  }
88  if ($c == 'lifecycle') {
89  $this->addColumn($this->lng->txt('qst_lifecycle'), 'lifecycle', '');
90  }
91  if ($this->isQuestionCommentingEnabled() && $c == 'comments') {
92  $this->addColumn($this->lng->txt("ass_comments"), 'comments', '');
93  }
94  if (strcmp($c, 'created') == 0) {
95  $this->addColumn($this->lng->txt("create_date"), 'created', '');
96  }
97  if (strcmp($c, 'tstamp') == 0) {
98  $this->addColumn($this->lng->txt("last_update"), 'tstamp', '');
99  }
100  if (strcmp($c, 'working_time') == 0) {
101  $this->addColumn($this->lng->txt("working_time"), 'working_time', '');
102  }
103  }
104  $this->addColumn($this->lng->txt('actions'), '');
105  $this->setSelectAllCheckbox('q_id');
106  } else {
107  $this->addColumn($this->lng->txt("title"), 'title', '');
108  foreach ($this->getSelectedColumns() as $c) {
109  if (strcmp($c, 'description') == 0) {
110  $this->addColumn($this->lng->txt("description"), 'description', '');
111  }
112  if (strcmp($c, 'type') == 0) {
113  $this->addColumn($this->lng->txt("question_type"), 'ttype', '');
114  }
115  }
116  }
117 
118  if ($this->getWriteAccess()) {
119  if ($confirmdelete) {
120  $this->addCommandButton('confirmDeleteQuestions', $this->lng->txt('confirm'));
121  $this->addCommandButton('cancelDeleteQuestions', $this->lng->txt('cancel'));
122  } else {
123  $this->addMultiCommand('copy', $this->lng->txt('copy'));
124  $this->addMultiCommand('move', $this->lng->txt('move'));
125  $this->addMultiCommand('exportQuestion', $this->lng->txt('export'));
126  $this->addMultiCommand('deleteQuestions', $this->lng->txt('delete'));
127  }
128  }
129 
130  $this->setRowTemplate("tpl.il_as_qpl_questionbrowser_row.html", "Modules/TestQuestionPool");
131 
132  $this->setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
133  $this->setDefaultOrderField("title");
134  $this->setDefaultOrderDirection("asc");
135 
136  $this->setShowRowsSelector(true);
137 
138  if ($confirmdelete) {
139  $this->disable('sort');
140  $this->disable('select_all');
141  } else {
142  $this->enable('sort');
143  $this->enable('header');
144  $this->enable('select_all');
145  $this->setFilterCommand('filterQuestionBrowser');
146  $this->setResetCommand('resetQuestionBrowser');
147  $this->initFilter();
148  }
149 
150  if ($this->isQuestionCommentingEnabled()) {
151  global $DIC; /* @var ILIAS\DI\Container $DIC */
152 
153  $notesUrl = $this->ctrl->getLinkTargetByClass(
154  array("ilcommonactiondispatchergui", "ilnotegui"),
155  "",
156  "",
157  true,
158  false
159  );
160 
161  ilNoteGUI::initJavascript($notesUrl, IL_NOTE_PUBLIC, $DIC->ui()->mainTemplate());
162  }
163  }
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setStyle($a_element, $a_style)
static initJavascript($a_ajax_url, $a_type=IL_NOTE_PRIVATE, ilGlobalTemplateInterface $a_main_tpl=null)
Init javascript.
setId($a_val)
Set id.
global $ilCtrl
Definition: ilias.php:18
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
setResetCommand($a_val, $a_caption=null)
Set reset filter command.
setSelectAllCheckbox($a_select_all_checkbox, $a_select_all_on_top=false)
Set the name of the checkbox that should be toggled with a select all button.
const IL_NOTE_PUBLIC
Definition: class.ilNote.php:6
addMultiCommand($a_cmd, $a_text)
Add Command button.
enable($a_module_name)
enables particular modules of table
getSelectedColumns()
Get selected columns.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setQuestionCommentingEnabled(bool $questionCommentingEnabled)
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
disable($a_module_name)
diesables particular modules of table
setFormName($a_formname="")
Set Form name.
__construct(Container $dic, ilPlugin $plugin)
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
$DIC
Definition: xapitoken.php:46
setShowRowsSelector($a_value)
Toggle rows-per-page selector.
setFilterCommand($a_val, $a_caption=null)
Set filter command.
+ Here is the call graph for this function:

Member Function Documentation

◆ fillHeader()

ilQuestionBrowserTableGUI::fillHeader ( )

Definition at line 353 of file class.ilQuestionBrowserTableGUI.php.

354  {
355  foreach ($this->column as $key => $column) {
356  if (strcmp($column['text'], $this->lng->txt("points")) == 0) {
357  $this->column[$key]['text'] = $this->lng->txt("points") . " (" . $this->totalPoints . ")";
358  } elseif (strcmp($column['text'], $this->lng->txt("working_time")) == 0) {
359  $this->column[$key]['text'] = $this->lng->txt("working_time") . " (" . $this->totalWorkingTime . ")";
360  }
361  }
362  parent::fillHeader();
363  }

◆ fillRow()

ilQuestionBrowserTableGUI::fillRow (   $data)

fill row

public

Parameters

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

References Vendor\Package\$c, ilTableGUI\$data, $DIC, $ilUser, assQuestionGUI\_getGUIClassNameForId(), assQuestion\_getQuestionTypeName(), ilAssQuestionFeedbackEditingGUI\CMD_SHOW, ilAssQuestionPreviewGUI\CMD_SHOW, ilAssQuestionHintsGUI\CMD_SHOW_LIST, ilDatePresentation\formatDate(), getCommentsAjaxLink(), getCommentsHtml(), getEditable(), ilUtil\getImagePath(), ilAssQuestionLifecycle\getInstance(), ilTable2GUI\getSelectedColumns(), getWriteAccess(), IL_CAL_UNIX, isQuestionCommentingEnabled(), and assQuestion\sumTimesInISO8601FormatH_i_s_Extended().

373  {
374  global $DIC;
375  $ilUser = $DIC['ilUser'];
376  $ilAccess = $DIC['ilAccess'];
377  include_once "./Modules/TestQuestionPool/classes/class.assQuestion.php";
378  include_once "./Modules/TestQuestionPool/classes/class.assQuestionGUI.php";
379  $class = strtolower(assQuestionGUI::_getGUIClassNameForId($data["question_id"]));
380  $this->ctrl->setParameterByClass("ilAssQuestionPageGUI", "q_id", $data["question_id"]);
381  $this->ctrl->setParameterByClass("ilAssQuestionPreviewGUI", "q_id", $data["question_id"]);
382  $this->ctrl->setParameterByClass($class, "q_id", $data["question_id"]);
383  $points = 0;
384 
385  $actions = new ilAdvancedSelectionListGUI();
386  $actions->setId('qst' . $data["question_id"]);
387  $actions->setListTitle($this->lng->txt('actions'));
388 
389  if (!$this->confirmdelete) {
390  $this->tpl->setCurrentBlock('checkbox');
391  $this->tpl->setVariable('CB_QUESTION_ID', $data["question_id"]);
392  $this->tpl->parseCurrentBlock();
393 
394  if ($data["complete"] == 0) {
395  $this->tpl->setCurrentBlock("qpl_warning");
396  $this->tpl->setVariable("IMAGE_WARNING", ilUtil::getImagePath("icon_alert.svg"));
397  $this->tpl->setVariable("ALT_WARNING", $this->lng->txt("warning_question_not_complete"));
398  $this->tpl->setVariable("TITLE_WARNING", $this->lng->txt("warning_question_not_complete"));
399  $this->tpl->parseCurrentBlock();
400  } else {
401  $points = $data["points"];
402  $this->totalWorkingTime = assQuestion::sumTimesInISO8601FormatH_i_s_Extended($this->totalWorkingTime, $data['working_time']);
403  }
404  $this->totalPoints += $points;
405 
406  foreach ($this->getSelectedColumns() as $c) {
407  if (strcmp($c, 'points') == 0) {
408  $this->tpl->setCurrentBlock('points');
409  $this->tpl->setVariable("QUESTION_POINTS", $points);
410  $this->tpl->parseCurrentBlock();
411  }
412  if (strcmp($c, 'statistics') == 0) {
413  $this->tpl->setCurrentBlock('statistics');
414  $this->tpl->setVariable("LINK_ASSESSMENT", $this->ctrl->getLinkTargetByClass($class, "assessment"));
415  $this->tpl->setVariable("TXT_ASSESSMENT", $this->lng->txt("statistics"));
416  include_once "./Services/Utilities/classes/class.ilUtil.php";
417  $this->tpl->setVariable("IMG_ASSESSMENT", ilUtil::getImagePath("assessment.gif", "Modules/TestQuestionPool"));
418  $this->tpl->parseCurrentBlock();
419  }
420  if (strcmp($c, 'author') == 0) {
421  $this->tpl->setCurrentBlock('author');
422  $this->tpl->setVariable("QUESTION_AUTHOR", $data["author"]);
423  $this->tpl->parseCurrentBlock();
424  }
425  if ($c == 'lifecycle') {
426  $lifecycle = ilAssQuestionLifecycle::getInstance($data['lifecycle']);
427 
428  $this->tpl->setCurrentBlock('lifecycle');
429  $this->tpl->setVariable("QUESTION_LIFECYCLE", $lifecycle->getTranslation($this->lng));
430  $this->tpl->parseCurrentBlock();
431  }
432  if ($c == 'comments' && $this->isQuestionCommentingEnabled()) {
433  $this->tpl->setCurrentBlock('comments');
434  $this->tpl->setVariable("COMMENTS", $this->getCommentsHtml($data));
435  $this->tpl->parseCurrentBlock();
436  }
437  if (strcmp($c, 'created') == 0) {
438  $this->tpl->setCurrentBlock('created');
439  $this->tpl->setVariable('QUESTION_CREATED', ilDatePresentation::formatDate(new ilDateTime($data['created'], IL_CAL_UNIX)));
440  $this->tpl->parseCurrentBlock();
441  }
442  if (strcmp($c, 'tstamp') == 0) {
443  $this->tpl->setCurrentBlock('updated');
444  $this->tpl->setVariable('QUESTION_UPDATED', ilDatePresentation::formatDate(new ilDateTime($data['tstamp'], IL_CAL_UNIX)));
445  $this->tpl->parseCurrentBlock();
446  }
447  if (strcmp($c, 'working_time') == 0) {
448  $this->tpl->setCurrentBlock('working_time');
449  $this->tpl->setVariable('WORKING_TIME', $data["working_time"]);
450  $this->tpl->parseCurrentBlock();
451  }
452  }
453 
454  $actions->addItem($this->lng->txt('preview'), '', $this->ctrl->getLinkTargetByClass('ilAssQuestionPreviewGUI', ilAssQuestionPreviewGUI::CMD_SHOW));
455  if ($this->getEditable()) {
456  $editHref = $this->ctrl->getLinkTargetByClass($data['type_tag'] . 'GUI', 'editQuestion');
457  $actions->addItem($this->lng->txt('edit_question'), '', $editHref);
458 
459  $editPageHref = $this->ctrl->getLinkTargetByClass('ilAssQuestionPageGUI', 'edit');
460  $actions->addItem($this->lng->txt('edit_page'), '', $editPageHref);
461  }
462 
463  if ($this->getWriteAccess()) {
464  $this->ctrl->setParameter($this->parent_obj, 'q_id', $data['question_id']);
465  $moveHref = $this->ctrl->getLinkTarget($this->parent_obj, 'move');
466  $this->ctrl->setParameter($this->parent_obj, 'q_id', null);
467  $actions->addItem($this->lng->txt('move'), '', $moveHref);
468 
469  $this->ctrl->setParameter($this->parent_obj, 'q_id', $data['question_id']);
470  $copyHref = $this->ctrl->getLinkTarget($this->parent_obj, 'copy');
471  $this->ctrl->setParameter($this->parent_obj, 'q_id', null);
472  $actions->addItem($this->lng->txt('copy'), '', $copyHref);
473 
474  $this->ctrl->setParameter($this->parent_obj, 'q_id', $data['question_id']);
475  $deleteHref = $this->ctrl->getLinkTarget($this->parent_obj, 'deleteQuestions');
476  $this->ctrl->setParameter($this->parent_obj, 'q_id', null);
477  $actions->addItem($this->lng->txt('delete'), '', $deleteHref);
478  }
479 
480  if ($this->getEditable()) {
481  require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionFeedbackEditingGUI.php';
482  $this->ctrl->setParameterByClass('ilAssQuestionFeedbackEditingGUI', 'q_id', $data['question_id']);
483  $feedbackHref = $this->ctrl->getLinkTargetByClass('ilAssQuestionFeedbackEditingGUI', ilAssQuestionFeedbackEditingGUI::CMD_SHOW);
484  $this->ctrl->setParameterByClass('ilAssQuestionFeedbackEditingGUI', 'q_id', null);
485  $actions->addItem($this->lng->txt('tst_feedback'), '', $feedbackHref);
486 
487  $this->ctrl->setParameterByClass('ilAssQuestionHintsGUI', 'q_id', $data['question_id']);
488  $hintsHref = $this->ctrl->getLinkTargetByClass('ilAssQuestionHintsGUI', ilAssQuestionHintsGUI::CMD_SHOW_LIST);
489  $this->ctrl->setParameterByClass('ilAssQuestionHintsGUI', 'q_id', null);
490  $actions->addItem($this->lng->txt('tst_question_hints_tab'), '', $hintsHref);
491  }
492 
493  if ($this->isQuestionCommentingEnabled()) {
494  $actions->addItem(
495  $this->lng->txt('ass_comments'),
496  'comments',
497  '',
498  '',
499  '',
500  '',
501  '',
502  '',
503  $this->getCommentsAjaxLink($data['question_id'])
504  );
505  }
506  } else {
507  $this->tpl->setCurrentBlock('hidden');
508  $this->tpl->setVariable('HIDDEN_QUESTION_ID', $data["question_id"]);
509  $this->tpl->parseCurrentBlock();
510  }
511 
512  foreach ($this->getSelectedColumns() as $c) {
513  if (strcmp($c, 'description') == 0) {
514  $this->tpl->setCurrentBlock('description');
515  $this->tpl->setVariable("QUESTION_COMMENT", (strlen($data["description"])) ? $data["description"] : " ");
516  $this->tpl->parseCurrentBlock();
517  }
518  if (strcmp($c, 'type') == 0) {
519  $this->tpl->setCurrentBlock('type');
520  $this->tpl->setVariable("QUESTION_TYPE", assQuestion::_getQuestionTypeName($data["type_tag"]));
521  $this->tpl->parseCurrentBlock();
522  }
523  }
524  $this->tpl->setVariable('QUESTION_ID', $data["question_id"]);
525  if (!$this->confirmdelete) {
526  $this->tpl->setVariable('QUESTION_HREF_LINKED', $this->ctrl->getLinkTargetByClass('ilAssQuestionPreviewGUI', ilAssQuestionPreviewGUI::CMD_SHOW));
527  $this->tpl->setVariable('QUESTION_TITLE_LINKED', $data['title']);
528  $this->tpl->setVariable('ACTIONS', $actions->getHTML());
529  } else {
530  $this->tpl->setVariable('QUESTION_ID_UNLINKED', $data['question_id']);
531  $this->tpl->setVariable('QUESTION_TITLE_UNLINKED', $data['title']);
532  }
533  }
static sumTimesInISO8601FormatH_i_s_Extended($time1, $time2)
static _getGUIClassNameForId($a_q_id)
static _getQuestionTypeName($type_tag)
Return the translation for a given question type tag.
const IL_CAL_UNIX
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date public.
const CMD_SHOW_LIST
command constants
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
$ilUser
Definition: imgupload.php:18
getSelectedColumns()
Get selected columns.
$DIC
Definition: xapitoken.php:46
+ Here is the call graph for this function:

◆ getCommentsAjaxLink()

ilQuestionBrowserTableGUI::getCommentsAjaxLink (   $questionId)
protected

Definition at line 581 of file class.ilQuestionBrowserTableGUI.php.

References $_GET, ilCommonActionDispatcherGUI\buildAjaxHash(), and ilNoteGUI\getListCommentsJSCall().

Referenced by fillRow(), and getCommentsHtml().

582  {
583  $ajax_hash = ilCommonActionDispatcherGUI::buildAjaxHash(1, $_GET['ref_id'], 'quest', $this->parent_obj->object->getId(), 'quest', $questionId);
584  return ilNoteGUI::getListCommentsJSCall($ajax_hash, '');
585  }
$_GET["client_id"]
static buildAjaxHash( $a_node_type, $a_node_id, $a_obj_type, $a_obj_id, $a_sub_type=null, $a_sub_id=null, $a_news_id=0)
Build ajax hash.
static getListCommentsJSCall($a_hash, $a_update_code=null)
Get list comments js call.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCommentsHtml()

ilQuestionBrowserTableGUI::getCommentsHtml (   $qData)
protected

Definition at line 568 of file class.ilQuestionBrowserTableGUI.php.

References getCommentsAjaxLink(), and ilUtil\getImagePath().

Referenced by fillRow().

569  {
570  if (!$qData['comments']) {
571  return '';
572  }
573 
574  $ajaxLink = $this->getCommentsAjaxLink($qData['question_id']);
575 
576  return "<a class='comment' href='#' onclick=\"return " . $ajaxLink . "\">
577  <img src='" . ilUtil::getImagePath("comment_unlabeled.svg")
578  . "' alt='{$qData['comments']}'><span class='ilHActProp'>{$qData['comments']}</span></a>";
579  }
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getEditable()

ilQuestionBrowserTableGUI::getEditable ( )

Definition at line 540 of file class.ilQuestionBrowserTableGUI.php.

References $editable.

Referenced by fillRow().

+ Here is the caller graph for this function:

◆ getSelectableColumns()

ilQuestionBrowserTableGUI::getSelectableColumns ( )

Definition at line 209 of file class.ilQuestionBrowserTableGUI.php.

References $cols, $DIC, ilTableGUI\$lng, and isQuestionCommentingEnabled().

210  {
211  global $DIC;
212  $lng = $DIC['lng'];
213  $cols["description"] = array(
214  "txt" => $lng->txt("description"),
215  "default" => true
216  );
217  $cols["type"] = array(
218  "txt" => $lng->txt("question_type"),
219  "default" => true
220  );
221  if (!$this->confirmdelete) {
222  $cols["points"] = array(
223  "txt" => $lng->txt("points"),
224  "default" => true
225  );
226  $cols["statistics"] = array(
227  "txt" => $lng->txt("statistics"),
228  "default" => true
229  );
230  $cols["author"] = array(
231  "txt" => $lng->txt("author"),
232  "default" => true
233  );
234  $cols['lifecycle'] = array(
235  'txt' => $lng->txt('qst_lifecycle'),
236  'default' => true
237  );
238  if ($this->isQuestionCommentingEnabled()) {
239  $cols["comments"] = array(
240  "txt" => $lng->txt("comments"),
241  "default" => true
242  );
243  }
244  $cols["created"] = array(
245  "txt" => $lng->txt("create_date"),
246  "default" => true
247  );
248  $cols["tstamp"] = array(
249  "txt" => $lng->txt("last_update"),
250  "default" => true
251  );
252  $cols["working_time"] = array(
253  "txt" => $lng->txt("working_time"),
254  "default" => true
255  );
256  }
257  return $cols;
258  }
$DIC
Definition: xapitoken.php:46
$cols
Definition: xhr_table.php:11
+ Here is the call graph for this function:

◆ getWriteAccess()

ilQuestionBrowserTableGUI::getWriteAccess ( )

Definition at line 550 of file class.ilQuestionBrowserTableGUI.php.

References $writeAccess.

Referenced by __construct(), and fillRow().

+ Here is the caller graph for this function:

◆ initFilter()

ilQuestionBrowserTableGUI::initFilter ( )

Init filter.

Definition at line 263 of file class.ilQuestionBrowserTableGUI.php.

References $DIC, $ilUser, ilTableGUI\$lng, $si, ilObjQuestionPool\_getQuestionTypes(), ilTable2GUI\addFilterItem(), ilAssQuestionLifecycle\getDraftInstance(), and isQuestionCommentingEnabled().

Referenced by __construct().

264  {
265  global $DIC;
266  $lng = $DIC['lng'];
267  $rbacreview = $DIC['rbacreview'];
268  $ilUser = $DIC['ilUser'];
269 
270  // title
271  include_once("./Services/Form/classes/class.ilTextInputGUI.php");
272  $ti = new ilTextInputGUI($lng->txt("title"), "title");
273  $ti->setMaxLength(64);
274  $ti->setValidationRegexp('/^[^%]+$/is');
275  $ti->setSize(20);
276  $this->addFilterItem($ti);
277  $ti->readFromSession();
278  $this->filter["title"] = $ti->getValue();
279 
280  // description
281  $ti = new ilTextInputGUI($lng->txt("description"), "description");
282  $ti->setMaxLength(64);
283  $ti->setSize(20);
284  $ti->setValidationRegexp('/^[^%]+$/is');
285  $this->addFilterItem($ti);
286  $ti->readFromSession();
287  $this->filter["description"] = $ti->getValue();
288 
289  if (!$this->confirmdelete) {
290  // author
291  $ti = new ilTextInputGUI($lng->txt("author"), "author");
292  $ti->setMaxLength(64);
293  $ti->setSize(20);
294  $ti->setValidationRegexp('/^[^%]+$/is');
295  $this->addFilterItem($ti);
296  $ti->readFromSession();
297  $this->filter["author"] = $ti->getValue();
298  }
299 
300  // lifecycle
301  $lifecycleOptions = array_merge(
302  array('' => $this->lng->txt('qst_lifecycle_filter_all')),
303  ilAssQuestionLifecycle::getDraftInstance()->getSelectOptions($this->lng)
304  );
305  $lifecycleInp = new ilSelectInputGUI($this->lng->txt('qst_lifecycle'), 'lifecycle');
306  $lifecycleInp->setOptions($lifecycleOptions);
307  $this->addFilterItem($lifecycleInp);
308  $lifecycleInp->readFromSession();
309  $this->filter['lifecycle'] = $lifecycleInp->getValue();
310 
311  // questiontype
312  include_once("./Services/Form/classes/class.ilSelectInputGUI.php");
313  include_once("./Modules/TestQuestionPool/classes/class.ilObjQuestionPool.php");
315  $options = array();
316  $options[""] = $lng->txt('filter_all_question_types');
317  foreach ($types as $translation => $row) {
318  $options[$row['type_tag']] = $translation;
319  }
320 
321  $si = new ilSelectInputGUI($this->lng->txt("question_type"), "type");
322  $si->setOptions($options);
323  $this->addFilterItem($si);
324  $si->readFromSession();
325  $this->filter["type"] = $si->getValue();
326 
327  if ($this->parent_obj->object->getShowTaxonomies()) {
328  require_once 'Services/Taxonomy/classes/class.ilTaxSelectInputGUI.php';
329 
330  foreach ($this->taxIds as $taxId) {
331  if ($taxId == $this->parent_obj->object->getNavTaxonomyId()) {
332  continue;
333  }
334 
335  $postvar = "tax_$taxId";
336 
337  $inp = new ilTaxSelectInputGUI($taxId, $postvar, true);
338  $this->addFilterItem($inp);
339  $inp->readFromSession();
340  $this->filter[$postvar] = $inp->getValue();
341  }
342  }
343 
344  // comments
345  if ($this->isQuestionCommentingEnabled()) {
346  $comments = new ilCheckboxInputGUI($lng->txt('ass_commented_questions_only'), 'commented');
347  $this->addFilterItem($comments);
348  $comments->readFromSession();
349  $this->filter['commented'] = $comments->getChecked();
350  }
351  }
Select taxonomy nodes input GUI.
This class represents a checkbox property in a property form.
addFilterItem($a_input_item, $a_optional=false)
Add filter item.
$ilUser
Definition: imgupload.php:18
$DIC
Definition: xapitoken.php:46
static _getQuestionTypes($all_tags=false, $fixOrder=false, $withDeprecatedTypes=true)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isCommentsColumnSelected()

ilQuestionBrowserTableGUI::isCommentsColumnSelected ( )
protected

Definition at line 181 of file class.ilQuestionBrowserTableGUI.php.

References ilTable2GUI\getSelectedColumns().

Referenced by setQuestionData().

182  {
183  return in_array('comments', $this->getSelectedColumns());
184  }
getSelectedColumns()
Get selected columns.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isQuestionCommentingEnabled()

ilQuestionBrowserTableGUI::isQuestionCommentingEnabled ( )
Returns
bool

Definition at line 168 of file class.ilQuestionBrowserTableGUI.php.

References $questionCommentingEnabled.

Referenced by __construct(), fillRow(), getSelectableColumns(), initFilter(), and setQuestionData().

168  : bool
169  {
171  }
+ Here is the caller graph for this function:

◆ numericOrdering()

ilQuestionBrowserTableGUI::numericOrdering (   $column)
Parameters
string$column
Returns
bool

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

560  {
561  if (in_array($column, array('points', 'created', 'tstamp', 'comments'))) {
562  return true;
563  }
564 
565  return false;
566  }

◆ setEditable()

ilQuestionBrowserTableGUI::setEditable (   $value)

Definition at line 535 of file class.ilQuestionBrowserTableGUI.php.

536  {
537  $this->editable = $value;
538  }

◆ setQuestionCommentingEnabled()

ilQuestionBrowserTableGUI::setQuestionCommentingEnabled ( bool  $questionCommentingEnabled)
Parameters
bool$questionCommentingEnabled

Definition at line 176 of file class.ilQuestionBrowserTableGUI.php.

References $questionCommentingEnabled.

Referenced by __construct().

177  {
178  $this->questionCommentingEnabled = $questionCommentingEnabled;
179  }
+ Here is the caller graph for this function:

◆ setQuestionData()

ilQuestionBrowserTableGUI::setQuestionData (   $questionData)

Definition at line 186 of file class.ilQuestionBrowserTableGUI.php.

References ilTableGUI\$data, ilNote\_getNotesOfObject(), IL_NOTE_PUBLIC, isCommentsColumnSelected(), isQuestionCommentingEnabled(), and ilTable2GUI\setData().

187  {
188  if ($this->isQuestionCommentingEnabled() && ($this->isCommentsColumnSelected() || $this->filter['commented'])) {
189  foreach ($questionData as $key => $data) {
190  $numComments = count(ilNote::_getNotesOfObject(
191  $this->parent_obj->object->getId(),
192  $data['question_id'],
193  'quest',
195  ));
196 
197  if ($this->filter['commented'] && !$numComments) {
198  unset($questionData[$key]);
199  continue;
200  }
201 
202  $questionData[$key]['comments'] = $numComments;
203  }
204  }
205 
206  $this->setData($questionData);
207  }
static _getNotesOfObject( $a_rep_obj_id, $a_obj_id, $a_obj_type, $a_type=IL_NOTE_PRIVATE, $a_incl_sub=false, $a_filter="", $a_all_public="y", $a_repository_mode=true, $a_sort_ascending=false, $a_news_id=0)
get all notes related to a specific object
const IL_NOTE_PUBLIC
Definition: class.ilNote.php:6
+ Here is the call graph for this function:

◆ setWriteAccess()

ilQuestionBrowserTableGUI::setWriteAccess (   $value)

Definition at line 545 of file class.ilQuestionBrowserTableGUI.php.

Referenced by __construct().

546  {
547  $this->writeAccess = $value;
548  }
+ Here is the caller graph for this function:

Field Documentation

◆ $confirmdelete

ilQuestionBrowserTableGUI::$confirmdelete
protected

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

Referenced by __construct().

◆ $editable

ilQuestionBrowserTableGUI::$editable = true
protected

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

Referenced by getEditable().

◆ $questionCommentingEnabled

ilQuestionBrowserTableGUI::$questionCommentingEnabled = false
protected

◆ $taxIds

ilQuestionBrowserTableGUI::$taxIds = array()
protected

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

Referenced by __construct().

◆ $totalPoints

ilQuestionBrowserTableGUI::$totalPoints = 0
protected

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

◆ $totalWorkingTime

ilQuestionBrowserTableGUI::$totalWorkingTime = '00:00:00'
protected

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

◆ $writeAccess

ilQuestionBrowserTableGUI::$writeAccess = false
protected

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

Referenced by getWriteAccess().


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