PHP 클래스 Sulu\Component\Content\Document\Subscriber\OrderSubscriber

상속: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__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