PHP Класс WC_Report_Sales_By_Product

Автор: WooThemes
Наследование: extends WC_Admin_Report
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$chart_colours array Chart colours.
$product_ids array Product ids.
$product_ids_titles array Product ids with titles.

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( )

current_filters() публичный Метод

Output current filters.
public current_filters ( )

get_chart_legend() публичный Метод

Get the legend for the main chart sidebar.
public get_chart_legend ( ) : array
Результат array

get_chart_widgets() публичный Метод

Get chart widgets.
public get_chart_widgets ( ) : array
Результат array

get_export_button() публичный Метод

Output an export link.
public get_export_button ( )

get_main_chart() публичный Метод

Get the main chart.
public get_main_chart ( ) : string
Результат string

output_report() публичный Метод

Output the report.
public output_report ( )

products_widget() публичный Метод

Output products widget.
public products_widget ( )

Описание свойств

$chart_colours публичное свойство

Chart colours.
public array $chart_colours
Результат array

$product_ids публичное свойство

Product ids.
public array $product_ids
Результат array

$product_ids_titles публичное свойство

Product ids with titles.
public array $product_ids_titles
Результат array