PHP Class Neos\ContentRepository\Security\Authorization\Privilege\Node\CreateNodePrivilegeSubject

Inheritance: extends NodePrivilegeSubject
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$creationNodeType Neos\ContentRepository\Domain\Model\NodeType

Méthodes publiques

Méthode Description
__construct ( Neos\ContentRepository\Domain\Model\NodeInterface $node, NodeType $creationNodeType = null, Neos\Flow\Aop\JoinPointInterface $joinPoint = null )
getCreationNodeType ( ) : NodeType
hasCreationNodeType ( ) : boolean

Method Details

__construct() public méthode

public __construct ( Neos\ContentRepository\Domain\Model\NodeInterface $node, NodeType $creationNodeType = null, Neos\Flow\Aop\JoinPointInterface $joinPoint = null )
$node Neos\ContentRepository\Domain\Model\NodeInterface The parent node under which a new child shall be created
$creationNodeType Neos\ContentRepository\Domain\Model\NodeType The node type of the new child node, to check if this is type is allowed as new child node under the given parent node
$joinPoint Neos\Flow\Aop\JoinPointInterface Set, if created by a method interception. Usually the interception of the createNode() method, where the creation of new child nodes takes place

getCreationNodeType() public méthode

public getCreationNodeType ( ) : NodeType
Résultat Neos\ContentRepository\Domain\Model\NodeType

hasCreationNodeType() public méthode

public hasCreationNodeType ( ) : boolean
Résultat boolean

Property Details

$creationNodeType protected_oe property

protected NodeType,Neos\ContentRepository\Domain\Model $creationNodeType
Résultat Neos\ContentRepository\Domain\Model\NodeType