Class Ingo_Script_Sieve_Else
The Ingo_Script_Sieve_Else:: class represents a Sieve Else Statement.
See the enclosed file LICENSE for license information (ASL). If you
did not receive this file, see http://www.horde.org/licenses/apache.
Methods summary
public
|
#
__construct( mixed $actions = null )
Constructor.
Parameters
- $actions
- <p>An Ingo_Script_Sieve_Action object or a list of
Ingo_Script_Sieve_Action 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.
|
public
|
|
public
|
|
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.
|
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.
|