Class ProductCategoryLinker
| category |
System |
|---|---|
| package |
Product |
| subpackage |
Repositories |
__construct(\CI_DB_query_builder $db)
\CI_DB_query_builderDatabase connector.
addProductToStartPage(\IdType $productId) : \ProductRepositoryInterface|$this
\IdType
\ProductRepositoryInterface|$thisSame instance for chained method calls.
changeProductLink(\IdType $productId, \IdType $currentCategoryId, \IdType $newCategoryId) : $this|\ProductCategoryLinker
deleteProductLink(\IdType $productId, \IdType $categoryId) : $this|\ProductCategoryLinker
deleteProductLinks(\IdType $productId) : $this|\ProductCategoryLinker
getProductLinks(\IdType $productId) : \IdCollection
linkProduct(\IdType $productId, \IdType $targetCategoryId) : $this|\ProductCategoryLinker
removeProductFromStartPage(\IdType $productId) : \ProductRepositoryInterface|$this
\IdType
\ProductRepositoryInterface|$thisSame instance for chained method calls.
db : \CI_DB_query_builder
| var |
|---|
\CI_DB_query_builder
tableName : string
| var |
|---|
string