PHP Класс Ingo_Script_Sieve_Elsif, horde

Автор: Mike Cochrane ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Ingo_Script_Sieve_Base
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_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.

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

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

check() публичный Метод

Checks if all sub-rules are valid.
public check ( ) : boolean | string
Результат boolean | string True if all rules are valid, an error message otherwise.

generate() публичный Метод

Returns a script snippet representing this rule and any sub-rules.
public generate ( ) : string
Результат string A Sieve script snippet.

getActions() публичный Метод

public getActions ( )

getTest() публичный Метод

public getTest ( )

requires() публичный Метод

Returns a list of sieve extensions required for this rule and any sub-rules.
public requires ( ) : array
Результат array A Sieve extension list.

setActions() публичный Метод

public setActions ( $actions )

setTest() публичный Метод

public setTest ( $test )

Описание свойств

$_actions защищенное свойство

A list of Ingo_Script_Sieve_Action objects that go into the if clause.
protected array $_actions
Результат array

$_test защищенное свойство

The Ingo_Script_Sieve_Test object for the if test.
protected Ingo_Script_Sieve_Test $_test
Результат Ingo_Script_Sieve_Test