projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ca1594
)
DataObjects/Core_notify.php
gitlive
origin.gitlive
author
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Mar 2011 06:34:32 +0000
(14:34 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Mar 2011 06:34:32 +0000
(14:34 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
4a36559
..
91a0c42
100644
(file)
--- 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