PHP Interface Sulu\Component\Content\Export\ContentExportManagerInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
add ( $contentTypeName, $format, $options ) Add ContentType and the format.
export ( $contentTypeName, $propertyValue ) Export data for document by given Content-Type.
getOptions ( $contentTypeName, $format ) : array Returns the export options by the given content-type.
hasExport ( $contentTypeName, $format ) : boolean Checks the content-type if this has an export.

Method Details

add() public méthode

This will be set on the Content-Type Service.
public add ( $contentTypeName, $format, $options )
$contentTypeName
$format
$options

export() public méthode

Export data for document by given Content-Type.
public export ( $contentTypeName, $propertyValue )
$contentTypeName
$propertyValue

getOptions() public méthode

Returns the export options by the given content-type.
public getOptions ( $contentTypeName, $format ) : array
$contentTypeName
$format
Résultat array

hasExport() public méthode

Checks the content-type if this has an export.
public hasExport ( $contentTypeName, $format ) : boolean
$contentTypeName
$format
Résultat boolean