PHP Class Sulu\Component\Content\Mapper\Event\ContentNodeDeleteEvent

Deprecation: use events of DocumentManager instead
Inheritance: extends Symfony\Component\EventDispatcher\Event
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__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).

Method Details

__construct() public méthode

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() public méthode

Return the PHPCR node for the structure that was deleted.
public getNode ( ) : PHPCR\NodeInterface
Résultat PHPCR\NodeInterface

getStructure() public méthode

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

getStructures() public méthode

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