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

상속: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__construct ( Sulu\Component\DocumentManager\DocumentManagerInterface $documentManager, Sulu\Component\DocumentManager\DocumentInspector $documentInspector, PHPCR\SessionInterface $defaultSession, PHPCR\SessionInterface $liveSession, Sulu\Component\DocumentManager\MetadataFactoryInterface $metadataFactory )
getSubscribedEvents ( )
handleRemove ( Sulu\Component\DocumentManager\Event\RemoveEvent $event )
removeDocument ( $document )

비공개 메소드들

메소드 설명
dereferenceProperty ( PHPCR\NodeInterface $node, PHPCR\PropertyInterface $property ) Remove the given property, or the value which references the node (when multi-valued).
removeReferences ( $document )
removeReferencesForNode ( PHPCR\NodeInterface $node )
removeRoute ( Sulu\Component\Content\Document\Behavior\StructureBehavior $document ) Removes related route of given document.

메소드 상세

__construct() 공개 메소드

public __construct ( Sulu\Component\DocumentManager\DocumentManagerInterface $documentManager, Sulu\Component\DocumentManager\DocumentInspector $documentInspector, PHPCR\SessionInterface $defaultSession, PHPCR\SessionInterface $liveSession, Sulu\Component\DocumentManager\MetadataFactoryInterface $metadataFactory )
$documentManager Sulu\Component\DocumentManager\DocumentManagerInterface
$documentInspector Sulu\Component\DocumentManager\DocumentInspector
$defaultSession PHPCR\SessionInterface
$liveSession PHPCR\SessionInterface
$metadataFactory Sulu\Component\DocumentManager\MetadataFactoryInterface

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

handleRemove() 공개 메소드

public handleRemove ( Sulu\Component\DocumentManager\Event\RemoveEvent $event )
$event Sulu\Component\DocumentManager\Event\RemoveEvent

removeDocument() 공개 메소드

public removeDocument ( $document )