Class ProductCategoryLinker
Class ProductCategoryLinker
- ProductCategoryLinker implements ProductCategoryLinkerInterface
Package: Product\Repositories
Category: System
Located at Services/Core/Product/Repositories/ProductCategoryLinker.inc.php
Category: System
Located at Services/Core/Product/Repositories/ProductCategoryLinker.inc.php
Methods summary
public
changeProductLink( IdType $productId, IdType $currentCategoryId, IdType $newCategoryId )
:
Changes a link to a new category.
public
getProductLinks( IdType $productId )
: IdCollection
Returns the category Ids which are linked with given product id.
public
removeProductFromStartPage( IdType $productId )
: ProductRepositoryInterface|ProductCategoryLinker
public
addProductToStartPage( IdType $productId )
: ProductRepositoryInterface|ProductCategoryLinker