‪TYPO3CMS  10.4
AbstractMirrorXmlParser.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
23 {
29  protected ‪$country;
30 
36  protected ‪$host;
37 
43  protected ‪$path;
44 
50  protected ‪$title;
51 
60  public function ‪getAll()
61  {
62  $mirrorProperties = [];
63  $mirrorProperties['title'] = ‪$this->title;
64  $mirrorProperties['host'] = ‪$this->host;
65  $mirrorProperties['path'] = ‪$this->path;
66  $mirrorProperties['country'] = ‪$this->country;
67  return $mirrorProperties;
68  }
69 
76  public function ‪getCountry()
77  {
78  return ‪$this->country;
79  }
80 
87  public function ‪getHost()
88  {
89  return ‪$this->host;
90  }
91 
98  public function ‪getPath()
99  {
100  return ‪$this->path;
101  }
102 
109  public function ‪getTitle()
110  {
111  return ‪$this->title;
112  }
113 
117  protected function ‪resetProperties()
118  {
119  $this->title = $this->host = $this->path = $this->country = null;
120  }
121 }
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$country
‪string $country
Definition: AbstractMirrorXmlParser.php:28
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$title
‪string $title
Definition: AbstractMirrorXmlParser.php:46
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$path
‪string $path
Definition: AbstractMirrorXmlParser.php:40
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\resetProperties
‪resetProperties()
Definition: AbstractMirrorXmlParser.php:113
‪TYPO3\CMS\Extensionmanager\Utility\Parser
Definition: AbstractExtensionXmlParser.php:16
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\getCountry
‪string getCountry()
Definition: AbstractMirrorXmlParser.php:72
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractXmlParser
Definition: AbstractXmlParser.php:23
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$host
‪string $host
Definition: AbstractMirrorXmlParser.php:34
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\getTitle
‪string getTitle()
Definition: AbstractMirrorXmlParser.php:105
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\getHost
‪string getHost()
Definition: AbstractMirrorXmlParser.php:83
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser
Definition: AbstractMirrorXmlParser.php:23
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\getAll
‪array getAll()
Definition: AbstractMirrorXmlParser.php:56
‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\getPath
‪string getPath()
Definition: AbstractMirrorXmlParser.php:94