projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DataObjects/Core_notify.php
[Pman.Core]
/
DataObjects
/
Core_notify.php
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);