StaticPageContainer
class StaticPageContainer
Class StaticPageContainer is injected as alligator.static.page.event.container. This container is connecting StaticPageManager manager to other services
Traits
Constants
| STATIC_PAGE_LASTN_FRONTEND_CACHE |
Key for caching last few static pages |
Methods
No description
No description
No description
No description
No description
Find logged user
Dispatch event to cache category tree for specified locale
Remove all foreign entities before deleting static page
No description
Get shop cache object
Set last blog posts to cache
Dispatch event to re cache html content
Dispatch event to re cache mega menu
Dispatch event to re cache footer content
No description
Get cached last ns static pages
set new request
No description
No description
Check permalink availability. Permalink must be unique on database level
Dispatch static page action (save, edit) event
Details
in LanguageEntityRelationshipEventContainerTrait at line 27
mixed
dispatchLanguageRelatedEntityEvent(string $class, array $paramBag, string $locale)
at line 45
__construct(ContainerInterface $container)
at line 53
object
getBlogPostManager()
at line 61
Translator
getTranslator()
at line 68
object
getImageManager()
at line 77
User|null
getLoggedUser()
Find logged user
at line 88
dispatchTeeGenerateSignal(string $locale)
Dispatch event to cache category tree for specified locale
at line 97
prepareForDeleteBlogPost(array $blogPostArray)
Remove all foreign entities before deleting static page
at line 109
StaticPageCategoryManager
getBlogCategoryManager()
at line 118
object
getCache()
Get shop cache object
at line 130
mixed
setLastNBlogPostForFrontend(mixed $data, string $locale)
Set last blog posts to cache
at line 143
StaticPageSidebarSignalEvent
dispatchStaticPageSidebarSignalEvent(string $theme, string $locale)
Dispatch event to re cache html content
at line 155
StaticPageSidebarSignalEvent|Event
dispatchMegamenuSignal(string $theme, string $locale)
Dispatch event to re cache mega menu
at line 166
StaticPageSidebarSignalEvent|Event
dispatchFooterSignal()
Dispatch event to re cache footer content
at line 175
object|EngineInterface
getTemplating()
at line 186
mixed
checkIfBlogSidebarIsCached(string $locale)
Get cached last ns static pages
at line 194
setNewRequest()
set new request
at line 202
ContainerInterface
getContainer()
at line 210
setContainer(ContainerInterface $container)
at line 221
boolean
checkIfPermalinkIsAvailable(string $permalink)
Check permalink availability. Permalink must be unique on database level
at line 231
dispatchStaticPageActionEvent(StaticPage $staticPage)
Dispatch static page action (save, edit) event