phpDocumentor

ProductListProviderFactory
in package
implements ProductListProviderFactoryInterface

Class ProductListProviderFactory

Tags
category

System

subpackage

Factories

Interfaces, Classes and Traits

ProductListProviderFactoryInterface
Interface ProductListProviderFactoryInterface

Table of Contents

$db  : CI_DB_query_builder
The database connection.
$productRepo  : ProductRepositoryInterface
Product Repository.
__construct()  : mixed
ProductListProviderFactory constructor.
createProductListProvider()  : ProductListProviderInterface
Create Product List Provider

Properties

Methods

createProductListProvider()

Create Product List Provider

public createProductListProvider(LanguageCode $languageCode[, array<string|int, mixed> $conditions = [] ]) : ProductListProviderInterface

Creates and returns a product list provider.

Parameters
$languageCode : LanguageCode

Language code, for the language in which the product list provider should be returned.

$conditions : array<string|int, mixed> = []

Database request conditions as an associative array.

Return values
ProductListProviderInterface

Search results