ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilMailAddress.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
9{
13 protected $mailbox = '';
14
18 protected $host = '';
19
25 public function __construct($mailbox, $host)
26 {
27 $this->mailbox = $mailbox;
28 $this->host = $host;
29 }
30
34 public function setHost($host)
35 {
36 $this->host = $host;
37 }
38
42 public function setMailbox($mailbox)
43 {
44 $this->mailbox = $mailbox;
45 }
46
50 public function getHost()
51 {
52 return $this->host;
53 }
54
58 public function getMailbox()
59 {
60 return $this->mailbox;
61 }
62}
An exception for terminatinating execution or to throw for unit testing.
Class ilMailAddress.
__construct($mailbox, $host)
ilMailAddress constructor.