PHP Interface Sulu\Component\Content\Import\WebspaceFormatImportInterface

Afficher le fichier Open project: sulu/sulu

Méthodes publiques

Méthode Description
getProperty ( string $name, array $data, string $contentTypeName = null, string $extension = null, mixed $default = null ) : mixed Will return the correct property value by the parsed data.
getPropertyData ( string $name, array $data, string $contentTypeName = null, string $extension = null, mixed $default = null ) : mixed Will return the correct property value by the parsed data.
parse ( string $filePath, string $locale ) : array Will parse the given file and return a documents array.

Method Details

getProperty() public méthode

Will return the correct property value by the parsed data.
public getProperty ( string $name, array $data, string $contentTypeName = null, string $extension = null, mixed $default = null ) : mixed
$name string
$data array
$contentTypeName string
$extension string
$default mixed
Résultat mixed

getPropertyData() public méthode

Will return the correct property value by the parsed data.
public getPropertyData ( string $name, array $data, string $contentTypeName = null, string $extension = null, mixed $default = null ) : mixed
$name string
$data array
$contentTypeName string
$extension string
$default mixed
Résultat mixed

parse() public méthode

Will parse the given file and return a documents array.
public parse ( string $filePath, string $locale ) : array
$filePath string
$locale string
Résultat array