ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilObjLearningResourcesSettings.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
14{
15
22 public function __construct($a_id = 0, $a_call_by_reference = true)
23 {
24 global $DIC;
25
26 $this->db = $DIC->database();
27 $this->type = "lrss";
28 parent::__construct($a_id, $a_call_by_reference);
29 }
30
37 public function update()
38 {
40
41 if (!parent::update()) {
42 return false;
43 }
44
45 return true;
46 }
47
51 public function read()
52 {
54
55 parent::read();
56 }
57
58
59
60
61
68 public function delete()
69 {
70 // always call parent delete function first!!
71 if (!parent::delete()) {
72 return false;
73 }
74
75 //put here your module specific stuff
76
77 return true;
78 }
79} // END class.ilObjLearningResourcesSettings
An exception for terminatinating execution or to throw for unit testing.
Class ilObjLearningResourcesSettings.
__construct($a_id=0, $a_call_by_reference=true)
Constructor @access public.
Class ilObject Basic functions for all objects.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $ilDB
$DIC
Definition: xapitoken.php:46