TYPO3
7.6
|
Public Member Functions | |
getParsedData ($sourcePath, $languageKey, $charset= '') | |
Protected Member Functions | |
parseXmlFile () | |
doParsingFromRoot (\SimpleXMLElement $root) | |
Protected Attributes | |
$sourcePath | |
$languageKey | |
$charset | |
Abstract class for XML based parser.
Definition at line 25 of file core/Classes/Localization/Parser/AbstractXmlParser.php.
|
abstractprotected |
Returns array representation of XML data, starting from a root node.
\SimpleXMLElement | $root | A root node |
Referenced by AbstractXmlParser\parseXmlFile().
getParsedData | ( | $sourcePath, | |
$languageKey, | |||
$charset = '' |
|||
) |
Returns parsed representation of XML file.
string | $sourcePath | Source file path |
string | $languageKey | Language key |
string | $charset | File charset |
\TYPO3\CMS\Core\Localization\Exception\FileNotFoundException |
Implements LocalizationParserInterface.
Definition at line 51 of file core/Classes/Localization/Parser/AbstractXmlParser.php.
References AbstractXmlParser\$charset, AbstractXmlParser\$languageKey, AbstractXmlParser\$sourcePath, GeneralUtility\getFileAbsFileName(), GeneralUtility\llXmlAutoFileName(), and AbstractXmlParser\parseXmlFile().
|
protected |
Loads the current XML file before processing.
\TYPO3\CMS\Core\Localization\Exception\InvalidXmlFileException |
Definition at line 102 of file core/Classes/Localization/Parser/AbstractXmlParser.php.
References AbstractXmlParser\doParsingFromRoot().
Referenced by LocallangXmlParser\getParsedData(), and AbstractXmlParser\getParsedData().
|
protected |
Definition at line 40 of file core/Classes/Localization/Parser/AbstractXmlParser.php.
Referenced by LocallangXmlParser\getParsedData(), and AbstractXmlParser\getParsedData().
|
protected |
Definition at line 35 of file core/Classes/Localization/Parser/AbstractXmlParser.php.
Referenced by LocallangXmlParser\getParsedData(), and AbstractXmlParser\getParsedData().
|
protected |
Definition at line 30 of file core/Classes/Localization/Parser/AbstractXmlParser.php.
Referenced by LocallangXmlParser\getParsedData(), and AbstractXmlParser\getParsedData().