DataObjects/Core_notify.php gitlive origin.gitlive
authorAlan Knowles <alan@akbkhome.com>
Wed, 30 Mar 2011 06:34:32 +0000 (14:34 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 30 Mar 2011 06:34:32 +0000 (14:34 +0800)
DataObjects/Core_notify.php

index 4a36559..91a0c42 100644 (file)
@@ -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