Méthode | Description | |
---|---|---|
__construct ( |
||
getSubscribedEvents ( ) | ||
handleFlush ( Sulu\Component\DocumentManager\Event\FlushEvent $event ) | Dispatches the deprecated post save event for every persisted document. | |
handlePersist ( Sulu\Component\DocumentManager\Event\PersistEvent $event ) | Saves all persisted documents to dispatch the deprecated post save event later when flushed. | |
handlePostRemove ( Sulu\Component\DocumentManager\Event\RemoveEvent $event ) | Dispatches the deprected post remove event. | |
handlePreRemove ( Sulu\Component\DocumentManager\Event\RemoveEvent $event ) | Dispatches the deprecated pre remove event. |
Méthode | Description | |
---|---|---|
documentToStructure ( Sulu\Component\Content\Document\Behavior\StructureBehavior $document ) : |
Return a structure bridge corresponding to the given document. | |
getDeleteEvent ( $document ) | ||
supports ( $document ) |
public __construct ( |
||
$inspector | ||
$dispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
$mapper | Sulu\Component\Content\Mapper\ContentMapperInterface | |
$nodeHelper | ||
$structureManager | Sulu\Component\Content\Compat\StructureManagerInterface |
public handleFlush ( Sulu\Component\DocumentManager\Event\FlushEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\FlushEvent |
public handlePersist ( Sulu\Component\DocumentManager\Event\PersistEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\PersistEvent |
public handlePostRemove ( Sulu\Component\DocumentManager\Event\RemoveEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\RemoveEvent |
public handlePreRemove ( Sulu\Component\DocumentManager\Event\RemoveEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\RemoveEvent |