WC_Report_Downloads
extends WP_List_Table
in package
WC_Report_Downloads.
Table of Contents
- $max_items : int
- Max items.
- __construct() : mixed
- Constructor.
- column_default() : mixed
- Get column value.
- display_tablenav() : mixed
- Don't need this.
- get_columns() : array<string|int, mixed>
- Get columns.
- get_items() : mixed
- Get downloads matching criteria.
- no_items() : mixed
- No items found text.
- output_report() : mixed
- Output the report.
- prepare_items() : mixed
- Prepare download list items.
- get_filter_vars() : object
- Get filters from querystring.
Properties
$max_items
Max items.
protected
int
$max_items
Methods
__construct()
Constructor.
public
__construct() : mixed
Return values
mixed —column_default()
Get column value.
public
column_default(mixed $item, string $column_name) : mixed
Parameters
- $item : mixed
-
Item being displayed.
- $column_name : string
-
Column name.
Return values
mixed —display_tablenav()
Don't need this.
public
display_tablenav(string $position) : mixed
Parameters
- $position : string
-
Top or bottom.
Return values
mixed —get_columns()
Get columns.
public
get_columns() : array<string|int, mixed>
Return values
array<string|int, mixed> —get_items()
Get downloads matching criteria.
public
get_items(int $current_page, int $per_page) : mixed
Parameters
- $current_page : int
-
Current viewed page.
- $per_page : int
-
How many results to show per page.
Return values
mixed —no_items()
No items found text.
public
no_items() : mixed
Return values
mixed —output_report()
Output the report.
public
output_report() : mixed
Return values
mixed —prepare_items()
Prepare download list items.
public
prepare_items() : mixed
Return values
mixed —get_filter_vars()
Get filters from querystring.
protected
get_filter_vars() : object