ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilMailAddress Class Reference

Class ilMailAddress. More...

+ Collaboration diagram for ilMailAddress:

Public Member Functions

 __construct ($mailbox, $host)
 ilMailAddress constructor. More...
 
 setHost ($host)
 
 setMailbox ($mailbox)
 
 getHost ()
 
 getMailbox ()
 

Protected Attributes

 $mailbox = ''
 
 $host = ''
 

Detailed Description

Class ilMailAddress.

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de

Definition at line 8 of file class.ilMailAddress.php.

Constructor & Destructor Documentation

◆ __construct()

ilMailAddress::__construct (   $mailbox,
  $host 
)

ilMailAddress constructor.

Parameters
string$mailbox
string$host

Definition at line 25 of file class.ilMailAddress.php.

References $host, and $mailbox.

26  {
27  $this->mailbox = $mailbox;
28  $this->host = $host;
29  }

Member Function Documentation

◆ getHost()

ilMailAddress::getHost ( )
Returns
string

Definition at line 50 of file class.ilMailAddress.php.

References $host.

Referenced by ilMailAddressTypeFactory\getByPrefix(), ilMailRoleAddressType\getRoleIdsByAddress(), ilMail\parseAddresses(), and ilMailAddressTest\testAddressShouldReturnMailboxAndHost().

51  {
52  return $this->host;
53  }
+ Here is the caller graph for this function:

◆ getMailbox()

ilMailAddress::getMailbox ( )
Returns
string

Definition at line 58 of file class.ilMailAddress.php.

References $mailbox.

Referenced by ilMailAddressTypeFactory\getByPrefix(), ilMailRoleAddressType\getRoleIdsByAddress(), ilMail\parseAddresses(), and ilMailAddressTest\testAddressShouldReturnMailboxAndHost().

59  {
60  return $this->mailbox;
61  }
+ Here is the caller graph for this function:

◆ setHost()

ilMailAddress::setHost (   $host)
Parameters
string$host

Definition at line 34 of file class.ilMailAddress.php.

References $host.

35  {
36  $this->host = $host;
37  }

◆ setMailbox()

ilMailAddress::setMailbox (   $mailbox)
Parameters
string$mailbox

Definition at line 42 of file class.ilMailAddress.php.

References $mailbox.

43  {
44  $this->mailbox = $mailbox;
45  }

Field Documentation

◆ $host

ilMailAddress::$host = ''
protected

Definition at line 18 of file class.ilMailAddress.php.

Referenced by __construct(), getHost(), and setHost().

◆ $mailbox

ilMailAddress::$mailbox = ''
protected

Definition at line 13 of file class.ilMailAddress.php.

Referenced by __construct(), getMailbox(), and setMailbox().


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