phpDocumentor

SpecialOfferMapperInterface
in

Interface SpecialOfferMapperInterface

Table of Contents

delete()  : void
Deletes the given special offer from the storage.
findAll()  : SpecialOfferCollection|null
Returns all special offers.
findBy()  : SpecialOfferCollection|null
Returns all special offers that matches the given search condition.
findById()  : SpecialOfferInterface|null
Returns a special offer by the given id.
save()  : SpecialOfferInterface
Saves the given special offer in the storage.
update()  : SpecialOfferInterface
Updates the given special offer in the storage.

Methods

findAll()

Returns all special offers.

public findAll([Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : SpecialOfferCollection|null
Parameters
$pager : Pager|null = null

(Optional) Pager object with pagination information

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

(Optional) array of Sorter objects with data sorting information

Return values
SpecialOfferCollection|null

List of special offers.

findBy()

Returns all special offers that matches the given search condition.

public findBy(SpecialOfferSearchCondition $searchCondition[, Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : SpecialOfferCollection|null
Parameters
$searchCondition : SpecialOfferSearchCondition

Condition that must match for found items.

$pager : Pager|null = null

(Optional) Pager object with pagination information

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

(Optional) array of Sorter objects with data sorting information

Return values
SpecialOfferCollection|null

List of special offers by given conditions.

Search results