19 declare(strict_types=1);
34 protected int $cont_ref_id,
35 protected int $cont_member_role_id,
42 protected function getId(): string
44 return "cont_profile";
50 return $DIC->language()->txt(
"cont_skill_ass_profiles");
55 return $this->manager_service->contProfileRetrieval(
56 $this->profile_service,
58 $this->cont_member_role_id
65 $lng = $DIC->language();
67 if ($this->profile_service->lookupProfileRefId($data_row[
"profile_id"]) > 0) {
74 "id" => $data_row[
"profile_id"],
75 "title" => $data_row[
"title"],
80 protected function activeAction(
string $action, array $data_row): bool
83 case "confirmDeleteSingleLocalProfile":
85 return ($data_row[
"profile_ref_id"] > 0);
86 case "confirmRemoveSingleGlobalProfile":
87 return ($data_row[
"profile_ref_id"] === 0);
95 $lng = $DIC->language();
99 ->textColumn(
"context",
$lng->txt(
"context"));
101 $DIC->ctrl()->setParameterByClass(
"ilskillprofilegui",
"local_context",
true);
108 [
"ilSkillProfileGUI"],
109 "showLevelsWithLocalContext",
113 "confirmDeleteSingleLocalProfile",
117 "confirmRemoveSingleGlobalProfile",
singleRedirectAction(string $action, string $title, array $class_path, string $cmd="", string $id_param="")
build(TableAdapterGUI $table)
Skill management settings.
textColumn(string $key, string $title, bool $sortable=false)
activeAction(string $action, array $data_row)
__construct(Container $dic, ilPlugin $plugin)
transformRow(array $data_row)
__construct(protected SkillInternalManagerService $manager_service, protected SkillProfileService $profile_service, protected \ilSkillManagementSettings $skmg_settings, protected int $cont_ref_id, protected int $cont_member_role_id, object $parent_gui, string $parent_cmd)