/**
  * Copy basic skill template
  */
 function copy()
 {
     $sktr = new ilSkillTemplateReference();
     $sktr->setTitle($this->getTitle());
     $sktr->setType($this->getType());
     $sktr->setSkillTemplateId($this->getSkillTemplateId());
     $sktr->setSelfEvaluation($this->getSelfEvaluation());
     $sktr->setOrderNr($this->getOrderNr());
     $sktr->create();
     return $sktr;
 }
 /**
  * Save item
  */
 function saveItem()
 {
     $sktr = new ilSkillTemplateReference();
     $sktr->setTitle($_POST["title"]);
     $sktr->setSkillTemplateId($_POST["skill_template_id"]);
     $sktr->setSelfEvaluation($_POST["selectable"]);
     $sktr->setOrderNr($_POST["order_nr"]);
     $sktr->setStatus($_POST["status"]);
     $sktr->create();
     ilSkillTreeNode::putInTree($sktr, (int) $_GET["obj_id"], IL_LAST_NODE);
     $this->node_object = $sktr;
 }