PHP Class Ingo_Script_Sieve_Comment, horde

Author: Mike Cochrane ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Ingo_Script_Sieve_Base
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_comment

Public Methods

Method Description
__construct ( string $comment ) Constructor.
check ( ) : boolean | string Checks if the rule parameters are valid.
generate ( ) : string Returns a script snippet representing this rule and any sub-rules.

Method Details

__construct() public method

Constructor.
public __construct ( string $comment )
$comment string The comment text.

check() public method

Checks if the rule parameters are valid.
public check ( ) : boolean | string
return boolean | string True if this rule is valid, an error message otherwise.

generate() public method

Returns a script snippet representing this rule and any sub-rules.
public generate ( ) : string
return string A Sieve script snippet.

Property Details

$_comment protected_oe property

protected $_comment