42 $this->obj_id = $a_obj_id;
43 $this->db = $DIC->database();
74 if ($this->obj_id > 0) {
77 array(
"obj_id" =>
array(
"integer", $this->obj_id)),
91 "SELECT * FROM obj_noti_settings " .
92 " WHERE obj_id = " .
$db->quote($this->obj_id,
"integer")
94 $rec =
$db->fetchAssoc($set);
95 $this->
setMode((
int) $rec[
"noti_mode"]);
102 public function delete()
106 $db->manipulate(
"DELETE FROM obj_noti_settings WHERE " .
107 " obj_id = " .
$db->quote($this->obj_id,
"integer"));
Handles general object notification settings, see e.g.
const MODE_DEF_ON_OPT_OUT
const MODE_DEF_OFF_USER_ACTIVATION
Create styles array
The data for the language used.
__construct($a_obj_id)
Constructor.
const MODE_DEF_ON_NO_OPT_OUT