PHP Class WC_Report_Stock

Author: WooThemes
Inheritance: extends WP_List_Table
Show file Open project: woocommerce/woocommerce

Protected Properties

Property Type Description
$max_items integer Max items.

Public Methods

Method Description
__construct ( ) Constructor.
column_default ( mixed $item, string $column_name ) Get column value.
display_tablenav ( string $position ) Don't need this.
get_columns ( ) : array Get columns.
no_items ( ) No items found text.
output_report ( ) Output the report.
prepare_items ( ) Prepare customer list items.

Method Details

__construct() public method

Constructor.
public __construct ( )

column_default() public method

Get column value.
public column_default ( mixed $item, string $column_name )
$item mixed
$column_name string

display_tablenav() public method

Don't need this.
public display_tablenav ( string $position )
$position string

get_columns() public method

Get columns.
public get_columns ( ) : array
return array

no_items() public method

No items found text.
public no_items ( )

output_report() public method

Output the report.
public output_report ( )

prepare_items() public method

Prepare customer list items.
public prepare_items ( )

Property Details

$max_items protected property

Max items.
protected int $max_items
return integer