ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.ilObjSkillManagement.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
28 {
29  public function __construct(int $a_id = 0, bool $a_call_by_reference = true)
30  {
31  global $DIC;
32 
33  $this->db = $DIC->database();
34  $this->type = "skmg";
35  parent::__construct($a_id, $a_call_by_reference);
36  }
37 
38  public function update(): bool
39  {
40  $ilDB = $this->db;
41 
42  if (!parent::update()) {
43  return false;
44  }
45 
46  return true;
47  }
48 
52  public function read(): void
53  {
54  $ilDB = $this->db;
55 
56  parent::read();
57  }
58 
64  public function delete(): bool
65  {
66  // always call parent delete function first!!
67  if (!parent::delete()) {
68  return false;
69  }
70 
71  //put here your module specific stuff
72 
73  return true;
74  }
75 }
read()
read style folder data
__construct(int $a_id=0, bool $a_call_by_reference=true)
ilDBInterface $db
global $DIC
Definition: shib_login.php:25
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)