PHP Class CalculateProductPopularity, silvershop-core

Inheritance: extends BuildTask
Mostra file Open project: burnbright/silverstripe-shop

Protected Properties

Property Type Description
$description
$title

Public Methods

Method Description
run ( $request ) SUM or COUNT
viaphp ( ) legacy function for working out popularity
viasql ( ) Update both live and stage tables, based on the algorithm: product popularity = sum(1/order_age) * sum(item_quantity)

Method Details

run() public method

SUM or COUNT
public run ( $request )

viaphp() public method

legacy function for working out popularity
public viaphp ( )

viasql() public method

Update both live and stage tables, based on the algorithm: product popularity = sum(1/order_age) * sum(item_quantity)
public viasql ( )

Property Details

$description protected_oe property

protected $description

$title protected_oe property

protected $title