SendmailPreset
class \
- Extends
- AbstractPreset
Sendmail path handling preset
Internal
only to be used within EXT:install
Table of Contents
Properties
- $configurationManager : ConfigurationManager
- $configurationValues : array
- $name : string
- $postValues : array
- $priority : int
- $readonlyConfigurationValues : array
Methods
- __construct() : mixed
- getConfigurationValues() : array
- Get configuration values to activate prefix
- getIsActive() : bool
- Wrapper for isActive, used in fluid
- getIsAvailable() : bool
- Wrapper for isAvailable, used in fluid
- getName() : string
- Get name of preset
- getPriority() : int
- Get priority of preset
- getSendmailPath() : string|bool
- Path where executable was found
- isActive() : bool
- Check is preset is currently active on the system
- isAvailable() : bool
- Check if sendmail path if set
- setPostValues() : mixed
- Set POST values
Properties
$configurationManager
protected
ConfigurationManager
$configurationManager
$configurationValues
protected
array
$configurationValues
= ['MAIL/transport' => 'sendmail', 'MAIL/transport_sendmail_co…Show the full value
['MAIL/transport' => 'sendmail', 'MAIL/transport_sendmail_command' => '', 'MAIL/transport_smtp_server' => '', 'MAIL/transport_smtp_encrypt' => '', 'MAIL/transport_smtp_username' => '', 'MAIL/transport_smtp_password' => '']
Configuration values handled by this preset
$name
protected
string
$name
= 'Sendmail'
Name of preset
$postValues
protected
array
$postValues
= []
List of $POST values
$priority
protected
int
$priority
= 50
Priority of preset
$readonlyConfigurationValues
protected
array
$readonlyConfigurationValues
= []
Configuration values that are visible but not editable via presets GUI
Methods
__construct()
public
__construct([ConfigurationManager|null $configurationManager = null ]) : mixed
Parameters
- $configurationManager : ConfigurationManager|null = null
getConfigurationValues()
Get configuration values to activate prefix
public
getConfigurationValues() : array
Return values
array —Configuration values needed to activate prefix
getIsActive()
Wrapper for isActive, used in fluid
public
getIsActive() : bool
Return values
bool —TRUE if preset is active
getIsAvailable()
Wrapper for isAvailable, used in fluid
public
getIsAvailable() : bool
Return values
bool —TRUE if preset is available
getName()
Get name of preset
public
getName() : string
Return values
string —Name
getPriority()
Get priority of preset
public
getPriority() : int
Return values
int —Priority, usually between 0 and 100
getSendmailPath()
Path where executable was found
public
getSendmailPath() : string|bool
Return values
string|bool —Sendmail path or FALSE if not set
isActive()
Check is preset is currently active on the system
public
isActive() : bool
Return values
bool —TRUE if preset is active
isAvailable()
Check if sendmail path if set
public
isAvailable() : bool
Return values
bool —TRUE if sendmail path if set
setPostValues()
Set POST values
public
setPostValues(array $postValues) : mixed
Parameters
- $postValues : array
-
Post values of feature