Table of Contents
-
REPORT_TYPE
= 'earnings'
-
$reportType
: string
-
$colors
: array<string|int, mixed>
-
$currencySymbol
: string
-
$data
: ReportEarningsByDatesData
-
$range
: string
-
$showDataTypes
: array<string|int, mixed>
-
__construct()
: mixed
-
enqueueScripts()
: mixed
-
getData()
: mixed
-
getReportType()
: string
-
getShowDataTypes()
: mixed
-
preparePlotData()
: mixed
-
prepareReportLegend()
: mixed
-
render()
: mixed
-
renderDatesRangeFilters()
: mixed
-
renderFilters()
: mixed
-
renderReport()
: mixed
-
renderReportBox()
: mixed
-
renderReportDataFilter()
: mixed
-
renderReportInfo()
: mixed
-
renderReportLegend()
: mixed
-
renderReportTitle()
: mixed
-
renderReportTypes()
: mixed
-
setShowDataTypes()
: mixed
-
prepareJsonData()
: mixed
-
prepareLegendData()
: mixed
-
prepareReportInfoData()
: mixed
-
getBarWidth()
: int
-
getDashLength()
: mixed
-
getDateTimeFormatOptions()
: mixed
-
iterateDates()
: mixed
-
translateDataFilters()
: mixed
REPORT_TYPE
public
mixed
REPORT_TYPE
= 'earnings'
$reportType
public
string
$reportType
$colors
protected
array<string|int, mixed>
$colors
$currencySymbol
protected
string
$currencySymbol
$data
protected
ReportEarningsByDatesData
$data
$range
protected
string
$range
$showDataTypes
protected
array<string|int, mixed>
$showDataTypes
__construct()
public
__construct(mixed $atts) : mixed
Parameters
-
$atts
: mixed
-
Return values
mixed
—
enqueueScripts()
public
enqueueScripts() : mixed
Return values
mixed
—
getData()
public
getData() : mixed
Return values
mixed
—
getReportType()
public
getReportType() : string
Return values
string
—
getShowDataTypes()
public
getShowDataTypes() : mixed
Return values
mixed
—
preparePlotData()
public
preparePlotData() : mixed
Return values
mixed
—
prepareReportLegend()
public
prepareReportLegend() : mixed
Return values
mixed
—
render()
public
render() : mixed
Return values
mixed
—
renderDatesRangeFilters()
public
renderDatesRangeFilters(string $choosenRange) : mixed
Parameters
-
$choosenRange
: string
-
Return values
mixed
—
renderFilters()
public
renderFilters() : mixed
Return values
mixed
—
renderReport()
public
renderReport() : mixed
Return values
mixed
—
renderReportBox()
public
renderReportBox() : mixed
Return values
mixed
—
renderReportDataFilter()
public
renderReportDataFilter() : mixed
Return values
mixed
—
renderReportInfo()
public
renderReportInfo() : mixed
Return values
mixed
—
renderReportLegend()
public
renderReportLegend() : mixed
Return values
mixed
—
renderReportTitle()
public
renderReportTitle() : mixed
Return values
mixed
—
renderReportTypes()
public
renderReportTypes() : mixed
Return values
mixed
—
setShowDataTypes()
public
setShowDataTypes(mixed $dataType) : mixed
Parameters
-
$dataType
: mixed
-
Return values
mixed
—
prepareJsonData()
protected
prepareJsonData() : mixed
Return values
mixed
—
prepareLegendData()
protected
prepareLegendData() : mixed
Return values
mixed
—
prepareReportInfoData()
protected
prepareReportInfoData() : mixed
Return values
mixed
—
getBarWidth()
private
getBarWidth() : int
Return values
int
—
getDashLength()
private
getDashLength(mixed $filter) : mixed
Parameters
-
$filter
: mixed
-
Return values
mixed
—
private
getDateTimeFormatOptions() : mixed
Return values
mixed
—
iterateDates()
private
iterateDates(mixed $bookings) : mixed
Parameters
-
$bookings
: mixed
-
Return values
mixed
—
translateDataFilters()
private
translateDataFilters(mixed $filter) : mixed
Parameters
-
$filter
: mixed
-
Return values
mixed
—