From 850c075247ff286b564910e5a287efa8b2694136 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 30 Mar 2011 14:34:32 +0800 Subject: [PATCH] DataObjects/Core_notify.php --- DataObjects/Core_notify.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index 4a365599..91a0c426 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -39,4 +39,13 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject public $sent; // date it was sent.?? or last effort.. public $bounced; // 1 - failed to send (??) // 2 = we got a bounce. + + function person() + { + $c = DB_DataObject::Factory('Person'); + $c->get($this->person_id); + return $c; + + } + } \ No newline at end of file -- 2.39.2