PHP Класс Neos\ContentRepository\Security\Authorization\Privilege\Node\CreateNodePrivilegeSubject

Наследование: extends NodePrivilegeSubject
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$creationNodeType Neos\ContentRepository\Domain\Model\NodeType

Открытые методы

Метод Описание
__construct ( Neos\ContentRepository\Domain\Model\NodeInterface $node, NodeType $creationNodeType = null, Neos\Flow\Aop\JoinPointInterface $joinPoint = null )
getCreationNodeType ( ) : NodeType
hasCreationNodeType ( ) : boolean

Описание методов

__construct() публичный Метод

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 getCreationNodeType ( ) : NodeType
Результат Neos\ContentRepository\Domain\Model\NodeType

hasCreationNodeType() публичный Метод

public hasCreationNodeType ( ) : boolean
Результат boolean

Описание свойств

$creationNodeType защищенное свойство

protected NodeType,Neos\ContentRepository\Domain\Model $creationNodeType
Результат Neos\ContentRepository\Domain\Model\NodeType