PHP 클래스 CalculateProductPopularity, silvershop-core

상속: extends BuildTask
파일 보기 프로젝트 열기: burnbright/silverstripe-shop

보호된 프로퍼티들

프로퍼티 타입 설명
$description
$title

공개 메소드들

메소드 설명
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)

메소드 상세

run() 공개 메소드

SUM or COUNT
public run ( $request )

viaphp() 공개 메소드

legacy function for working out popularity
public viaphp ( )

viasql() 공개 메소드

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

프로퍼티 상세

$description 보호되어 있는 프로퍼티

protected $description

$title 보호되어 있는 프로퍼티

protected $title