37         $this->tpl = $DIC[
"tpl"];
    38         $this->
ctrl = $DIC->ctrl();
    39         $this->
user = $DIC->user();
    40         $this->
lng = $DIC->language();
    41         $this->skill_personal_service = $DIC->skills()->personal();
    48         $next_class = $this->
ctrl->getNextClass($this);
    51         $cmd = $this->
ctrl->getCmd();
    53         switch ($next_class) {
    69             if (!$exp->handleCommand()) {
    91             if (!$exp->handleCommand()) {
   108         bool $a_insert = 
false   114         $form->setFormAction($ilCtrl->getFormAction($this));
   116             $form->setTitle($this->
lng->txt(
"cont_insert_skills"));
   118             $form->setTitle($this->
lng->txt(
"cont_update_skills"));
   123         $skills = $this->skill_personal_service->getSelectedUserSkills($ilUser->getId());
   125             foreach ($skills as $skill) {
   126                 $options[$skill->getSkillNodeId()] = $skill->getTitle();
   130             $this->tpl->setOnScreenMessage(
'failure', 
"cont_no_skills");
   134         $obj->setOptions($options);
   135         $form->addItem($obj);
   138             $form->addCommandButton(
"create", $this->
lng->txt(
"select"));
   139             $form->addCommandButton(
"cancelCreate", $this->
lng->txt(
"cancel"));
   141             $obj->setValue($this->content_obj->getSkillId());
   142             $form->addCommandButton(
"update", $this->
lng->txt(
"select"));
   143             $form->addCommandButton(
"cancelUpdate", $this->
lng->txt(
"cancel"));
   156         if ($this->
getPageConfig()->getEnablePCType(
"PlaceHolder")) {
   157             $data = $this->request->getInt(
"skill_id");
   163             if ($form->checkInput()) {
   164                 $data = $form->getInput(
"skill_id");
   171             $this->content_obj->create($this->pg_obj, $this->hier_id, $this->pc_id);
   172             $this->content_obj->setData(
$data);
   173             $this->updated = $this->pg_obj->update();
   174             if ($this->updated === 
true) {
   175                 $this->
ctrl->returnToParent($this, 
"jump" . $this->hier_id);
   179         $form->setValuesByPost();
   190         if ($this->
getPageConfig()->getEnablePCType(
"PlaceHolder")) {
   191             $data = $this->request->getInt(
"skill_id");
   197             if ($form->checkInput()) {
   198                 $data = $form->getInput(
"skill_id");
   204             $this->content_obj->setData(
$data);
   205             $this->updated = $this->pg_obj->update();
   206             if ($this->updated === 
true) {
   207                 $this->
ctrl->returnToParent($this, 
"jump" . $this->hier_id);
   211         $this->pg_obj->addHierIDs();
   212         $form->setValuesByPost();
 edit(ilPropertyFormGUI $a_form=null)
 
initForm(bool $a_insert=false)
Init skills form. 
 
Explorer for selecting a personal skill. 
 
__construct(ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="")
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Content object of ilPageObject (see ILIAS DTD). 
 
User Interface for Editing of Page Content Objects (Paragraphs, Tables, ...) 
 
setContent(string $a_html)
Sets content for standard template. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD) 
 
ilGlobalTemplateInterface $tpl
 
ILIAS Skill Service SkillPersonalService $skill_personal_service
 
insert(ilPropertyFormGUI $a_form=null)
 
__construct(Container $dic, ilPlugin $plugin)