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

Parameters

ModelCriteria $query
ToggleVisibilityEvent $event
EventDispatcherInterface $dispatcher

Return Value

mixed

at line 44
create( ContentCreateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ContentCreateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 66
update( ContentUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

process update content

Parameters

ContentUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

Exceptions

PropelException
Exception

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

Change Content SEO

Parameters

UpdateSeoEvent $event
$eventName
EventDispatcherInterface $dispatcher

Return Value

Object

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

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 119
toggleVisibility( ContentToggleVisibilityEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ContentToggleVisibilityEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 131
delete( ContentDeleteEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ContentDeleteEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 180
addFolder( ContentAddFolderEvent $event)

associate a folder to a content if the association already does not exists

Parameters

ContentAddFolderEvent $event

at line 198
removeFolder( ContentRemoveFolderEvent $event)

Parameters

ContentRemoveFolderEvent $event

at line 213
static getSubscribedEvents()

{@inheritdoc}