36 bool $a_write_access =
false 40 $this->rbacreview = $DIC->rbac()->review();
41 $this->
user = $DIC->user();
42 $this->
access = $DIC->access();
45 $lng = $DIC->language();
46 $ilCtrl = $DIC->ctrl();
49 $this->
ctrl = $ilCtrl;
54 $this->
setStyle(
'table',
'fullwidth');
57 $this->
addColumn($this->
lng->txt(
"contains"),
'contains',
'');
65 $this->
setRowTemplate(
"tpl.il_svy_svy_questionblockbrowser_row.html",
"Modules/Survey");
73 $this->
enable(
'select_all');
85 if ($item->getValue() !==
false) {
86 $arrFilter[$item->getPostVar()] = $item->getValue();
100 $ti->setMaxLength(64);
102 $ti->setValidationRegexp(
'/^[^%]+$/is');
104 $ti->readFromSession();
105 $this->
filter[
"title"] = $ti->getValue();
108 protected function fillRow(array $a_set): void
110 $this->tpl->setVariable(
'QUESTIONBLOCK_ID', $a_set[
"questionblock_id"]);
118 $this->editable = $value;
128 $this->writeAccess = $value;
enable(string $a_module_name)
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
setFormAction(string $a_form_action, bool $a_multipart=false)
__construct(object $a_parent_obj, string $a_parent_cmd, ilObjSurvey $a_object, bool $a_write_access=false)
addFilterItem(ilTableFilterItem $a_input_item, bool $a_optional=false)
setResetCommand(string $a_val, string $a_caption="")
setWriteAccess(bool $value)
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
initData(ilObjSurvey $a_object)
getQuestionblocksTable(array $arrFilter)
Retrieve data for question block browser.
setFormName(string $a_name="")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setStyle(string $a_element, string $a_style)
setDefaultOrderField(string $a_defaultorderfield)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setFilterCommand(string $a_val, string $a_caption="")
setDefaultOrderDirection(string $a_defaultorderdirection)
__construct(Container $dic, ilPlugin $plugin)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
getFilterItems(bool $a_optionals=false)
addMultiCommand(string $a_cmd, string $a_text)
setPrefix(string $a_prefix)