Class ProductCombinationLevel Used to represent a product combination Level.
More...
Class ProductCombinationLevel Used to represent a product combination Level.
Definition at line 1003 of file ProductCombination.class.php.
◆ __construct()
ProductCombinationLevel::__construct |
( |
DoliDB |
$db | ) |
|
◆ clean()
ProductCombinationLevel::clean |
( |
|
$fk_product_attribute_combination | ) |
|
Clean not needed price levels for a combination.
- Parameters
-
int | $fk_product_attribute_combination | Id of combination |
- Returns
- int <0 KO, >0 OK
Definition at line 1237 of file ProductCombination.class.php.
◆ createFromParent()
◆ delete()
ProductCombinationLevel::delete |
( |
| ) |
|
◆ deleteAllForCombination()
ProductCombinationLevel::deleteAllForCombination |
( |
|
$fk_product_attribute_combination | ) |
|
delete all for a combination
- Parameters
-
int | $fk_product_attribute_combination | Id of combination |
- Returns
- int <0 KO, >0 OK
Definition at line 1222 of file ProductCombination.class.php.
◆ fetch()
ProductCombinationLevel::fetch |
( |
|
$rowid | ) |
|
◆ fetchAll()
ProductCombinationLevel::fetchAll |
( |
|
$fk_product_attribute_combination, |
|
|
|
$fk_price_level = 0 |
|
) |
| |
Retrieves combination price levels.
- Parameters
-
int | $fk_product_attribute_combination | Id of product combination |
int | $fk_price_level | The price level to fetch, use 0 for all |
- Returns
- mixed self[] | -1 on KO
Definition at line 1087 of file ProductCombination.class.php.
◆ fetchFormObj()
ProductCombinationLevel::fetchFormObj |
( |
|
$obj | ) |
|
◆ save()
ProductCombinationLevel::save |
( |
| ) |
|
The documentation for this class was generated from the following file: