Merge pull request #9957 from frozzare/docs/class-wc-report-sales-by-product

Improve docblock comments in WC_Report_Sales_By_Product class
This commit is contained in:
Mike Jolley 2016-01-05 12:13:13 +00:00
commit 6ee8727ff6
1 changed files with 25 additions and 3 deletions

View File

@ -1,4 +1,9 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* WC_Report_Sales_By_Product
*
@ -9,8 +14,25 @@
*/
class WC_Report_Sales_By_Product extends WC_Admin_Report {
/**
* Chart colours.
*
* @var array
*/
public $chart_colours = array();
/**
* Product ids.
*
* @var array
*/
public $product_ids = array();
/**
* Product ids with titles.
*
* @var array
*/
public $product_ids_titles = array();
/**
@ -124,7 +146,7 @@ class WC_Report_Sales_By_Product extends WC_Admin_Report {
}
/**
* [get_chart_widgets description].
* Get chart widgets.
*
* @return array
*/
@ -148,7 +170,7 @@ class WC_Report_Sales_By_Product extends WC_Admin_Report {
}
/**
* Show current filters.
* Output current filters.
*/
public function current_filters() {
@ -170,7 +192,7 @@ class WC_Report_Sales_By_Product extends WC_Admin_Report {
}
/**
* Product selection.
* Output products widget.
*/
public function products_widget() {
?>