Documentation

Ingo_Script_Sieve_Action_Redirect extends Ingo_Script_Sieve_Action
in package

The Ingo_Script_Sieve_Action_Redirect class represents a redirect action.

Tags
author

Mike Cochrane mike@graftonhall.co.nz

author

Jan Schneider jan@horde.org

category

Horde

license

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

Table of Contents

$_vars  : array<string|int, mixed>
Any necessary action parameters.
__construct()  : mixed
Constructor.
check()  : bool|string
Checks if the rule parameters are valid.
generate()  : mixed
requires()  : array<string|int, mixed>
Returns a list of sieve extensions required for this rule and any sub-rules.

Properties

$_vars

Any necessary action parameters.

protected array<string|int, mixed> $_vars = array()

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $vars = array() ]) : mixed
Parameters
$vars : array<string|int, mixed> = array()

Any required parameters.

Return values
mixed

check()

Checks if the rule parameters are valid.

public check() : bool|string
Return values
bool|string

True if this rule is valid, an error message otherwise.

generate()

public generate(mixed $depth) : mixed
Parameters
$depth : mixed
Return values
mixed

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