18declare(strict_types=1);
34 protected int $parent_node_id,
42 protected function getId(): string
44 return "taxonomy_nodes";
49 return $this->domain->lng()->txt(
"tax_nodes");
56 $this->parent_node_id,
63 $node_id = (
int) $data_row[
"child"];
64 $ctrl = $this->gui->ctrl();
65 $ctrl->setParameter($this->parent_gui,
"tax_node", $node_id);
66 $url = $ctrl->getLinkTarget($this->parent_gui, $this->parent_cmd);
67 $ctrl->setParameter($this->parent_gui,
"tax_node", $this->parent_node_id);
71 "title" => $this->gui->ui()->factory()->link()->standard(
72 (
string) $data_row[
"title"],
87 $lng = $this->domain->lng();
91 ->singleAction(
"editTaxNodeTitle",
$lng->txt(
"edit"),
true)
92 ->singleAction(
"confirmDeleteTaxNode",
$lng->txt(
"delete"),
true)
93 ->standardAction(
"moveTaxNode",
$lng->txt(
"move"));
linkColumn(string $key, string $title, bool $sortable=false)
build(TableAdapterGUI $table)
__construct(protected InternalDomainService $domain, protected InternalGUIService $gui, protected \ilTaxonomyTree $tree, protected int $parent_node_id, protected \ilObjTaxonomy $taxonomy, object $parent_gui, string $parent_cmd)
transformRow(array $data_row)
transform raw data array to table row data array
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc