Property | Type | Description | |
---|---|---|---|
$_actions | array | The list of actions allowed (implemented) for this driver. | |
$_categories | array | The categories of filtering allowed. | |
$_endBlocks | array | The blocks that have to appear at the end of the code. | |
$_features | array | A list of driver features. | |
$_tests | array | The list of tests allowed (implemented) for this driver. | |
$_types | array | The types of tests allowed (implemented) for this driver. |
Method | Description | |
---|---|---|
check ( ) : boolean | string | Checks if all rules are valid. | |
escapeString ( string $string, boolean $regexmode = false ) : string | Escape a string according to Sieve RFC 3028 [2.4.2]. | |
generate ( ) : array | Generates the scripts to do the filtering specified in the rules. |
Method | Description | |
---|---|---|
_addBlacklistBlocks ( Ingo_Rule $rule ) | Adds all blocks necessary for the blacklist rule. | |
_addForwardBlocks ( Ingo_Rule $rule ) | Adds all blocks necessary for the forward rule. | |
_addSpamBlocks ( Ingo_Rule $rule ) | Adds all blocks necessary for the spam rule. | |
_addVacationBlocks ( Ingo_Rule $rule ) | Adds all blocks necessary for the vacation rule. | |
_addWhitelistBlocks ( Ingo_Rule $rule ) | Adds all blocks necessary for the whitelist rule. | |
_generate ( ) | Generates the Sieve script to do the filtering specified in the rules. |
protected _addBlacklistBlocks ( Ingo_Rule $rule ) | ||
$rule | Ingo_Rule | Rule object. |
protected _addForwardBlocks ( Ingo_Rule $rule ) | ||
$rule | Ingo_Rule | Rule object. |
protected _addSpamBlocks ( Ingo_Rule $rule ) | ||
$rule | Ingo_Rule | Rule object. |
protected _addVacationBlocks ( Ingo_Rule $rule ) | ||
$rule | Ingo_Rule | Rule object. |
protected _addWhitelistBlocks ( Ingo_Rule $rule ) | ||
$rule | Ingo_Rule | Rule object. |
protected _generate ( ) |
protected array $_actions | ||
return | array |
protected array $_categories | ||
return | array |
protected array $_endBlocks | ||
return | array |
protected array $_tests | ||
return | array |
protected array $_types | ||
return | array |