PHP Class Ingo_Script_Sieve_Else, horde

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

Protected Properties

Свойство Type Description
$_actions array A list of Ingo_Script_Sieve_Action objects that go into the else clause.

Méthodes publiques

Méthode Description
__construct ( mixed $actions = null ) Constructor.
check ( ) : boolean | string Checks if all sub-rules are valid.
generate ( ) : string Returns a script snippet representing this rule and any sub-rules.
getActions ( )
requires ( ) : array Returns a list of sieve extensions required for this rule and any sub-rules.
setActions ( $actions )

Method Details

__construct() public méthode

Constructor.
public __construct ( mixed $actions = null )
$actions mixed An Ingo_Script_Sieve_Action object or a list of Ingo_Script_Sieve_Action objects.

check() public méthode

Checks if all sub-rules are valid.
public check ( ) : boolean | string
Résultat boolean | string True if all rules are 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.

getActions() public méthode

public getActions ( )

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.

setActions() public méthode

public setActions ( $actions )

Property Details

$_actions protected_oe property

A list of Ingo_Script_Sieve_Action objects that go into the else clause.
protected array $_actions
Résultat array