ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilObjSkillManagement.php
Go to the documentation of this file.
1 <?php
2 
26 {
27  public function __construct(int $a_id = 0, bool $a_call_by_reference = true)
28  {
29  global $DIC;
30 
31  $this->db = $DIC->database();
32  $this->type = "skmg";
33  parent::__construct($a_id, $a_call_by_reference);
34  }
35 
36  public function update(): bool
37  {
38  $ilDB = $this->db;
39 
40  if (!parent::update()) {
41  return false;
42  }
43 
44  return true;
45  }
46 
50  public function read(): void
51  {
52  $ilDB = $this->db;
53 
54  parent::read();
55  }
56 
62  public function delete(): bool
63  {
64  // always call parent delete function first!!
65  if (!parent::delete()) {
66  return false;
67  }
68 
69  //put here your module specific stuff
70 
71  return true;
72  }
73 }
read()
read style folder data
__construct(int $a_id=0, bool $a_call_by_reference=true)
global $DIC
Definition: feed.php:28
ilDBInterface $db
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)