PHP Class WC_Report_Customers

Author: WooThemes
Inheritance: extends WC_Admin_Report
显示文件 Open project: woocommerce/woocommerce

Public Properties

Property Type Description
$chart_colours array Chart colours.
$customers array Customers.

Public Methods

Method Description
customers_vs_guests ( ) Output customers vs guests chart.
get_chart_legend ( ) : array Get the legend for the main chart sidebar.
get_chart_widgets ( ) : array Get chart widgets.
get_export_button ( ) Output an export link.
get_main_chart ( ) Output the main chart.
output_report ( ) Output the report.

Method Details

customers_vs_guests() public method

Output customers vs guests chart.
public customers_vs_guests ( )

get_chart_legend() public method

Get the legend for the main chart sidebar.
public get_chart_legend ( ) : array
return array

get_chart_widgets() public method

Get chart widgets.
public get_chart_widgets ( ) : array
return array

get_export_button() public method

Output an export link.
public get_export_button ( )

get_main_chart() public method

Output the main chart.
public get_main_chart ( )

output_report() public method

Output the report.
public output_report ( )

Property Details

$chart_colours public_oe property

Chart colours.
public array $chart_colours
return array

$customers public_oe property

Customers.
public array $customers
return array