24 include_once(
'./Services/Table/classes/class.ilTable2GUI.php');
47 public function __construct($a_parent_obj, $a_parent_cmd, $a_write_access =
false)
59 $this->
setStyle(
'table',
'fullwidth');
61 $this->
addColumn($this->lng->txt(
"title"),
'title',
'');
62 $this->
addColumn($this->lng->txt(
"contains"),
'contains',
'');
63 $this->
addColumn($this->lng->txt(
"obj_svy"),
'svy',
'');
68 $this->
addMultiCommand(
'insertQuestionblocks', $this->lng->txt(
'insert'));
70 $this->
setRowTemplate(
"tpl.il_svy_svy_questionblockbrowser_row.html",
"Modules/Survey");
72 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
78 $this->
enable(
'select_all');
90 global
$lng, $rbacreview, $ilUser;
93 include_once(
"./Services/Form/classes/class.ilTextInputGUI.php");
96 $ti->setValidationRegexp(
'/^[^%]+$/is');
99 $ti->readFromSession();
100 $this->filter[
"title"] = $ti->getValue();
112 global $ilUser,$ilAccess;
114 $this->tpl->setVariable(
'QUESTIONBLOCK_ID',
$data[
"questionblock_id"]);
122 $this->editable = $value;
132 $this->writeAccess = $value;