eeco_logo_svg Created with Sketch.

WooCommerce Gift Cards

Eeco_Gift_Cards_Reports
in package

Table of Contents

__construct()  : mixed
get_reports()  : array<string|int, mixed>
returns the general report data
get_transactions()  : array<string|int, mixed>
get data for reports table
handle_csv()  : mixed
generate reports csv if necessary
set_header()  : mixed
set header for downloading the csv

Methods

get_reports()

returns the general report data

public static get_reports() : array<string|int, mixed>
Return values
array<string|int, mixed>

Reports

get_transactions()

get data for reports table

public static get_transactions(int $offset, int $limit, string $order, string $order_by) : array<string|int, mixed>
Parameters
$offset : int

The offset

$limit : int

Item limit

$order : string

Which order to sort

$order_by : string

Order by item

Return values
array<string|int, mixed>

Transactions


        

Search results