PHP Interface Sulu\Component\Content\Export\ContentExportManagerInterface

Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method 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 method

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

export() public method

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

getOptions() public method

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

hasExport() public method

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