\Ceo\Core\ExportersIcmlExporter

ICML Exporter

Translates content RAW html to ICML.

Summary

Methods
Properties
Constants
getType()
getContentType()
export()
__toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$text
N/A

Properties

$text

$text : 

Type

Methods

getType()

getType() : string

Return type

Returns

string —

'icml'

getContentType()

getContentType() : string

Return mime type

Returns

string

export()

export(\Ceo\Core\Models\Content  $content) : string

Return properly formatted ICML XML document. Will throw Ceo\Exceptions\ExportException on failure.

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

Parameters

\Ceo\Core\Models\Content $content

Throws

\Ceo\Core\Exceptions\ExportException

Returns

string

__toString()

__toString() : string

Return export as text

Returns

string