GXParcelServiceReader

Extends \AbstractDataPaginator Implements \ParcelServiceReaderInterface

Class ParcelServiceReader

package

Default

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 parcel services limited by given limit and offset.

fetchAll(\Pager|null $pager = null, array $sorters = array()) : array

Arguments

$pager

\Pager|null

(Optional) Pager object with pagination information

$sorters

array

(Optional) array of Sorter objects with data sorting information

Response

array

Returns the parcel service search result limited by given limit and offset as an array.

fetchBy(\StringType $searchCondition, \Pager|null $pager = null, array $sorters = array()) : array

Arguments

$searchCondition

\StringType

$pager

\Pager|null

(Optional) Pager object with pagination information

$sorters

array

(Optional) array of Sorter objects with data sorting information

Response

array

Returns a parcel service as an array identified by its ID.

fetchById(\ParcelServiceId $parcelServiceId) : array

Arguments

$parcelServiceId

\ParcelServiceId

Response

array

Properties

Maps the entity Fields with the database fields

fieldMap : 
static
var

Type(s)