phpDocumentor

ProductCategoryLinker
in package
implements ProductCategoryLinkerInterface

Class ProductCategoryLinker

Tags
category

System

subpackage

Repositories

Interfaces, Classes and Traits

ProductCategoryLinkerInterface
Interface ProductCategoryLinkerInterface

Table of Contents

$db  : CI_DB_query_builder
$tableName  : string
__construct()  : mixed
Initialize the product category linker.
addProductToStartPage()  : ProductRepositoryInterface|$this
changeProductLink()  : $this|ProductCategoryLinker
Changes a link to a new category.
deleteProductLink()  : $this|ProductCategoryLinker
Removes a link to a category.
deleteProductLinks()  : $this|ProductCategoryLinker
Removes all links from a product.
getProductLinks()  : IdCollection
Returns the category Ids which are linked with given product id.
linkProduct()  : $this|ProductCategoryLinker
Links a product to a category.
removeProductFromStartPage()  : ProductRepositoryInterface|$this

Properties

Methods

__construct()

Initialize the product category linker.

public __construct(CI_DB_query_builder $db) : mixed
Parameters
$db : CI_DB_query_builder

Database connector.

Return values
mixed

Search results