PHP Класс Ingo_Script_Sieve_Action_Notify, horde
It supports both enotify (RFC 5435) and the older, deprecated notify
(draft-martin-sieve-notify-01) capabilities.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
__construct ( array $vars = [] ) |
Constructor. |
|
check ( ) : boolean | string |
Checks if the rule parameters are valid. |
|
generate ( ) : string |
Returns a script snippet representing this rule and any sub-rules. |
|
requires ( ) : array |
Returns a list of sieve extensions required for this rule and any
sub-rules. |
|
Описание методов
__construct()
публичный Метод
public __construct ( array $vars = [] ) |
$vars |
array |
Required parameters:
- address: (string) Address.
- name: (string) Name.
- notify: (boolean) If set, use notify instead of enotify. |
Checks if the rule parameters are valid.
generate()
публичный Метод
Returns a script snippet representing this rule and any sub-rules.
requires()
публичный Метод
Returns a list of sieve extensions required for this rule and any
sub-rules.