PHP Class Ingo_Script_Sieve_Action_Fileinto, horde

Author: Mike Cochrane ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Ingo_Script_Sieve_Action
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode Description
__construct ( array $vars = [] ) Constructor.
check ( ) : boolean | string Checks if the rule parameters are valid.
generate ( ) : string Returns a script snippet representing this rule and any sub-rules.
requires ( ) : array Returns a list of sieve extensions required for this rule and any sub-rules.

Method Details

__construct() public méthode

Constructor.
public __construct ( array $vars = [] )
$vars array Any required parameters.

check() public méthode

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

generate() public méthode

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

requires() public méthode

Returns a list of sieve extensions required for this rule and any sub-rules.
public requires ( ) : array
Résultat array A Sieve extension list.