ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilObjAccessibilitySettings.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once "./Services/Object/classes/class.ilObject.php";
5
15{
19 protected $db;
20
21
28 public function __construct($a_id = 0, $a_call_by_reference = true)
29 {
30 global $DIC;
31
32 $this->db = $DIC->database();
33 $this->type = "accs";
34 parent::__construct($a_id, $a_call_by_reference);
35 }
36
43 public function update()
44 {
46
47 if (!parent::update()) {
48 return false;
49 }
50
51 return true;
52 }
53
57 public function read()
58 {
60
61 parent::read();
62 }
63
64
65
66
67
74 public function delete()
75 {
76 // always call parent delete function first!!
77 if (!parent::delete()) {
78 return false;
79 }
80
81 //put here your module specific stuff
82
83 return true;
84 }
85}
An exception for terminatinating execution or to throw for unit testing.
Class ilObjAccessibilitySettings.
__construct($a_id=0, $a_call_by_reference=true)
Constructor @access public.
Class ilObject Basic functions for all objects.
update($pash, $contents, Config $config)
global $DIC
Definition: saml.php:7
global $ilDB