PHP 클래스 WC_Report_Sales_By_Date

저자: WooThemes
상속: extends WC_Admin_Report
파일 보기 프로젝트 열기: woocommerce/woocommerce 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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