Class Ingo_Script_Sieve_Test_Allof
The Ingo_Script_Sieve_Test_Allof class represents a Allof test structure.
Equivalent to a logical AND of all the tests it contains.
See the enclosed file LICENSE for license information (ASL). If you
did not receive this file, see http://www.horde.org/licenses/apache.
-
Ingo_Script_Sieve_Test
-
Ingo_Script_Sieve_Test_Allof
Methods summary
public
|
#
__construct( mixed $test = null )
Constructor.
Parameters
- $test
- <p>A Ingo_Script_Sieve_Test object or a list of
Ingo_Script_Sieve_Test objects.</p>
|
public
string
|
#
toCode( )
Returns a script snippet representing this rule and any sub-rules.
Returns a script snippet representing this rule and any sub-rules.
Returns
string A Sieve script snippet.
Overrides
|
public
boolean|string
|
#
check( )
Checks if all sub-rules are valid.
Checks if all sub-rules are valid.
Returns
boolean|string True if all rules are valid, an error message
otherwise.
Overrides
|
public
|
|
public
|
|
public
array
|
#
requires( )
Returns a list of sieve extensions required for this rule and any
sub-rules.
Returns a list of sieve extensions required for this rule and any
sub-rules.
Returns
array A Sieve extension list.
Overrides
|