19 declare(strict_types=1);
32 protected int $container_obj_id,
33 protected int $container_ref_id,
40 protected function getId(): string
48 return $DIC->language()->txt(
"cont_cont_skills");
53 return $this->manager_service->contSkillRetrieval(
54 $this->cont_skill_manager
60 $path = $this->parent_gui->getPathString($data_row[
"base_skill_id"], $data_row[
"tref_id"]);
63 "id" => $data_row[
"base_skill_id"] .
":" . $data_row[
"tref_id"],
64 "title" => $data_row[
"title"],
66 "profile_title" => $data_row[
"profile_title"] ??
"",
67 "base_skill_id" => $data_row[
"base_skill_id"],
68 "tref_id" => $data_row[
"tref_id"],
69 "has_profile" => isset($data_row[
"profile_title"])
73 protected function activeAction(
string $action, array $data_row): bool
76 case "confirmRemoveSelectedSkill":
78 return !isset($data_row[
"profile_title"]);
86 $lng = $DIC->language();
90 ->textColumn(
"path",
$lng->txt(
"cont_path"))
91 ->textColumn(
"profile_title",
$lng->txt(
"cont_skill_profile"));
95 "confirmRemoveSelectedSkill",
textColumn(string $key, string $title, bool $sortable=false)
activeAction(string $action, array $data_row)
transformRow(array $data_row)
__construct(Container $dic, ilPlugin $plugin)
__construct(protected SkillInternalManagerService $manager_service, protected ContainerSkillManager $cont_skill_manager, protected int $container_obj_id, protected int $container_ref_id, object $parent_gui, string $parent_cmd)
singleAction(string $action, string $title, bool $async=false)
build(TableAdapterGUI $table)