Class Ingo_Script_Sieve_Test_Header
The Ingo_Script_Sieve_Test_Header class represents a test on the contents
of one or more headers in a message.
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_Header
Methods summary
public
|
#
__construct( array $vars = array() )
Constructor.
Parameters
- $vars
- Any required parameters.
|
public
boolean|string
|
#
check( )
Checks if the rule parameters are valid.
Checks if the rule parameters are valid.
Returns
boolean|string True if this rule is valid, an error message
otherwise.
Overrides
|
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
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
|