PHP Class Neos\Flow\I18n\Xliff\XliffParser

As for now, this class supports only basic XLIFF specification. - it uses only first "file" tag - it does support groups only as defined in [2] in order to support plural forms - reads only "source" and "target" in "trans-unit" tags
See also: http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html [1]
See also: http://docs.oasis-open.org/xliff/v1.2/xliff-profile-po/xliff-profile-po-1.2-cd02.html#s.detailed_mapping.tu [2]
Inheritance: extends Neos\Flow\I18n\AbstractXmlParser
显示文件 Open project: neos/flow-development-collection Class Usage Examples

Protected Methods

Method Description
doParsingFromRoot ( SimpleXMLElement $root ) : array Returns array representation of XLIFF data, starting from a root node.

Method Details

doParsingFromRoot() protected method

Returns array representation of XLIFF data, starting from a root node.
protected doParsingFromRoot ( SimpleXMLElement $root ) : array
$root SimpleXMLElement A root node
return array An array representing parsed XLIFF