class SettingsManager extends TranslatableManager

Settings entity manager

Properties

SettingsRepository $repository
protected SettingsEventContainer $eventContainer

Methods

setRepositoryLocale(ContainerInterface|null $container)

Sets the repository request default locale

setRepository(mixed $repository)

No description

mixed
getLanguagesForIds(array $ids)

No description

__construct(SettingsRepository $repository, SettingsEventContainer $eventContainer)

No description

getDBCategory(Category $category)

No description

mixed
getSettingsByID(int $id)

Get settings by primary key

getBreadcrumbs(string $route)

Get breadcrumbs

boolean
entityExists(integer $id)

Entity exists

saveBreadcrumb(Settings $settings)

Save breadcrumb

mixed
getLastTax()

Get last tax

mixed
getLastWithSelect()

Get last tax as array

mixed
clearCache()

Clear cache

mixed
getTemplateEngine()

No description

array
getAvailableLanguages()

No description

setTranslatorLocale(mixed $locale)

No description

getCheckoutSettings()

Get checkout settings

Details

in TranslatableManager at line 30
setRepositoryLocale(ContainerInterface|null $container)

Sets the repository request default locale

Parameters

ContainerInterface|null $container

Exceptions

InvalidArgumentException if repository is not an instance of TranslatableRepository

in TranslatableManager at line 63
setRepository(mixed $repository)

Parameters

mixed $repository

in TranslatableManager at line 73
mixed getLanguagesForIds(array $ids)

Parameters

array $ids

Return Value

mixed

at line 40
__construct(SettingsRepository $repository, SettingsEventContainer $eventContainer)

Parameters

SettingsRepository $repository
SettingsEventContainer $eventContainer

at line 51
Category getDBCategory(Category $category)

Parameters

Category $category

Return Value

Category

at line 66
mixed getSettingsByID(int $id)

Get settings by primary key

Parameters

int $id

Return Value

mixed

Exceptions

NoResultException
NonUniqueResultException

at line 81
Settings getBreadcrumbs(string $route)

Get breadcrumbs

Parameters

string $route

Return Value

Settings

Exceptions

NonUniqueResultException

at line 98
boolean entityExists(integer $id)

Entity exists

Parameters

integer $id

Return Value

boolean

at line 115
Settings saveBreadcrumb(Settings $settings)

Save breadcrumb

Parameters

Settings $settings

Return Value

Settings

Exceptions

NoResultException
NonUniqueResultException
Exception

at line 137
mixed getLastTax()

Get last tax

Return Value

mixed

at line 147
mixed getLastWithSelect()

Get last tax as array

Return Value

mixed

at line 160
mixed clearCache()

Clear cache

Return Value

mixed

Exceptions

Exception

at line 168
mixed getTemplateEngine()

Return Value

mixed

at line 176
array getAvailableLanguages()

Return Value

array

at line 184
setTranslatorLocale(mixed $locale)

Parameters

mixed $locale

at line 196
Settings getCheckoutSettings()

Get checkout settings

Return Value

Settings

Exceptions

NonUniqueResultException