PHP Класс Sulu\Component\Content\Document\Subscriber\OrderSubscriber

Наследование: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( DocumentInspector $documentInspector, PropertyEncoder $propertyEncoder )
getSubscribedEvents ( )
handleMetadataLoad ( Sulu\Component\DocumentManager\Event\MetadataLoadEvent $event )
handlePersist ( Sulu\Component\DocumentManager\Event\PersistEvent $event ) Adjusts the order of the document and its siblings.
handleReorder ( Sulu\Component\DocumentManager\Event\ReorderEvent $event ) Adjusts the order of the document and its siblings.

Описание методов

__construct() публичный Метод

public __construct ( DocumentInspector $documentInspector, PropertyEncoder $propertyEncoder )
$documentInspector Sulu\Bundle\DocumentManagerBundle\Bridge\DocumentInspector
$propertyEncoder Sulu\Bundle\DocumentManagerBundle\Bridge\PropertyEncoder

getSubscribedEvents() публичный статический Метод

public static getSubscribedEvents ( )

handleMetadataLoad() публичный Метод

public handleMetadataLoad ( Sulu\Component\DocumentManager\Event\MetadataLoadEvent $event )
$event Sulu\Component\DocumentManager\Event\MetadataLoadEvent

handlePersist() публичный Метод

Adjusts the order of the document and its siblings.
public handlePersist ( Sulu\Component\DocumentManager\Event\PersistEvent $event )
$event Sulu\Component\DocumentManager\Event\PersistEvent

handleReorder() публичный Метод

Adjusts the order of the document and its siblings.
public handleReorder ( Sulu\Component\DocumentManager\Event\ReorderEvent $event )
$event Sulu\Component\DocumentManager\Event\ReorderEvent