PHP Class 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.
Inheritance: extends NodeTypeDefinition, implements PHPCR\NodeType\NodeTypeInterface
Afficher le fichier Open project: jackalope/jackalope Class Usage Examples

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
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}

Method Details

canAddChildNode() public méthode

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

canRemoveNode() public méthode

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

canRemoveProperty() public méthode

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

canSetProperty() public méthode

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

getChildNodeDefinitions() public méthode

{@inheritDoc}

getDeclaredSubtypes() public méthode

{@inheritDoc}
public getDeclaredSubtypes ( )

getDeclaredSupertypes() public méthode

{@inheritDoc}

getPropertyDefinitions() public méthode

{@inheritDoc}

getSubtypes() public méthode

{@inheritDoc}
public getSubtypes ( )

getSupertypeNames() public méthode

{@inheritDoc}
public getSupertypeNames ( )

getSupertypes() public méthode

{@inheritDoc}
public getSupertypes ( )

isNodeType() public méthode

{@inheritDoc}
public isNodeType ( $nodeTypeName )

Property Details

$childNodeDefinitions protected_oe property

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
Résultat array

$declaredSupertypes protected_oe property

Cache of the declared super NodeType instances so they need to be instantiated only once.
protected array $declaredSupertypes
Résultat array

$propertyDefinitions protected_oe property

Cache of the collected property definitions so they need to be instantiated only once.
protected array $propertyDefinitions
Résultat array

$superTypeNames protected_oe property

Cache of the aggregated super node type names so they need to be aggregated only once.
protected array $superTypeNames
Résultat array

$superTypes protected_oe property

Cache of the aggregated super NodeType instances so they need to be instantiated only once.
protected NodeTypeInterface[],PHPCR\NodeType $superTypes
Résultat PHPCR\NodeType\NodeTypeInterface[]