PHP 클래스 Sulu\Component\Content\Mapper\Event\ContentNodeDeleteEvent

사용 중단: use events of DocumentManager instead
상속: extends Symfony\Component\EventDispatcher\Event
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Sulu\Component\Content\Mapper\ContentMapperInterface $contentMapper, SuluNodeHelper $nodeHelper, PHPCR\NodeInterface $node, string $webspace )
getNode ( ) : PHPCR\NodeInterface Return the PHPCR node for the structure that was deleted.
getStructure ( $locale ) : Sulu\Component\Content\Compat\StructureInterface Return the structure which was deleted.
getStructures ( ) : Sulu\Component\Content\MetadataInterface[] Return all structures (i.e. for for each language).

메소드 상세

__construct() 공개 메소드

public __construct ( Sulu\Component\Content\Mapper\ContentMapperInterface $contentMapper, SuluNodeHelper $nodeHelper, PHPCR\NodeInterface $node, string $webspace )
$contentMapper Sulu\Component\Content\Mapper\ContentMapperInterface
$nodeHelper Sulu\Component\Util\SuluNodeHelper
$node PHPCR\NodeInterface
$webspace string

getNode() 공개 메소드

Return the PHPCR node for the structure that was deleted.
public getNode ( ) : PHPCR\NodeInterface
리턴 PHPCR\NodeInterface

getStructure() 공개 메소드

Return the structure which was deleted.
public getStructure ( $locale ) : Sulu\Component\Content\Compat\StructureInterface
리턴 Sulu\Component\Content\Compat\StructureInterface

getStructures() 공개 메소드

Return all structures (i.e. for for each language).
public getStructures ( ) : Sulu\Component\Content\MetadataInterface[]
리턴 Sulu\Component\Content\MetadataInterface[]