Eeco_Cart_Offers_Reports
in package
Table of Contents
- __construct() : mixed
- get_reports() : array<string|int, mixed>
- returns the general report data
- handle_csv() : mixed
- generate reports csv if necessary
- set_header() : mixed
- set header for downloading the csv
Methods
__construct()
public
__construct() : mixed
Return values
mixed —get_reports()
returns the general report data
public
static get_reports([mixed $start = '1970-01-01 00:00:00' ][, mixed $end = '2500-01-01 23:59:59' ]) : array<string|int, mixed>
Parameters
- $start : mixed = '1970-01-01 00:00:00'
- $end : mixed = '2500-01-01 23:59:59'
Return values
array<string|int, mixed> —Reports
handle_csv()
generate reports csv if necessary
private
handle_csv() : mixed
Return values
mixed —set_header()
set header for downloading the csv
private
set_header() : mixed