ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 public $id;
18
23 public function __construct($a_id = 0)
24 {
25 parent::__construct($a_id);
26 $this->setType("sctp");
27 }
28
32 public 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}
An exception for terminatinating execution or to throw for unit testing.
__construct($a_id=0)
Constructor @access public.
A node in the skill tree.
setType($a_type)
Set type.
getOrderNr()
Get order nr.