4.6Functions

addHook

Adds a callback hook

addHook( hook, [before] )
hook An instance of Hook class.
before if true, this hook will be processed before the others.

emit

Calls a hook.

emit( The, name, [...] )
The name of a previously registered hook
...

Calls a previously registered Hook instance. The hook function should return an oob value to signal that the message has been handled, and stop from further propagation.

getURI

Returns the URI confgiured for this site. If the site has been configured with an explicit callback uri, it is returned, otherwise the URI of the entry point script is determined looking at the Request WOPI fields.

getURI( scheme )

loadHook

Loads a callback hook and configures it.

loadHook( name, [vars],[before] )
name The logical name of the callback hook.
vars Configuration variables to be passed to the hook.
before if true, the hook will take priority over existing ones.
Made with http://www.falconpl.org