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

Parameters

ModelCriteria $query
ToggleVisibilityEvent $event
EventDispatcherInterface $dispatcher

Return Value

mixed

at line 45
create( CategoryCreateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Create a new category entry

Parameters

CategoryCreateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 70
update( CategoryUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Change a category

Parameters

CategoryUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 99
Object updateSeo( UpdateSeoEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Change a Category SEO

Parameters

UpdateSeoEvent $event
$eventName
EventDispatcherInterface $dispatcher

Return Value

Object

at line 112
delete( CategoryDeleteEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Delete a category entry

Parameters

CategoryDeleteEvent $event
$eventName
EventDispatcherInterface $dispatcher

Exceptions

Exception

at line 160
toggleVisibility( CategoryToggleVisibilityEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Toggle category visibility. No form used here

Parameters

CategoryToggleVisibilityEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 180
updatePosition( UpdatePositionEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Changes position, selecting absolute ou relative change.

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 185
addContent( CategoryAddContentEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

CategoryAddContentEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 201
removeContent( CategoryDeleteContentEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

CategoryDeleteContentEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 218
static getSubscribedEvents()

{@inheritDoc}