19 declare(strict_types=1);
42 protected function getId(): string
44 return "start_objs_" . $this->start_objects->getObjId();
49 return $this->
lng->txt(
'crs_start_objects');
60 'id' => $data_row[
'id'],
61 'title' => $data_row[
'title'],
62 'type' => $this->ui_factory->symbol()->icon()->standard(
64 $this->
lng->txt(
'obj_' . $data_row[
'type']),
67 if (isset($data_row[
'description'])) {
68 $data[
'description'] = $data_row[
'description'];
82 ->textColumn(
'title', $this->
lng->txt(
'title'))
83 ->textColumn(
'description', $this->
lng->txt(
'description'))
84 ->standardAction(
'askDeleteStarter', $this->
lng->txt(
'remove'));
__construct(object $parent_gui, string $parent_cmd, protected ilContainerStartObjects $start_objects, protected ilLanguage $lng, protected UIFactory $ui_factory)
transformRow(array $data_row)
iconColumn(string $key, string $title, bool $sortable=false)
__construct(Container $dic, ilPlugin $plugin)
build(TableAdapterGUI $table)