ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilMailGlobalAddressSettingsChangedCommand.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilMailGlobalAddressSettingsChangedCommand
22
{
23
public
function
__construct
(
private
readonly
ilDBInterface
$db,
private
readonly
int
$option)
24
{
25
}
26
27
public
function
execute
(): void
28
{
29
$this->db->manipulateF(
30
"UPDATE settings SET value = %s WHERE module = 'common' AND keyword = 'mail_address_option'"
,
31
[
'integer'
],
32
[$this->option]
33
);
34
$this->db->manipulateF(
35
'UPDATE mail_options SET mail_address_option = %s'
,
36
[
'integer'
],
37
[$this->option]
38
);
39
}
40
}
ilMailGlobalAddressSettingsChangedCommand
Definition:
class.ilMailGlobalAddressSettingsChangedCommand.php:21
ilMailGlobalAddressSettingsChangedCommand\__construct
__construct(private readonly ilDBInterface $db, private readonly int $option)
Definition:
class.ilMailGlobalAddressSettingsChangedCommand.php:23
ilDBInterface
ilMailGlobalAddressSettingsChangedCommand\execute
execute()
Definition:
class.ilMailGlobalAddressSettingsChangedCommand.php:27
components
ILIAS
Mail
classes
class.ilMailGlobalAddressSettingsChangedCommand.php
Generated on Sun Aug 31 2025 23:03:18 for ILIAS by
1.8.13 (using
Doxyfile
)