BrandEventContainer
class BrandEventContainer
Class BrandEventContainer is injected as alligator.brand.event.container. This container is connecting manager to other services
Methods
No description
Get brands html from cache
Get templating engine service
Set brands html to cache
Dispatch brand cache event
Dispach brand change event
Get theme from session
Get current locale
Get db settings fields for import/export
Get available languages
Get export settings for brand
Dispatch brand delete translations event
Used when plugins need to change availability of products For example: not all products are available for different payment types
Dispach product groups update event
Find attribute value ids by values
Check if permalink is available
Details
at line 37
__construct(ContainerInterface $container)
at line 68
mixed
getBrandsHtmlFromCache(string $locale)
Get brands html from cache
at line 77
object
getTemplateEngine()
Get templating engine service
at line 87
setBrandsToCache(string $brandHtml, string $locale)
Set brands html to cache
at line 95
dispatchBrandHtmlEvent()
Dispatch brand cache event
at line 107
dispatchBrandChangeEvent(array $brands)
Dispach brand change event
at line 116
mixed
getThemeFromSession()
Get theme from session
at line 129
mixed
getCurrentLocale()
Get current locale
at line 148
array
getDBSettingsFields()
Get db settings fields for import/export
at line 157
array
getAvailableLanguages()
Get available languages
at line 166
array
getExportSettings()
Get export settings for brand
at line 175
dispatchGenerateBrandTranslationSignal(Brand $brand)
Dispatch brand translation signal
at line 184
dispatchDeleteBrandTranslations(array $array)
Dispatch brand delete translations event
at line 194
array
dispatchProductAvailabilityChangeEvent()
Used when plugins need to change availability of products For example: not all products are available for different payment types
at line 208
EventWithResult|Event
dispatchProductGroupsUpdateEvent(ProductGroupEvent $productGroupEvent)
Dispach product groups update event
at line 219
array
findAttributeValueIdsByValues(array $values)
Find attribute value ids by values
at line 230
boolean
checkIfPermalinkIsAvailable(string $permalink)
Check if permalink is available