PHP Класс WC_Report_Sales_By_Date

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

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

Свойство Тип Описание
$chart_colours array Chart colours.

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

Метод Описание
get_chart_legend ( ) : array Get the legend for the main chart sidebar.
get_export_button ( ) Output an export link.
get_main_chart ( ) : string Get the main chart.
get_report_data ( ) : stdClass Get report data.
output_report ( ) Output the report.

Приватные методы

Метод Описание
query_report_data ( ) Get all data needed for this report and store in the class.
round_chart_totals ( string $amount ) : string Round our totals correctly.

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

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

Get the legend for the main chart sidebar.
public get_chart_legend ( ) : 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

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

Get report data.
public get_report_data ( ) : stdClass
Результат stdClass

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

Output the report.
public output_report ( )

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

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

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