class ShippingManager implements ShippingManagerInterface, BasicEntityManagerInterface, JQGridInterface

Class ShippingManager is injected as alligator.shipping_manager service. ShippingManager handles the logic for managed entity.

Traits

Trait JQGridManagerTrait

Properties

protected ShippingRepository $repository
protected ShippingEventContainer $eventContainer

Methods

mixed
searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)

No description

mixed
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)

No description

mixed
getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)

No description

__construct(ShippingRepository $repository, ShippingEventContainer $eventContainer)

ShippingManager constructor.

QueryBuilder
findAllShippings()

No description

saveShipping(ShippingProvider $shipping)

No description

editShipping(ShippingProvider $shipping)

No description

QueryBuilder|array
deleteShipping(array $array)

No description

mixed
getShippingFromDB(mixed $shipping)

No description

array
getAllShippingWithSelect()

Find all shipping providers

ShippingProvider|bool|Proxy|null|object
getReference(int $id)

Find shipping provider reference by id

array
getAllShippingErpCodes()

Find all shipping provider ids and codes

bool|string
saveCollection(array $collection)

Persist collection of shipping providers

Details

in JQGridManagerTrait at line 26
mixed searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)

Parameters

array $searchParams
array $sortParams
array $additionalParams
JQGridWrapper $jqGridWrapper

Return Value

mixed

in JQGridManagerTrait at line 40
mixed findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)

Parameters

int $page
int $offset
array $sortParams
array $additionalParams
JQGridWrapper $jqGridWrapper

Return Value

mixed

in JQGridManagerTrait at line 53
mixed getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)

Parameters

array|null $searchParams
array|null $sortParams
array|null $additionalParams
JQGridWrapper|null $jqGridWrapper

Return Value

mixed

at line 42
__construct(ShippingRepository $repository, ShippingEventContainer $eventContainer)

ShippingManager constructor.

Parameters

ShippingRepository $repository
ShippingEventContainer $eventContainer

at line 51
QueryBuilder findAllShippings()

Return Value

QueryBuilder

at line 59
ShippingProvider saveShipping(ShippingProvider $shipping)

Parameters

ShippingProvider $shipping

Return Value

ShippingProvider

Exceptions

Exception

at line 76
ShippingProvider editShipping(ShippingProvider $shipping)

Parameters

ShippingProvider $shipping

Return Value

ShippingProvider

Exceptions

Exception

at line 94
QueryBuilder|array deleteShipping(array $array)

Parameters

array $array

Return Value

QueryBuilder|array

Exceptions

Exception

at line 103
mixed getShippingFromDB(mixed $shipping)

Parameters

mixed $shipping

Return Value

mixed

at line 116
array getAllShippingWithSelect()

Find all shipping providers

Return Value

array

at line 129
ShippingProvider|bool|Proxy|null|object getReference(int $id)

Find shipping provider reference by id

Parameters

int $id

Return Value

ShippingProvider|bool|Proxy|null|object

Exceptions

ORMException

at line 138
array getAllShippingErpCodes()

Find all shipping provider ids and codes

Return Value

array

at line 149
bool|string saveCollection(array $collection)

Persist collection of shipping providers

Parameters

array $collection

Return Value

bool|string