diff --git a/lib/triggers/triggerregistry.inc.php b/lib/triggers/triggerregistry.inc.php new file mode 100644 index 0000000..7f9ecff --- /dev/null +++ b/lib/triggers/triggerregistry.inc.php @@ -0,0 +1,33 @@ +triggers)) { + $this->triggers[$action] = array(); + } + if (!array_key_exists($slot, $this->triggers[$action])) { + $this->triggers[$action][$slot] = array(); + } + $this->triggers[$action][$slot][$nsname] = array($name, $path, $nsname); + } + // }}} + + // {{{ getTriggers + function getTriggers($action, $slot) { + return $this->triggers[$action][$slot]; + } + // }}} +} + +?>