19 declare(strict_types=1);
    36         $this->
ctrl = $DIC->ctrl();
    37         $this->
lng = $DIC->language();
    38         $this->
http = $DIC->http();
    40         $this->tpl = $DIC->ui()->mainTemplate();
    46         if ($this->
ctrl->getCmd() === 
'saveTable') {
    50         $this->tpl->setContent($table->getHTML());
    56         foreach ($this->tableview->getFieldSettings() as $setting) {
    57             if (!$setting->getFieldObject()->isStandardField() || $setting->getFieldObject()->getId() === 
'owner') {
    60                 $attribute = 
"RadioGroup";
    61                 $selection_key = $attribute . 
'_' . $setting->getField();
    62                 $selection = $this->
http->wrapper()->post()->retrieve(
    64                     $this->
refinery->kindlyTo()->string()
    66                 $selected_radio_attribute = explode(
"_", $selection)[0];
    68                 foreach ([
"LockedEdit", 
"RequiredEdit", 
"VisibleEdit", 
"NotVisibleEdit"] as $radio_attribute) {
    71                     if ($selected_radio_attribute === $radio_attribute) {
    75                     $setting->{
'set' . $radio_attribute}($result);
    79                 $attribute = 
"DefaultValue";
    80                 $key = $attribute . 
'_' . $setting->getField();
    81                 if ($this->
http->wrapper()->post()->has($key)) {
    82                     $attribute_value = $this->
http->wrapper()->post()->retrieve(
    84                         $this->
refinery->kindlyTo()->string()
    87                     $attribute_value = 
"";
    90                 $setting->{
'set' . $attribute}($attribute_value);
    96         $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
'dcl_msg_tableview_updated'), 
true);
    97         $this->
ctrl->saveParameter($this, 
'tableview_id');
    98         $this->
ctrl->redirect($this, 
'presentation');
 ILIAS HTTP Services $http
 
static findOrGetInstance($primary_key, array $add_constructor_args=[])
 
ilDclEditViewDefinitionGUI: ilDclTableViewEditGUI 
 
ILIAS Refinery Factory $refinery
 
ilDclTableView $tableview
 
static http()
Fetches the global http state from ILIAS. 
 
__construct(int $tableview_id)
 
ilGlobalTemplateInterface $tpl