Definition at line 27 of file ContSkillTableBuilder.php.
◆ __construct()
ILIAS\Container\Skills\ContSkillTableBuilder::__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 |
|
) |
| |
◆ activeAction()
ILIAS\Container\Skills\ContSkillTableBuilder::activeAction |
( |
string |
$action, |
|
|
array |
$data_row |
|
) |
| |
|
protected |
Definition at line 73 of file ContSkillTableBuilder.php.
76 case "confirmRemoveSelectedSkill":
78 return !isset($data_row[
"profile_title"]);
◆ build()
ILIAS\Container\Skills\ContSkillTableBuilder::build |
( |
TableAdapterGUI |
$table | ) |
|
|
protected |
Definition at line 83 of file ContSkillTableBuilder.php.
References $DIC, $lng, ILIAS\Repository\Table\CommonTableBuilder\$table, ILIAS\Repository\Table\TableAdapterGUI\singleAction(), and ILIAS\Repository\Table\TableAdapterGUI\textColumn().
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)
singleAction(string $action, string $title, bool $async=false)
◆ getId()
ILIAS\Container\Skills\ContSkillTableBuilder::getId |
( |
| ) |
|
|
protected |
◆ getRetrieval()
ILIAS\Container\Skills\ContSkillTableBuilder::getRetrieval |
( |
| ) |
|
|
protected |
Definition at line 51 of file ContSkillTableBuilder.php.
53 return $this->manager_service->contSkillRetrieval(
54 $this->cont_skill_manager
◆ getTitle()
ILIAS\Container\Skills\ContSkillTableBuilder::getTitle |
( |
| ) |
|
|
protected |
◆ transformRow()
ILIAS\Container\Skills\ContSkillTableBuilder::transformRow |
( |
array |
$data_row | ) |
|
|
protected |
Definition at line 58 of file ContSkillTableBuilder.php.
References $path.
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"])
The documentation for this class was generated from the following file: