ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
class.ilMailGlobalAddressSettingsChangedCommand.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilMailGlobalAddressSettingsChangedCommand
26
{
27
public
function
__construct
(
private
readonly
ilDBInterface
$db,
private
readonly
int
$option)
28
{
29
}
30
31
public
function
execute
(): void
32
{
33
$this->db->manipulateF(
34
"UPDATE settings SET value = %s WHERE module = 'common' AND keyword = 'mail_address_option'"
,
35
[
"integer"
],
36
[$this->option]
37
);
38
$this->db->manipulateF(
39
"UPDATE mail_options SET mail_address_option = %s"
,
40
[
"integer"
],
41
[$this->option]
42
);
43
}
44
}
ilMailGlobalAddressSettingsChangedCommand
Class ilMailGlobalAddressSettingsChangedCommand.
Definition:
class.ilMailGlobalAddressSettingsChangedCommand.php:25
ilMailGlobalAddressSettingsChangedCommand\__construct
__construct(private readonly ilDBInterface $db, private readonly int $option)
Definition:
class.ilMailGlobalAddressSettingsChangedCommand.php:27
ilDBInterface
ilMailGlobalAddressSettingsChangedCommand\execute
execute()
Definition:
class.ilMailGlobalAddressSettingsChangedCommand.php:31
components
ILIAS
Mail
classes
class.ilMailGlobalAddressSettingsChangedCommand.php
Generated on Wed Sep 10 2025 15:15:55 for ILIAS by
1.8.13 (using
Doxyfile
)