ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilSkillCategory.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("scat");
27 }
28
32 public function read()
33 {
34 parent::read();
35 }
36
41 public function create()
42 {
43 parent::create();
44 }
45
49 public function delete()
50 {
51 parent::delete();
52 }
53
57 public function copy()
58 {
59 $scat = new ilSkillCategory();
60 $scat->setTitle($this->getTitle());
61 $scat->setDescription($this->getDescription());
62 $scat->setType($this->getType());
63 $scat->setSelfEvaluation($this->getSelfEvaluation());
64 $scat->setOrderNr($this->getOrderNr());
65 $scat->create();
66
67 return $scat;
68 }
69}
An exception for terminatinating execution or to throw for unit testing.
copy()
Copy skill category.
__construct($a_id=0)
Constructor @access public.
read()
Read data from database.
A node in the skill tree.
getDescription()
Get description.
setType($a_type)
Set type.
getOrderNr()
Get order nr.
getSelfEvaluation()
Get self evaluation.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc