Property | Type | Description | |
---|---|---|---|
$_action | |||
$_combine | |||
$_conditions | |||
$_disable | |||
$_flags | |||
$_operators | |||
$_params | |||
$_valid |
Method | Description | |
---|---|---|
__construct ( array $params = [], array $scriptparams = [] ) | Constructs a new maildrop recipe. | |
addCondition ( $condition = [] ) | Adds a condition to the recipe. | |
addFlag ( string $flag ) | Adds a flag to the recipe. | |
generate ( ) : string | Generates maildrop code to represent the recipe. | |
maildropPath ( string $folder ) : string | Returns a maildrop-ready mailbox path, converting IMAP folder pathname conventions as necessary. |
public __construct ( array $params = [], array $scriptparams = [] ) | ||
$params | array | Array of parameters. REQUIRED FIELDS: 'action' OPTIONAL FIELDS: 'action-value' (only used if the 'action' requires it) 'combine' 'disable' |
$scriptparams | array | Array of parameters passed to Ingo_Script_Maildrop::. |
public addCondition ( $condition = [] ) |
public maildropPath ( string $folder ) : string | ||
$folder | string | The IMAP folder name. |
return | string | The maildrop mailbox path. |