StaticPageCategoryContainer
class StaticPageCategoryContainer
Class StaticPageCategoryContainer is injected as alligator.static.page.category.event.container. This container is connecting StaticPageCategoryManager manager to other services
Constants
| STATIC_PAGE_CATEGORY_SIDE_BAR_CACHE |
Key for caching static page categories |
| MEGAMENU_CACHE |
Key for caching static page mega menu |
Methods
No description
Dispatch event to cache category tree for specified locale
Set tree content to cache for Static Page Categories
Get cached tree content for Static Page Categories
Get templating negine
Get cache handler instance
Dispatch event to re cache html content
Get current locale from request
Set new request
Get cached mega menu
Set mega menu to cache
No description
Dispatch re-cache mega menu signal event
No description
Check permalink availability. Permalink must be unique on database level
Details
at line 51
__construct(ContainerInterface $container)
at line 62
StaticPageCategoryTreeSignalEvent
dispatchTeeGenerateSignal(string $locale)
Dispatch event to cache category tree for specified locale
at line 72
setCashCategoryTree(string $data, string $locale)
Set tree content to cache for Static Page Categories
at line 83
mixed
getCashCategoryTree(string $locale)
Get cached tree content for Static Page Categories
at line 92
object|EngineInterface
getTemplating()
Get templating negine
at line 101
object
getCache()
Get cache handler instance
at line 112
dispatchSidebarBlogsEvent(string $theme, string $locale)
Dispatch event to re cache html content
at line 121
string
getCurrentLocale()
Get current locale from request
at line 129
setNewRequest()
Set new request
at line 140
mixed
getCachedMegamenu(string $locale)
Get cached mega menu
at line 152
mixed
setMegamenuToCache(mixed $data, string $locale)
Set mega menu to cache
at line 160
StaticPageManager
getPostManager()
at line 172
StaticPageSidebarSignalEvent|Event
dispatchMegamenuSignal(string $theme, string $locale)
Dispatch re-cache mega menu signal event
at line 182
dispatchMenuUpdateRemoveSignal(int $id, string $slug, string|null $name = null)
at line 193
bool
checkIfPermalinkIsAvailable(string $permalink)
Check permalink availability. Permalink must be unique on database level