프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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. |
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
_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 | ||
리턴 | array |
protected array $_categories | ||
리턴 | array |
protected array $_endBlocks | ||
리턴 | array |
protected array $_tests | ||
리턴 | array |
protected array $_types | ||
리턴 | array |