Cleanup plugin hooks README

This commit is contained in:
djmaze 2021-10-25 09:52:04 +02:00
parent 54f6f34e0d
commit 09a9a45e98

View file

@ -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