\Ingo_Script_Sieve_Require

The Ingo_Script_Sieve_Require class represents a Sieve Require statement.

Summary

Methods
Properties
Constants
requires()
__construct()
generate()
No public properties found
No constants found
No protected methods found
$_requires
N/A
No private methods found
No private properties found
N/A

Properties

$_requires

$_requires : array

Type

array

Methods

requires()

requires() : array

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

Returns

array —

A Sieve extension list.

__construct()

__construct(array  $requires) 

Constructor.

Parameters

array $requires

The required extensions.

generate()

generate() : string

Returns a script snippet representing this rule.

Returns

string —

A Sieve script snippet.