WC_Report_Out_Of_Stock
extends WC_Report_Stock
in package
WC_Report_Out_Of_Stock class.
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 Products matching stock criteria.
- no_items() : mixed
- No items found text.
- output_report() : mixed
- Output the report.
- prepare_items() : mixed
- Prepare customer list items.
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
- $column_name : string
Return values
mixed —display_tablenav()
Don't need this.
public
display_tablenav(string $position) : mixed
Parameters
- $position : string
Return values
mixed —get_columns()
Get columns.
public
get_columns() : array<string|int, mixed>
Return values
array<string|int, mixed> —get_items()
Get Products matching stock criteria.
public
get_items(int $current_page, int $per_page) : mixed
Parameters
- $current_page : int
-
Current page number.
- $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 customer list items.
public
prepare_items() : mixed