Craft Activity (2.x)

Text extends Exporter
in package

Tags
since
2.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
getUserName()  : string
User name getter

Methods

getExportContent()

Export some logs

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

getExtension()

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

public getExtension() : string
Tags
inheritDoc
Return values
string

getHandle()

Get this exporter's handle

public getHandle() : string
Tags
inheritDoc
Return values
string

getLabel()

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

public getLabel() : string
Tags
inheritDoc
Return values
string

getMimeType()

Get the mime type of the file this exporter will generate

public getMimeType() : string
Tags
inheritDoc
Return values
string

getUserName()

User name getter

protected getUserName(ActivityLog $log) : string
Parameters
$log : ActivityLog
Return values
string

Search results