PHP Class Ingo_Script_Sieve_Elsif, horde

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

Protected Properties

Свойство Type Description
$_actions array A list of Ingo_Script_Sieve_Action objects that go into the if clause.
$_test Ingo_Script_Sieve_Test The Ingo_Script_Sieve_Test object for the if test.

Méthodes publiques

Méthode Description
__construct ( Ingo_Script_Sieve_Test $test = 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 ( )
getTest ( )
requires ( ) : array Returns a list of sieve extensions required for this rule and any sub-rules.
setActions ( $actions )
setTest ( $test )

Method Details

__construct() public méthode

Constructor.
public __construct ( Ingo_Script_Sieve_Test $test = null )
$test Ingo_Script_Sieve_Test A Ingo_Script_Sieve_Test object.

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 ( )

getTest() public méthode

public getTest ( )

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 )

setTest() public méthode

public setTest ( $test )

Property Details

$_actions protected_oe property

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

$_test protected_oe property

The Ingo_Script_Sieve_Test object for the if test.
protected Ingo_Script_Sieve_Test $_test
Résultat Ingo_Script_Sieve_Test