1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Updated e_notify.php to v2.x spec.

This commit is contained in:
Cameron
2013-06-18 20:21:10 -07:00
parent 0a2c3402d0
commit dbf987298d
6 changed files with 145 additions and 30 deletions

View File

@@ -39,6 +39,17 @@ class e107_event
}
}
function debug()
{
print_a($this->functions);
print_a($this->includes);
}
/**
* Trigger event
* TODO - admin log for failed callback attempts?
@@ -109,6 +120,11 @@ class e107_event
return (isset($ret) ? $ret : false);
}
function triggerAdminEvent($type, $parms=array())
{
global $pref;
@@ -164,6 +180,7 @@ class e107_event
{
$text = '';
$e_event_list = e107::getPref('e_event_list');
if(is_array($e_event_list))
{
foreach($e_event_list as $hook)