3 * Table Definition for core_notify
5 require_once 'DB/DataObject.php';
7 class Pman_Core_DataObjects_Core_notify extends DB_DataObject
10 /* the code below is auto generated do not remove the above tag */
12 public $__table = 'core_notify'; // table name
13 public $id; // int(11) not_null primary_key auto_increment
14 public $act_when; // datetime(19) not_null multiple_key binary
15 public $onid; // int(11) not_null
16 public $ontable; // string(128) not_null
17 public $person_id; // int(11) not_null
18 public $msgid; // string(128) not_null
19 public $sent; // datetime(19) not_null binary
20 public $event_id; // int(11)
23 /* the code above is auto generated do not remove the tag below */
28 $c = DB_DataObject::Factory('Person');
29 $c->get($this->person_id);
35 $c = DB_DataObject::factory($this->ontable);
37 if ($c->get($this->onid)) {
46 return !empty($msgid);