PHP Class WC_Report_Customer_List

Author: WooThemes
Inheritance: extends WP_List_Table
Exibir arquivo Open project: woocommerce/woocommerce Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
column_default ( WP_User $user, string $column_name ) : string Get column value.
get_columns ( ) : array Get columns.
no_items ( ) No items found text.
order_by_last_name ( WP_User_Query $query ) Order users by name.
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 ( WP_User $user, string $column_name ) : string
$user WP_User
$column_name string
return string

get_columns() public method

Get columns.
public get_columns ( ) : array
return array

no_items() public method

No items found text.
public no_items ( )

order_by_last_name() public method

Order users by name.
public order_by_last_name ( WP_User_Query $query )
$query WP_User_Query

output_report() public method

Output the report.
public output_report ( )

prepare_items() public method

Prepare customer list items.
public prepare_items ( )