Class ProductAttributeRepository
Class ProductAttributeRepository
- ProductAttributeRepository implements ProductAttributeRepositoryInterface
Package: ProductModule\Repositories
Category: System
Located at Services/Core/ProductModule/Repositories/ProductAttributeRepository.inc.php
Category: System
Located at Services/Core/ProductModule/Repositories/ProductAttributeRepository.inc.php
Methods summary
public
|
#
__construct(
Initialize the product attribute repository. |
public
integer
|
#
addToProduct(
Adds an product attribute to a product by the given id. |
public
|
#
store(
Stores/Updates the passed product attribute entity. |
public
|
#
getAttributeById(
Returns a stored product attribute entity by the given product attribute id. |
public
|
#
getAttributesByProductId(
Returns a collection with all attribute entities that belongs to a product entity by the given product id. |
public
|
#
deleteAttributeById(
Removes a product attribute entity by the given product attribute id. |
public
|
#
deleteAttributesByProductId(
Removes product attributes by the given product id. |
Properties summary
protected
|
$reader
|
|
protected
|
$writer
|
|
protected
|
$deleter
|