\RecalculateTheNumberOfProductsSold
works out how many products have been sold, per product.
Synopsis
class RecalculateTheNumberOfProductsSold
extends BuildTask
{
- // members
- protected string $title = "Recalculate the number of products solds";
- protected string $description = "Works out how many of each product have been sold";
- protected static String $number_sold_calculation_type = "SUM";
- // methods
- public static void set_number_sold_calculation_type()
- public static void get_number_sold_calculation_type()
- public void run()
Hierarchy
Extends
- BuildTask
Tasks
Line | Task |
---|---|
13+ | : consider whether this does not sit better in its own module. |
Members
protected
- $description
- $number_sold_calculation_type
—
String
Should be equal to SUM or COUNT. - $title