ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 
5 include_once("./Services/Skill/classes/class.ilSkillTreeNode.php");
6 
16 {
17  var $id;
18 
23  function __construct($a_id = 0)
24  {
25  parent::__construct($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 ?>
setType($a_type)
Set type.
__construct($a_id=0)
Constructor public.
getOrderNr()
Get order nr.
A node in the skill tree.