Vars in report classes Closes #4720

This commit is contained in:
Mike Jolley 2014-02-12 12:26:32 +00:00 committed by Coen Jacobs
parent 1ad409b36e
commit 944327edfb
6 changed files with 11 additions and 0 deletions

View File

@ -17,6 +17,10 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
*/
class WC_Admin_Report {
public $chart_interval;
public $group_by_query;
public $barwidth;
public $chart_groupby;
public $start_date;
public $end_date;

View File

@ -4,6 +4,7 @@
*/
class WC_Report_Coupon_Usage extends WC_Admin_Report {
public $chart_colours = array();
public $coupon_codes = array();
/**

View File

@ -4,6 +4,8 @@
*/
class WC_Report_Customers extends WC_Admin_Report {
public $chart_colours = array();
/**
* Get the legend for the main chart sidebar
* @return array

View File

@ -4,6 +4,7 @@
*/
class WC_Report_Sales_By_Category extends WC_Admin_Report {
public $chart_colours = array();
public $show_categories = array();
/**

View File

@ -4,6 +4,8 @@
*/
class WC_Report_Sales_By_Date extends WC_Admin_Report {
public $chart_colours = array();
/**
* Get the legend for the main chart sidebar
* @return array

View File

@ -4,6 +4,7 @@
*/
class WC_Report_Sales_By_Product extends WC_Admin_Report {
public $chart_colours = array();
public $product_ids = array();
/**