Ingo_Script_Maildrop_Variable
in package
implements
Ingo_Script_Item
The Ingo_Script_Maildrop_Variable class represents a Maildrop 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 maildrop variable.
- generate() : string
- Generates maildrop code to represent the variable.
Properties
$_name
protected
mixed
$_name
$_value
protected
mixed
$_value
Methods
__construct()
Constructs a new maildrop 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 maildrop code to represent the variable.
public
generate() : string
Return values
string —maildrop code to represent the variable.