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.
ファイルを表示
Open project: jackalope/jackalope
Class Usage Examples
Protected Properties
Property |
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. |
|
Public Methods
Method Details
canAddChildNode()
public method
public canAddChildNode ( $childNodeName, $nodeTypeName = null, $throw = false ) |
canRemoveNode()
public method
canRemoveProperty()
public method
canSetProperty()
public method
getChildNodeDefinitions()
public method
getDeclaredSubtypes()
public method
getDeclaredSupertypes()
public method
getPropertyDefinitions()
public method
getSubtypes()
public method
getSupertypeNames()
public method
getSupertypes()
public method
isNodeType()
public method
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 |
return |
array |
|
$declaredSupertypes protected_oe property
Cache of the declared super NodeType instances so they need to be
instantiated only once.
protected array $declaredSupertypes |
return |
array |
|
$propertyDefinitions protected_oe property
Cache of the collected property definitions so they need to be
instantiated only once.
protected array $propertyDefinitions |
return |
array |
|
$superTypeNames protected_oe property
Cache of the aggregated super node type names so they need to be
aggregated only once.
protected array $superTypeNames |
return |
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 |
return |
PHPCR\NodeType\NodeTypeInterface[] |
|