PHP Класс Jackalope\NodeType\NodeType

In Jackalope, the only information stored and thus available at instantiation is the list of declared supertype names, child node type names and property definition instances acquired from the NodeTypeDefinition. All other information in this class is deduced from this when requested.
Наследование: extends NodeTypeDefinition, implements PHPCR\NodeType\NodeTypeInterface
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$childNodeDefinitions array Cache of the aggregated child node definitions from this type and all its super type so they need to be gathered and instantiated only once.
$declaredSupertypes array Cache of the declared super NodeType instances so they need to be instantiated only once.
$propertyDefinitions array Cache of the collected property definitions so they need to be instantiated only once.
$superTypeNames array Cache of the aggregated super node type names so they need to be aggregated only once.
$superTypes PHPCR\NodeType\NodeTypeInterface[] Cache of the aggregated super NodeType instances so they need to be instantiated only once.

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

Метод Описание
canAddChildNode ( $childNodeName, $nodeTypeName = null, $throw = false ) {@inheritDoc}
canRemoveNode ( $nodeName, $throw = false ) {@inheritDoc}
canRemoveProperty ( $propertyName, $throw = false ) {@inheritDoc}
canSetProperty ( $propertyName, $value, $throw = false ) {@inheritDoc}
getChildNodeDefinitions ( ) {@inheritDoc}
getDeclaredSubtypes ( ) {@inheritDoc}
getDeclaredSupertypes ( ) {@inheritDoc}
getPropertyDefinitions ( ) {@inheritDoc}
getSubtypes ( ) {@inheritDoc}
getSupertypeNames ( ) {@inheritDoc}
getSupertypes ( ) {@inheritDoc}
isNodeType ( $nodeTypeName ) {@inheritDoc}

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

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

{@inheritDoc}
public canAddChildNode ( $childNodeName, $nodeTypeName = null, $throw = false )

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

{@inheritDoc}
public canRemoveNode ( $nodeName, $throw = false )

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

{@inheritDoc}
public canRemoveProperty ( $propertyName, $throw = false )

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

{@inheritDoc}
public canSetProperty ( $propertyName, $value, $throw = false )

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

{@inheritDoc}

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

{@inheritDoc}
public getDeclaredSubtypes ( )

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

{@inheritDoc}

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

{@inheritDoc}

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

{@inheritDoc}
public getSubtypes ( )

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

{@inheritDoc}
public getSupertypeNames ( )

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

{@inheritDoc}
public getSupertypes ( )

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

{@inheritDoc}
public isNodeType ( $nodeTypeName )

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

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

Cache of the aggregated child node definitions from this type and all its super type so they need to be gathered and instantiated only once.
protected array $childNodeDefinitions
Результат array

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

Cache of the declared super NodeType instances so they need to be instantiated only once.
protected array $declaredSupertypes
Результат array

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

Cache of the collected property definitions so they need to be instantiated only once.
protected array $propertyDefinitions
Результат array

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

Cache of the aggregated super node type names so they need to be aggregated only once.
protected array $superTypeNames
Результат array

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

Cache of the aggregated super NodeType instances so they need to be instantiated only once.
protected NodeTypeInterface[],PHPCR\NodeType $superTypes
Результат PHPCR\NodeType\NodeTypeInterface[]