ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilSkillTemplateCategory.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5include_once("./Services/Skill/classes/class.ilSkillTreeNode.php");
6
16{
17 var $id;
18
23 function __construct($a_id = 0)
24 {
25 parent::ilSkillTreeNode($a_id);
26 $this->setType("sctp");
27 }
28
32 function copy()
33 {
34 $sctp = new ilSkillTemplateCategory();
35 $sctp->setTitle($this->getTitle());
36 $sctp->setType($this->getType());
37 $sctp->setOrderNr($this->getOrderNr());
38 $sctp->create();
39
40 return $sctp;
41 }
42
43}
44?>
__construct($a_id=0)
Constructor @access public.
A node in the skill tree.
setType($a_type)
Set type.
getOrderNr()
Get order nr.