projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3736a3f
)
DataObjects/Core_notify.php
author
Chris
<chris@roojs.com>
Tue, 3 Sep 2013 06:49:08 +0000
(14:49 +0800)
committer
Chris
<chris@roojs.com>
Tue, 3 Sep 2013 06:49:08 +0000
(14:49 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
fe84b84
..
edb070c
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-105,6
+105,19
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
return false;
}
return false;
}
+
+ function triggerEvent()
+ {
+
+ $c = DB_DataObject::factory('Events');
+
+ if ($c->get($this->trigger_event_id)) {
+ return $c;
+ }
+ return false;
+
+ }
+
function delivered()
{
return !empty($this->msgid);
function delivered()
{
return !empty($this->msgid);