1: <?php
2:
3: /**
4: * This class models a mailforward
5: *
6: * @package Transip
7: * @class MailForward
8: * @author TransIP (support@transip.nl)
9: */
10: class Transip_MailForward
11: {
12: /**
13: * The Mail address to forward to another address
14: *
15: * @var string
16: */
17: public $name;
18:
19: /**
20: * Where to forward mail to
21: *
22: * @var string
23: */
24: public $targetAddress;
25:
26: /**
27: * Create a MailForward
28: *
29: * @param string $name Name of the MailForward
30: * @param string $targetAddress Where to forward to
31: */
32: public function __construct($name, $targetAddress)
33: {
34: $this->name = $name;
35: $this->targetAddress = $targetAddress;
36: }
37: }
38:
39: ?>
40: