프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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. |
메소드 | 설명 | |
---|---|---|
__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 | ||
리턴 | array |
protected Ingo_Script_Sieve_Else $_else | ||
리턴 | Ingo_Script_Sieve_Else |
protected array $_elsifs | ||
리턴 | array |