ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
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  {
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 ?>