Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
_dateCheck ( ) : string | Uses 'date' and 'relative' extensions to limit vacation messages by date. | |
_dayCheck ( $begin, $end ) | ||
_monthCheck ( $begin, $end ) | ||
_regexCheck ( ) : string | Uses regular expression parsing to limit vacation messages by date. | |
_vacationCode ( ) | ||
_yearCheck ( $begin, $end ) |
public __construct ( array $vars = [] ) | ||
$vars | array | Any required parameters. |
protected _dateCheck ( ) : string | ||
Результат | string | A Sieve script snippet. |
protected _regexCheck ( ) : string | ||
Результат | string | A Sieve script snippet. |