mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Add extension JsonHook info
This commit is contained in:
parent
477158e54a
commit
c9b1098236
2 changed files with 8 additions and 22 deletions
|
|
@ -242,6 +242,9 @@ $Plugin->addHook('hook.name', 'functionName');
|
|||
|
||||
## Json service actions
|
||||
Called by RainLoop\ServiceActions::ServiceJson()
|
||||
{actionname} is one of the RainLoop\Actions::Do{ActionName}(),
|
||||
or an extension action as "Plugin{ActionName}" added with Plugin::addJsonHook()
|
||||
and called in JavaScript using rl.pluginRemoteRequest().
|
||||
|
||||
### json.before-{actionname}
|
||||
params: none
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue