Ingo_Script_Procmail_Variable
in package
implements
Ingo_Script_Item
The Ingo_Script_Procmail_Variable class represents a Procmail variable.
Tags
Interfaces, Classes, Traits and Enums
- Ingo_Script_Item
- The Ingo_Script_Item interface is an interface for individual items representing code snippets of a filter script.
Table of Contents
- $_name : mixed
- $_value : mixed
- __construct() : mixed
- Constructs a new procmail variable.
- generate() : string
- Generates procmail code to represent the variable.
Properties
$_name
protected
mixed
$_name
$_value
protected
mixed
$_value
Methods
__construct()
Constructs a new procmail variable.
public
__construct([array<string|int, mixed> $params = array() ]) : mixed
Parameters
- $params : array<string|int, mixed> = array()
-
Array of parameters. Expected fields are 'name' and 'value'.
Return values
mixed —generate()
Generates procmail code to represent the variable.
public
generate() : string
Return values
string —Procmail code to represent the variable.