class StoreSettingsRepository extends EntityRepository

Class StoreSettingsRepository is injected as alligator.store_settings_repository service. StoreSettingsRepository is used for crud operation for managed entity.

Use this class to work with database.

Constants

STORE_INFO_CACHE

Store info cache key

ALIAS

Store info alias

JOIN_WITH_IMAGE_ALIAS

Image alias

JOIN_WITH_LOGIN_IMAGE_ALIAS

Join with login image

JOIN_WITH_HEADER_IMAGE_ALIAS

Join with header image alias

Methods

array
getStoreInfoBackend()

Get store info backend

getStoreInfoFrontend()

Get store info for frontend

saveStoreInfo(StoreSettings $storeSettings)

Save store info to database

mixed
getLoginImage()

Get login image

mixed
getHeaderImage()

Get header image

Details

at line 53
array getStoreInfoBackend()

Get store info backend

Return Value

array

Exceptions

NonUniqueResultException

at line 100
StoreSettings getStoreInfoFrontend()

Get store info for frontend

Return Value

StoreSettings

at line 126
StoreSettings saveStoreInfo(StoreSettings $storeSettings)

Save store info to database

Parameters

StoreSettings $storeSettings

Return Value

StoreSettings

at line 149
mixed getLoginImage()

Get login image

Return Value

mixed

Exceptions

NoResultException
NonUniqueResultException

at line 166
mixed getHeaderImage()

Get header image

Return Value

mixed

Exceptions

NoResultException
NonUniqueResultException