Category
class Category extends BaseAction implements EventSubscriberInterface
Methods
mixed
genericToggleVisibility(
ModelCriteria $query,
ToggleVisibilityEvent $event,
EventDispatcherInterface $dispatcher = null)
Toggle visibility for an object
from
BaseAction
create(
CategoryCreateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Create a new category entry
update(
CategoryUpdateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Change a category
Object
updateSeo(
UpdateSeoEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Change a Category SEO
delete(
CategoryDeleteEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Delete a category entry
toggleVisibility(
CategoryToggleVisibilityEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Toggle category visibility. No form used here
updatePosition(
UpdatePositionEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Changes position, selecting absolute ou relative change.
addContent(
CategoryAddContentEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
No description
removeContent(
CategoryDeleteContentEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
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 45
create(
CategoryCreateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Create a new category entry
at line 70
update(
CategoryUpdateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Change a category
at line 99
Object
updateSeo(
UpdateSeoEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Change a Category SEO
at line 112
delete(
CategoryDeleteEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Delete a category entry
at line 160
toggleVisibility(
CategoryToggleVisibilityEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Toggle category visibility. No form used here
at line 180
updatePosition(
UpdatePositionEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Changes position, selecting absolute ou relative change.
at line 185
addContent(
CategoryAddContentEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
at line 201
removeContent(
CategoryDeleteContentEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
at line 218
static
getSubscribedEvents()
{@inheritDoc}