‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Localization\Parser\XliffParser Class Reference
Inheritance diagram for TYPO3\CMS\Core\Localization\Parser\XliffParser:
TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser TYPO3\CMS\Core\Localization\Parser\LocalizationParserInterface

Protected Member Functions

array doParsingFromRoot (\SimpleXMLElement $root)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser
array _getParsedData ($sourcePath, $languageKey, ?string $labelsPath)
 
array parseXmlFile ()
 
string getLocalizedFileName (string $fileRef, string $language, bool $sameLocation=false)
 

Additional Inherited Members

- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser
 parseExtensionResource (string $sourcePath, string $languageKey, string $fileNamePattern)
 
array getParsedData ($sourcePath, $languageKey)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser
string $sourcePath
 
string $languageKey
 

Detailed Description

Parser for XLIFF file.

This class is a concrete implementation and is not part of the TYPO3 Core API.

Definition at line 24 of file XliffParser.php.

Member Function Documentation

◆ doParsingFromRoot()

array TYPO3\CMS\Core\Localization\Parser\XliffParser::doParsingFromRoot ( \SimpleXMLElement  $root)
protected

Returns array representation of XML data, starting from a root node.

Parameters
\SimpleXMLElement$root‪A root node
Returns
‪array An array representing the parsed XML file

Reimplemented from TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser.

Definition at line 32 of file XliffParser.php.

References $GLOBALS.