ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilObjSkillManagement.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27{
28 public function __construct(int $a_id = 0, bool $a_call_by_reference = true)
29 {
30 global $DIC;
31
32 $this->db = $DIC->database();
33 $this->type = "skmg";
34 parent::__construct($a_id, $a_call_by_reference);
35 }
36
37 public function update(): bool
38 {
40
41 if (!parent::update()) {
42 return false;
43 }
44
45 return true;
46 }
47
51 public function read(): void
52 {
54
55 parent::read();
56 }
57
63 public function delete(): bool
64 {
65 // always call parent delete function first!!
66 if (!parent::delete()) {
67 return false;
68 }
69
70 //put here your module specific stuff
71
72 return true;
73 }
74}
Skill management main application class.
__construct(int $a_id=0, bool $a_call_by_reference=true)
read()
read style folder data
Class ilObject Basic functions for all objects.
ilDBInterface $db
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26