Properties

$id_group

$id_group : 

Type

$id_category

$id_category : 

Type

$reduction

$reduction : 

Type

$definition

$definition : 

Type

$reduction_cache

$reduction_cache : 

Type

Methods

add()

add(  $autodate = true,   $null_values = false) 

Parameters

$autodate
$null_values

update()

update(  $null_values = false) 

Parameters

$null_values

delete()

delete() 

getGroupReductions()

getGroupReductions(  $id_group,   $id_lang) 

Parameters

$id_group
$id_lang

getValueForProduct()

getValueForProduct(  $id_product,   $id_group) 

Parameters

$id_product
$id_group

doesExist()

doesExist(  $id_group,   $id_category) 

Parameters

$id_group
$id_category

getGroupsByCategoryId()

getGroupsByCategoryId(  $id_category) 

Parameters

$id_category

getGroupByCategoryId()

getGroupByCategoryId(  $id_category) 

Parameters

$id_category

getGroupsReductionByCategoryId()

getGroupsReductionByCategoryId(  $id_category) 

Parameters

$id_category

getGroupReductionByCategoryId()

getGroupReductionByCategoryId(  $id_category) 

Parameters

$id_category

setProductReduction()

setProductReduction(  $id_product,   $id_group = null,   $id_category,   $reduction = null) 

Parameters

$id_product
$id_group
$id_category
$reduction

deleteProductReduction()

deleteProductReduction(  $id_product) 

Parameters

$id_product

duplicateReduction()

duplicateReduction(  $id_product_old,   $id_product) 

Parameters

$id_product_old
$id_product

deleteCategory()

deleteCategory(  $id_category) 

Parameters

$id_category

_clearCache()

_clearCache() 

_setCache()

_setCache() 

_updateCache()

_updateCache()