ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilBasicSkillTemplate.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.ilBasicSkill.php"
);
6
15
class
ilBasicSkillTemplate
extends
ilBasicSkill
16
{
17
var
$id
;
18
23
function
__construct
($a_id = 0)
24
{
25
parent::ilSkillTreeNode($a_id);
26
$this->
setType
(
"sktp"
);
27
}
28
32
function
copy
()
33
{
34
$skill =
new
ilBasicSkillTemplate
();
35
$skill->setTitle($this->
getTitle
());
36
$skill->setType($this->
getType
());
37
$skill->setOrderNr($this->
getOrderNr
());
38
$skill->create();
39
40
$levels = $this->
getLevelData
();
41
if
(
sizeof
($levels))
42
{
43
foreach
($levels as $item)
44
{
45
$skill->addLevel($item[
"title"
], $item[
"description"
]);
46
}
47
}
48
$skill->update();
49
50
return
$skill;
51
}
52
}
53
?>
ilSkillTreeNode\setType
setType($a_type)
Set type.
Definition:
class.ilSkillTreeNode.php:64
ilBasicSkill\getLevelData
getLevelData($a_id=0)
Get level data.
Definition:
class.ilBasicSkill.php:146
ilSkillTreeNode\getTitle
getTitle()
Get title.
Definition:
class.ilSkillTreeNode.php:54
ilSkillTreeNode\getOrderNr
getOrderNr()
Get order nr.
Definition:
class.ilSkillTreeNode.php:134
ilSkillTreeNode\getType
getType()
Get type.
Definition:
class.ilSkillTreeNode.php:74
ilBasicSkillTemplate\$id
$id
Definition:
class.ilBasicSkillTemplate.php:17
ilBasicSkillTemplate\copy
copy()
Copy basic skill template.
Definition:
class.ilBasicSkillTemplate.php:32
ilBasicSkill
Basic Skill.
Definition:
class.ilBasicSkill.php:16
ilBasicSkillTemplate\__construct
__construct($a_id=0)
Constructor public.
Definition:
class.ilBasicSkillTemplate.php:23
ilBasicSkillTemplate
Basic Skill Template.
Definition:
class.ilBasicSkillTemplate.php:15
Services
Skill
classes
class.ilBasicSkillTemplate.php
Generated on Mon Mar 31 2025 19:00:52 for ILIAS by
1.8.13 (using
Doxyfile
)