ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 
5 include_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("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->setType($this->getType());
62  $scat->setSelfEvaluation($this->getSelfEvaluation());
63  $scat->setOrderNr($this->getOrderNr());
64  $scat->create();
65 
66  return $scat;
67  }
68 }
setType($a_type)
Set type.
create()
Create skill.
getSelfEvaluation()
Get self evaluation.
getOrderNr()
Get order nr.
copy()
Copy skill category.
__construct($a_id=0)
Constructor public.
A node in the skill tree.
read()
Read data from database.