ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilMailMimeSenderSystem Class Reference

Class ilMailMimeSenderSystem. More...

+ Inheritance diagram for ilMailMimeSenderSystem:
+ Collaboration diagram for ilMailMimeSenderSystem:

Public Member Functions

 __construct (\ilSetting $settings)
 ilMailMimeSenderSystem constructor. More...
 
 hasReplyToAddress ()
 
Returns
bool
More...
 
 getReplyToAddress ()
 
Returns
string
More...
 
 getReplyToName ()
 
Returns
string
More...
 
 hasEnvelopFromAddress ()
 
Returns
bool
More...
 
 getEnvelopFromAddress ()
 
Returns
string
More...
 
 getFromAddress ()
 
Returns
string
More...
 
 getFromName ()
 
Returns
string
More...
 

Protected Attributes

 $settings
 

Detailed Description

Class ilMailMimeSenderSystem.

Definition at line 9 of file class.ilMailMimeSenderSystem.php.

Constructor & Destructor Documentation

◆ __construct()

ilMailMimeSenderSystem::__construct ( \ilSetting  $settings)

ilMailMimeSenderSystem constructor.

Parameters
ilSetting$settings

Definition at line 20 of file class.ilMailMimeSenderSystem.php.

References $settings, and settings().

21  {
22  $this->settings = $settings;
23  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

Member Function Documentation

◆ getEnvelopFromAddress()

ilMailMimeSenderSystem::getEnvelopFromAddress ( )

Returns
string

Implements ilMailMimeSender.

Definition at line 60 of file class.ilMailMimeSenderSystem.php.

References settings().

61  {
62  return $this->settings->get('mail_system_sys_env_from_addr');
63  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

◆ getFromAddress()

ilMailMimeSenderSystem::getFromAddress ( )

Returns
string

Implements ilMailMimeSender.

Definition at line 68 of file class.ilMailMimeSenderSystem.php.

References settings().

69  {
70  return $this->settings->get('mail_system_sys_from_addr');
71  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

◆ getFromName()

ilMailMimeSenderSystem::getFromName ( )

Returns
string

Implements ilMailMimeSender.

Definition at line 76 of file class.ilMailMimeSenderSystem.php.

References settings().

77  {
78  return $this->settings->get('mail_system_sys_from_name');
79  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

◆ getReplyToAddress()

ilMailMimeSenderSystem::getReplyToAddress ( )

Returns
string

Implements ilMailMimeSender.

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

References settings().

37  {
38  return $this->settings->get('mail_system_sys_reply_to_addr');
39  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

◆ getReplyToName()

ilMailMimeSenderSystem::getReplyToName ( )

Returns
string

Implements ilMailMimeSender.

Definition at line 44 of file class.ilMailMimeSenderSystem.php.

45  {
46  return '';
47  }

◆ hasEnvelopFromAddress()

ilMailMimeSenderSystem::hasEnvelopFromAddress ( )

Returns
bool

Implements ilMailMimeSender.

Definition at line 52 of file class.ilMailMimeSenderSystem.php.

References settings().

53  {
54  return strlen($this->settings->get('mail_system_sys_env_from_addr')) > 0;
55  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

◆ hasReplyToAddress()

ilMailMimeSenderSystem::hasReplyToAddress ( )

Returns
bool

Implements ilMailMimeSender.

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

References settings().

29  {
30  return strlen($this->settings->get('mail_system_sys_reply_to_addr')) > 0;
31  }
settings()
Definition: settings.php:2
+ Here is the call graph for this function:

Field Documentation

◆ $settings

ilMailMimeSenderSystem::$settings
protected

Definition at line 14 of file class.ilMailMimeSenderSystem.php.

Referenced by __construct().


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