mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-13 08:34:36 +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
|
||||||
|
```php
|
||||||
class Plugin extends \RainLoop\Plugins\AbstractPlugin
|
class Plugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
|
{
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
# Hooks
|
# Hooks
|
||||||
|
|
||||||
|
```php
|
||||||
$Plugin->addHook('hook.name', 'functionName');
|
$Plugin->addHook('hook.name', 'functionName');
|
||||||
|
```
|
||||||
|
|
||||||
## Login
|
## Login
|
||||||
|
|
||||||
|
@ -183,6 +188,11 @@ $Plugin->addHook('hook.name', 'functionName');
|
||||||
array &$aResponseItem
|
array &$aResponseItem
|
||||||
|
|
||||||
### filter.message-html
|
### filter.message-html
|
||||||
|
params:
|
||||||
|
\RainLoop\Model\Account $oAccount
|
||||||
|
\MailSo\Mime\Message $oMessage
|
||||||
|
string &$sTextConverted
|
||||||
|
|
||||||
### filter.message-plain
|
### filter.message-plain
|
||||||
params:
|
params:
|
||||||
\RainLoop\Model\Account $oAccount
|
\RainLoop\Model\Account $oAccount
|
||||||
|
@ -250,15 +260,6 @@ $Plugin->addHook('hook.name', 'functionName');
|
||||||
string $sAction
|
string $sAction
|
||||||
array &$aResponseItem
|
array &$aResponseItem
|
||||||
|
|
||||||
### json.action-post-call
|
|
||||||
params:
|
|
||||||
string $sAction
|
|
||||||
array &$aResponseItem
|
|
||||||
|
|
||||||
### json.action-pre-call
|
|
||||||
params:
|
|
||||||
string $sAction
|
|
||||||
|
|
||||||
### json.action-pre-call
|
### json.action-pre-call
|
||||||
params:
|
params:
|
||||||
string $sAction
|
string $sAction
|
||||||
|
@ -292,26 +293,6 @@ $Plugin->addHook('hook.name', 'functionName');
|
||||||
string $sActionName
|
string $sActionName
|
||||||
array &$aResponseItem
|
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
|
### main.default-response-data
|
||||||
params:
|
params:
|
||||||
string $sActionName
|
string $sActionName
|
||||||
|
|
Loading…
Add table
Reference in a new issue