Content
class Content extends BaseAction implements EventSubscriberInterface
Class Content
Methods
mixed
genericToggleVisibility(
ModelCriteria $query,
ToggleVisibilityEvent $event,
EventDispatcherInterface $dispatcher = null)
Toggle visibility for an object
from
BaseAction
create(
ContentCreateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
No description
update(
ContentUpdateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
process update content
Object
updateSeo(
UpdateSeoEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Change Content SEO
updatePosition(
UpdatePositionEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
No description
toggleVisibility(
ContentToggleVisibilityEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
No description
delete(
ContentDeleteEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
No description
addFolder(
ContentAddFolderEvent $event)
associate a folder to a content if the association already does not exists
removeFolder(
ContentRemoveFolderEvent $event)
No description
static
getSubscribedEvents()
{@inheritdoc}
Details
in
BaseAction at line 130
mixed
genericToggleVisibility(
ModelCriteria $query,
ToggleVisibilityEvent $event,
EventDispatcherInterface $dispatcher = null)
Toggle visibility for an object
at line 44
create(
ContentCreateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
at line 66
update(
ContentUpdateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
process update content
at line 103
Object
updateSeo(
UpdateSeoEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Change Content SEO
at line 108
updatePosition(
UpdatePositionEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
at line 119
toggleVisibility(
ContentToggleVisibilityEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
at line 131
delete(
ContentDeleteEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
at line 180
addFolder(
ContentAddFolderEvent $event)
associate a folder to a content if the association already does not exists
at line 198
removeFolder(
ContentRemoveFolderEvent $event)
at line 213
static
getSubscribedEvents()
{@inheritdoc}