TYPO3 CMS  TYPO3_6-2
AbstractParty.php
Go to the documentation of this file.
1 <?php
3 
4 /* *
5  * This script belongs to the TYPO3 Flow framework. *
6  * *
7  * It is free software; you can redistribute it and/or modify it under *
8  * the terms of the GNU Lesser General Public License, either version 3 *
9  * of the License, or (at your option) any later version. *
10  * *
11  * The TYPO3 project - inspiring people to share! *
12  * */
13 
18 abstract class AbstractParty {
19 
25  protected $role;
26 
32  protected $name;
33 
39  protected $email;
40 
46  protected $website;
47 
56  public function __construct($role, $name, $email = NULL, $website = NULL) {
57  $this->role = $role;
58  $this->name = $name;
59  $this->email = $email;
60  $this->website = $website;
61  }
62 
66  public function getRole() {
67  return $this->role;
68  }
69 
73  public function getName() {
74  return $this->name;
75  }
76 
80  public function getEmail() {
81  return $this->email;
82  }
83 
87  public function getWebsite() {
88  return $this->website;
89  }
90 
96  abstract public function getPartyType();
97 }
98 ?>
__construct($role, $name, $email=NULL, $website=NULL)