PHP Класс Ingo_Script_Sieve_Action_Notify, horde

It supports both enotify (RFC 5435) and the older, deprecated notify (draft-martin-sieve-notify-01) capabilities.
Автор: Paul Wolstenholme ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Ingo_Script_Sieve_Action
Показать файл Открыть проект

Открытые методы

Метод Описание
__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() публичный Метод

Constructor.
public __construct ( array $vars = [] )
$vars array Required parameters: - address: (string) Address. - name: (string) Name. - notify: (boolean) If set, use notify instead of enotify.

check() публичный Метод

Checks if the rule parameters are valid.
public check ( ) : boolean | string
Результат boolean | string True if this rule is valid, an error message otherwise.

generate() публичный Метод

Returns a script snippet representing this rule and any sub-rules.
public generate ( ) : string
Результат string A Sieve script snippet.

requires() публичный Метод

Returns a list of sieve extensions required for this rule and any sub-rules.
public requires ( ) : array
Результат array A Sieve extension list.