From 09a9a45e9838cb24e8f6d493f80d846b189a2a1b Mon Sep 17 00:00:00 2001 From: djmaze Date: Mon, 25 Oct 2021 09:52:04 +0200 Subject: [PATCH] Cleanup plugin hooks README --- plugins/README.md | 41 +++++++++++------------------------------ 1 file changed, 11 insertions(+), 30 deletions(-) diff --git a/plugins/README.md b/plugins/README.md index cabfc2fa4..2a830deea 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -1,10 +1,15 @@ PHP - +```php class Plugin extends \RainLoop\Plugins\AbstractPlugin +{ +} +``` # Hooks +```php $Plugin->addHook('hook.name', 'functionName'); +``` ## Login @@ -183,6 +188,11 @@ $Plugin->addHook('hook.name', 'functionName'); array &$aResponseItem ### filter.message-html + params: + \RainLoop\Model\Account $oAccount + \MailSo\Mime\Message $oMessage + string &$sTextConverted + ### filter.message-plain params: \RainLoop\Model\Account $oAccount @@ -250,15 +260,6 @@ $Plugin->addHook('hook.name', 'functionName'); string $sAction array &$aResponseItem -### json.action-post-call - params: - string $sAction - array &$aResponseItem - -### json.action-pre-call - params: - string $sAction - ### json.action-pre-call params: string $sAction @@ -292,26 +293,6 @@ $Plugin->addHook('hook.name', 'functionName'); string $sActionName array &$aResponseItem -### main.default-response - params: - string $sActionName - array &$aResponseItem - -### main.default-response - params: - string $sActionName - array &$aResponseItem - -### main.default-response-data - params: - string $sActionName - mixed &$mResult - -### main.default-response-data - params: - string $sActionName - mixed &$mResult - ### main.default-response-data params: string $sActionName