‪TYPO3CMS  10.4
TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser Class Reference
Inheritance diagram for TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser:
TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractXmlParser TYPO3\CMS\Extensionmanager\Utility\Parser\MirrorXmlPullParser TYPO3\CMS\Extensionmanager\Utility\Parser\MirrorXmlPushParser

Public Member Functions

array getAll ()
 
string getCountry ()
 
string getHost ()
 
string getPath ()
 
string getTitle ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractXmlParser
 attach (\SplObserver $observer)
 
 detach (\SplObserver $observer)
 
 notify ()
 
bool isAvailable ()
 
 parseXml ($file)
 

Protected Member Functions

 resetProperties ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractXmlParser
 createParser ()
 

Protected Attributes

string $country
 
string $host
 
string $path
 
string $title
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractXmlParser
mixed $objXml
 
string $requiredPhpExtensions
 
SplObserver[] $observers = array( )
 

Detailed Description

Abstract parser for TYPO3's mirror.xml file.

This class is a specific ExtensionManager implementation and is not part of the Public TYPO3 API.

Definition at line 22 of file AbstractMirrorXmlParser.php.

Member Function Documentation

◆ getAll()

array TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser::getAll ( )

Returns an associative array of all mirror properties.

Valid array keys of returned array are: country, host, path, title

Returns
‪array associative array of a mirror's properties

Definition at line 56 of file AbstractMirrorXmlParser.php.

References TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$country, TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$host, TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$path, and TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$title.

◆ getCountry()

string TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser::getCountry ( )

Returns country of currently processed mirror.

Returns
‪string name of country a mirror is located in
See also
getAll()

Definition at line 72 of file AbstractMirrorXmlParser.php.

References TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$country.

◆ getHost()

string TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser::getHost ( )

Returns host of currently processed mirror.

Returns
‪string host name
See also
getAll()

Definition at line 83 of file AbstractMirrorXmlParser.php.

References TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$host.

◆ getPath()

string TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser::getPath ( )

Returns path to mirrored TER of currently processed mirror.

Returns
‪string path name
See also
getAll()

Definition at line 94 of file AbstractMirrorXmlParser.php.

References TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$path.

◆ getTitle()

string TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser::getTitle ( )

Returns title of currently processed mirror.

Returns
‪string title of mirror
See also
getAll()

Definition at line 105 of file AbstractMirrorXmlParser.php.

References TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser\$title.

◆ resetProperties()

TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser::resetProperties ( )
protected

Member Data Documentation

◆ $country

string TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser::$country
protected

◆ $host

string TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser::$host
protected

◆ $path

string TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser::$path
protected

◆ $title

string TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractMirrorXmlParser::$title
protected