ManufacturerReader

Extends \AbstractDataPaginator Implements \ManufacturerReaderInterface

Class ManufacturerReader

category

System

package

Manufacturer

subpackage

Repositories

Methods

ManufacturerReader constructor.

__construct(\CI_DB_query_builder $query_builder) 
inherited

Arguments

$query_builder

\CI_DB_query_builder

Translate an order by sql instruction into a array of Sorter

_translateOrderByStringIntoArrayOfSorter(\StringType|null $orderBy = null) : array
inherited

Arguments

$orderBy

\StringType|null

SQL instruction with fields to sort.

Response

array

of Sorter objects.

Returns all manufacturer entities data as array.

getAll() : array

Response

array

Returns manufacturer entity data by the given id.

getById(\IdType $manufacturerId) : array
Throws
\EntityNotFoundException

If no record was found with provided manufacturer entity id.

Arguments

$manufacturerId

\IdType

Response

array

Properties