ILIAS  release_8 Revision v8.24
ilMailGlobalAddressSettingsChangedCommand Class Reference

Class ilMailGlobalAddressSettingsChangedCommand. More...

+ Collaboration diagram for ilMailGlobalAddressSettingsChangedCommand:

Public Member Functions

 __construct (ilDBInterface $db, int $option)
 
 execute ()
 

Private Attributes

ilDBInterface $db
 
int $option
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilMailGlobalAddressSettingsChangedCommand::__construct ( ilDBInterface  $db,
int  $option 
)

Member Function Documentation

◆ execute()

ilMailGlobalAddressSettingsChangedCommand::execute ( )

Definition at line 36 of file class.ilMailGlobalAddressSettingsChangedCommand.php.

36 : void
37 {
38 $this->db->manipulateF(
39 "UPDATE settings SET value = %s WHERE module = 'common' AND keyword = 'mail_address_option'",
40 ["integer"],
41 [$this->option]
42 );
43 $this->db->manipulateF(
44 "UPDATE mail_options SET mail_address_option = %s",
45 ["integer"],
46 [$this->option]
47 );
48 }

Field Documentation

◆ $db

ilDBInterface ilMailGlobalAddressSettingsChangedCommand::$db
private

Definition at line 27 of file class.ilMailGlobalAddressSettingsChangedCommand.php.

Referenced by __construct().

◆ $option

int ilMailGlobalAddressSettingsChangedCommand::$option
private

Definition at line 28 of file class.ilMailGlobalAddressSettingsChangedCommand.php.

Referenced by __construct().


The documentation for this class was generated from the following file: