Documentation

Ingo_Script_Sieve_Require extends Ingo_Script_Sieve_Base
in package

The Ingo_Script_Sieve_Require class represents a Sieve Require statement.

Tags
author

Jan Schneider jan@horde.org

category

Horde

license

http://www.horde.org/licenses/apache ASL

Table of Contents

$_requires  : array<string|int, mixed>
__construct()  : mixed
Constructor.
generate()  : string
Returns a script snippet representing this rule.
requires()  : array<string|int, mixed>
Returns a list of sieve extensions required for this rule and any sub-rules.

Properties

$_requires

protected array<string|int, mixed> $_requires

Methods

__construct()

Constructor.

public __construct(array<string|int, mixed> $requires) : mixed
Parameters
$requires : array<string|int, mixed>

The required extensions.

Return values
mixed

generate()

Returns a script snippet representing this rule.

public generate() : string
Return values
string

A Sieve script snippet.

requires()

Returns a list of sieve extensions required for this rule and any sub-rules.

public requires() : array<string|int, mixed>
Return values
array<string|int, mixed>

A Sieve extension list.

Search results