StoreManager
class StoreManager implements BasicEntityManagerInterface, JQGridInterface
Class StoreManager is injected as empire_store_locator_plugin.store_locator_manager service. StoreManager handles the logic for entity.
Traits
Properties
| protected StoreRepository | $repository | ||
| protected StoreLocatorEventContainer | $eventContainer |
Methods
No description
No description
No description
Get entities from database by ids
Find Store by id
Delete multiple Store entities
Get Stores from database where id is in array
Get all Stores from database
Get working hours for stores
Render working hours for store
Get text for working hours
Get Stores for specified address
Get current checkout settings
Details
in JQGridManagerTrait at line 26
mixed
searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
in JQGridManagerTrait at line 40
mixed
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
in JQGridManagerTrait at line 53
mixed
getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)
in BlockElementManagerTrait at line 28
array
getEntitiesForBlockElementsExtension(array $ids)
Get entities from database by ids
in BlockElementManagerTrait at line 40
array
getEntityNamesForIds(array $ids)
Get id and name of entity
at line 43
__construct(StoreRepository $repository, StoreLocatorEventContainer $eventContainer)
at line 59
mixed
findStoreByPk(mixed $id)
Find Store by id
at line 105
deleteStore(array $storesArrayDB)
Delete multiple Store entities
at line 125
array
getStoresArray(array $storesArray)
Get Stores from database where id is in array
at line 135
array
getAllStores()
Get all Stores from database
at line 282
array
getAllStoreHours(array $stores)
Get working hours for stores
at line 307
array
renderWorkingHours(array $storeHours)
Render working hours for store
at line 330
string
getReadableStringForStoreHours(array $storeHours)
Get text for working hours
at line 393
array
getStoreForAddressId(mixed $addressId)
Get Stores for specified address
at line 403
CheckoutSettings
getCheckoutSettingsFromCache()
Get current checkout settings