PHP Class Sulu\Component\Content\Import\Format\Xliff12

Inheritance: implements Sulu\Component\Content\Import\WebspaceFormatImportInterface
Afficher le fichier Open project: sulu/sulu

Méthodes publiques

Méthode Description
getProperty ( $name, $data, $contentTypeName = null, $extension = null, $default = null )
getPropertyData ( $name, $data, $contentTypeName = null, $extension = null, $default = null )
parse ( $filePath, $locale )

Méthodes protégées

Méthode Description
extractData ( DOMDocument $dom, string $locale ) : array
getData ( $file, $encoding ) : array

Private Methods

Méthode Description
getChildPropertyDatas ( $child ) : array Prepare data for structure.
utf8ToCharset ( string $content, string $encoding = null ) : string Part of Symfony XliffFileLoader.

Method Details

extractData() protected méthode

protected extractData ( DOMDocument $dom, string $locale ) : array
$dom DOMDocument
$locale string
Résultat array

getData() protected méthode

protected getData ( $file, $encoding ) : array
$file
Résultat array

getProperty() public méthode

public getProperty ( $name, $data, $contentTypeName = null, $extension = null, $default = null )

getPropertyData() public méthode

public getPropertyData ( $name, $data, $contentTypeName = null, $extension = null, $default = null )

parse() public méthode

public parse ( $filePath, $locale )