mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-25 08:32:57 +08:00
Cleanup plugin hooks README
This commit is contained in:
parent
54f6f34e0d
commit
09a9a45e98
1 changed files with 11 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue