Свойство | Type | Description | |
---|---|---|---|
$chart_colours | array | Chart colours. | |
$show_categories | array | Categories ids. |
Méthode | Description | |
---|---|---|
__construct ( ) | Constructor. | |
category_widget ( ) | Output category widget. | |
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. | |
get_products_in_category ( integer $category_id ) : array | Get all product ids in a category (and its children). | |
output_report ( ) | Output the report. |
public get_chart_legend ( ) : array | ||
Résultat | array |
public get_chart_widgets ( ) : array | ||
Résultat | array |
public get_main_chart ( ) : string | ||
Résultat | string |
public get_products_in_category ( integer $category_id ) : array | ||
$category_id | integer | |
Résultat | array |