MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / trigger_hook

Method trigger_hook

thirdparty/bottle/bottle.py:684–686  ·  view source on GitHub ↗

Trigger a hook and return a list of results.

(self, __name, *args, **kwargs)

Source from the content-addressed store, hash-verified

682 return True
683
684 def trigger_hook(self, __name, *args, **kwargs):
685 """ Trigger a hook and return a list of results. """
686 return [hook(*args, **kwargs) for hook in self._hooks[__name][:]]
687
688 def hook(self, name):
689 """ Return a decorator that attaches a callback to a hook. See

Callers 2

resetMethod · 0.95
_handleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected