phpDocumentor

ProductOptionUpdater Uses ProductOptionFloatConverter

Class ProductOptionUpdater

Tags
todo

add column stocktype to this::updateProductOption && products_attributes table

Table of Contents

$connection  : Connection
__construct()  : mixed
ProductOptionUpdater constructor.
storeProductOptions()  : void
convertFloatToPositiveFloatAndPrefix()  : array<string|int, mixed>
convertPositiveFloatAndPrefixToFloat()  : float
updateProductOption()  : void
updateProductOptionImageList()  : void

Properties

Methods

__construct()

ProductOptionUpdater constructor.

public __construct(Connection $connection) : mixed
Parameters
$connection : Connection
Return values
mixed

convertFloatToPositiveFloatAndPrefix()

protected convertFloatToPositiveFloatAndPrefix(float $value) : array<string|int, mixed>
Parameters
$value : float
Return values
array<string|int, mixed>

convertPositiveFloatAndPrefixToFloat()

protected convertPositiveFloatAndPrefixToFloat(string $prefix, float $value) : float
Parameters
$prefix : string
$value : float
Return values
float

Search results