PHP Class WC_Report_Sales_By_Product

Author: WooThemes
Inheritance: extends WC_Admin_Report
Afficher le fichier Open project: woocommerce/woocommerce

Méthodes publiques

Свойство Type Description
$chart_colours array Chart colours.
$product_ids array Product ids.
$product_ids_titles array Product ids with titles.

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
current_filters ( ) Output current filters.
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 ( ) : string Get the main chart.
output_report ( ) Output the report.
products_widget ( ) Output products widget.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

current_filters() public méthode

Output current filters.
public current_filters ( )

get_chart_legend() public méthode

Get the legend for the main chart sidebar.
public get_chart_legend ( ) : array
Résultat array

get_chart_widgets() public méthode

Get chart widgets.
public get_chart_widgets ( ) : array
Résultat array

get_export_button() public méthode

Output an export link.
public get_export_button ( )

get_main_chart() public méthode

Get the main chart.
public get_main_chart ( ) : string
Résultat string

output_report() public méthode

Output the report.
public output_report ( )

products_widget() public méthode

Output products widget.
public products_widget ( )

Property Details

$chart_colours public_oe property

Chart colours.
public array $chart_colours
Résultat array

$product_ids public_oe property

Product ids.
public array $product_ids
Résultat array

$product_ids_titles public_oe property

Product ids with titles.
public array $product_ids_titles
Résultat array