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) { $ret = array(); if (array_key_exists($action, $this->triggers)) { if (array_key_exists($slot, $this->triggers[$action])) { $ret = $this->triggers[$action][$slot]; } } if (empty($ret)) { return array(); } return $ret; } // }}} } ?>