\Ingo_Script_Sieve_Test_True

The Ingo_Script_Sieve_Test_True class represents a test that always evaluates to true.

A test is a piece of code that evaluates to true or false.

Summary

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

Properties

$_vars

$_vars : array

Any necessary test parameters.

Type

array

Methods

check()

check() : boolean|string

Checks if the rule parameters are valid.

Returns

boolean|string —

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

requires()

requires() : array

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

Returns

array —

A Sieve extension list.

generate()

generate() : string

Returns a script snippet representing this rule and any sub-rules.

Returns

string —

A Sieve script snippet.