Summary
- File
- Package hierarchy PHPBoost\Config
- Class hierarchy \AbstractConfigData \MailServiceConfig
This class contains the configuration of PHPBoost's mail service.
This class contains the configuration of PHPBoost's mail service.
__construct()
Constructs a AbstractConfigData object
| None found |
synchronize()
This method is not used in the configuration context.
{@inheritdoc}
| None found |
set_default_values()
Redefine this method if you want to avoid getting errors while asking values.
If some entries doesn't exist, they can be created here.
| None found |
get_property(string $name) : string
Reads a property's value.
| string | $name | Name of the property to read |
the read value
| None found |
set_property(string $name, string $value)
Sets a property value. If the property exists, it overrides its value, otherwise, it creates an entry for this property.
| string | $name | Name of the property |
| string | $value | Value of the property |
| None found |
get_default_values() : \string[mixed]
Returns a map associating to each property name the corresponding default value
| None found |
get_default_mail_sender()
| None found |
set_default_mail_sender( $sender)
| $sender |
| None found |
get_administrators_mails()
| None found |
set_administrators_mails(array $mails)
| array | $mails |
| None found |
get_mail_signature()
| None found |
set_mail_signature( $signature)
| $signature |
| None found |
is_smtp_enabled()
| None found |
enable_smtp()
| None found |
disable_smtp()
| None found |
get_smtp_host()
| None found |
set_smtp_host( $host)
| $host |
| None found |
get_smtp_port()
| None found |
set_smtp_port( $port)
| $port |
| None found |
get_smtp_login()
| None found |
set_smtp_login( $login)
| $login |
| None found |
get_smtp_password()
| None found |
set_smtp_password( $password)
| $password |
| None found |
get_smtp_protocol()
| None found |
set_smtp_protocol( $protocol)
| $protocol |
| None found |
to_smtp_config() : \SMTPConfiguration
| None found |
load() : \MailServiceConfig
Returns the configuration.
| None found |
save()
Saves the configuration in the database. Has it become persistent.
| None found |
get_default_value( $property)
| $property |
| None found |
$properties_map :
| None found |