Craft Activity (1.x)

Exporter extends Component
in package

Tags
since
1.3.0

Table of Contents

getExportContent()  : string
Export some logs
getExtension()  : string
Get the extension of the file this exporter will generate (without dot)
getHandle()  : string
Get this exporter's handle
getLabel()  : string
Get this exporter label, will be shown on the backend dropdown
getMimeType()  : string
Get the mime type of the file this exporter will generate

Methods

getExportContent()

Export some logs

public abstract getExportContent(array<string|int, mixed> $logs) : string
Parameters
$logs : array<string|int, mixed>
Return values
string

getExtension()

Get the extension of the file this exporter will generate (without dot)

public abstract getExtension() : string
Return values
string

getHandle()

Get this exporter's handle

public abstract getHandle() : string
Return values
string

getLabel()

Get this exporter label, will be shown on the backend dropdown

public abstract getLabel() : string
Return values
string

getMimeType()

Get the mime type of the file this exporter will generate

public abstract getMimeType() : string
Return values
string

Search results