Class Ingo_Script_Sieve_Comment
A Comment.
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( string $comment )
Constructor.
Parameters
- $comment
- The comment text.
|
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
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.
|
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.
|