TYPO3 CMS  TYPO3_6-2
AbstractMirrorXmlParser.php
Go to the documentation of this file.
1 <?php
3 
24 
30  protected $country = NULL;
31 
37  protected $host = NULL;
38 
44  protected $path = NULL;
45 
51  protected $sponsorlink = NULL;
52 
58  protected $sponsorlogo = NULL;
59 
65  protected $sponsorname = NULL;
66 
72  protected $title = NULL;
73 
84  public function getAll() {
85  $mirrorProperties = array();
86  $mirrorProperties['title'] = $this->title;
87  $mirrorProperties['host'] = $this->host;
88  $mirrorProperties['path'] = $this->path;
89  $mirrorProperties['country'] = $this->country;
90  $mirrorProperties['sponsorname'] = $this->sponsorname;
91  $mirrorProperties['sponsorlink'] = $this->sponsorlink;
92  $mirrorProperties['sponsorlogo'] = $this->sponsorlogo;
93  return $mirrorProperties;
94  }
95 
103  public function getCountry() {
104  return $this->country;
105  }
106 
114  public function getHost() {
115  return $this->host;
116  }
117 
125  public function getPath() {
126  return $this->path;
127  }
128 
136  public function getSponsorlink() {
137  return $this->sponsorlink;
138  }
139 
147  public function getSponsorlogo() {
148  return $this->sponsorlogo;
149  }
150 
158  public function getSponsorname() {
159  return $this->sponsorname;
160  }
161 
169  public function getTitle() {
170  return $this->title;
171  }
172 
180  protected function resetProperties() {
181  $this->title = $this->host = $this->path = $this->country
182  = $this->sponsorname = $this->sponsorlink = $this->sponsorlogo = NULL;
183  }
184 
185 }