ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 {
26 $this->setType("sctp");
27 }
28
32 public function copy()
33 {
34 $sctp = new ilSkillTemplateCategory();
35 $sctp->setTitle($this->getTitle());
36 $sctp->setDescription($this->getDescription());
37 $sctp->setType($this->getType());
38 $sctp->setOrderNr($this->getOrderNr());
39 $sctp->create();
40
41 return $sctp;
42 }
43}
An exception for terminatinating execution or to throw for unit testing.
__construct($a_id=0)
Constructor @access public.
A node in the skill tree.
getDescription()
Get description.
setType($a_type)
Set type.
getOrderNr()
Get order nr.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc