Свойство | Type | Description | |
---|---|---|---|
$_actions | array | A list of Ingo_Script_Sieve_Action objects that go into the if clause. | |
$_else | Ingo_Script_Sieve_Else | A Ingo_Script_Sieve_Else object that creates an optional else clause. | |
$_elsifs | array | A list of Ingo_Script_Sieve_Elseif objects that create optional elsif clauses. | |
$_test | Ingo_Script_Sieve_Test | The Ingo_Script_Sieve_Test object for the if test. |
Méthode | Description | |
---|---|---|
__construct ( Ingo_Script_Sieve_Test $test = null ) | Constructor. | |
addElsif ( $elsif ) | ||
check ( ) : boolean | string | Checks if all sub-rules are valid. | |
generate ( ) : string | Returns a script snippet representing this rule and any sub-rules. | |
getActions ( ) | ||
getElse ( ) | ||
getElsifs ( ) | ||
getTest ( ) | ||
requires ( ) : array | Returns a list of sieve extensions required for this rule and any sub-rules. | |
setActions ( $actions ) | ||
setElse ( $else ) | ||
setElsifs ( $elsifs ) | ||
setTest ( $test ) |
public __construct ( Ingo_Script_Sieve_Test $test = null ) | ||
$test | Ingo_Script_Sieve_Test | A Ingo_Script_Sieve_Test object. |
protected array $_actions | ||
Résultat | array |
protected Ingo_Script_Sieve_Else $_else | ||
Résultat | Ingo_Script_Sieve_Else |
protected array $_elsifs | ||
Résultat | array |