interface ExporterInterface

Export interface

Methods

string
getType()

getType returns a string type for the exporter, e.g. 'icml'

string
getContentType()

getContentType returns a string for MIME type, e.g 'application/xml'

string
export(Content $content)

Export accepts a single Content model and returns an exported string representation.

string
__toString()

Return export as string

Details

at line line 18
string getType()

getType returns a string type for the exporter, e.g. 'icml'

Return Value

string

at line line 24
string getContentType()

getContentType returns a string for MIME type, e.g 'application/xml'

Return Value

string

at line line 34
string export(Content $content)

Export accepts a single Content model and returns an exported string representation.

Errors during the export process MUST throw a Ceo\Core\Exceptions\ExportException instance.

Parameters

Content $content

Return Value

string

at line line 40
string __toString()

Return export as string

Return Value

string