Property | Type | Description | |
---|---|---|---|
$declaredNodeDefinitions | ArrayObject | ||
$declaredPropertyDefinitions | ArrayObject | ||
$declaredSuperTypeNames | array | ||
$factory | Jackalope\FactoryInterface | The factory to instantiate objects | |
$hasOrderableChildNodes | boolean | ||
$isAbstract | boolean | ||
$isMixin | boolean | Whether this is a mixin node type (otherwise it's a primary node type). | |
$isQueryable | boolean | ||
$name | string | The name of this node type definition. | |
$nodeTypeManager | |||
$primaryItemName | string | Name of the primary item of this node type. | |
$valueConverter | PHPCR\Util\ValueConverter |
Method | Description | |
---|---|---|
__construct ( Jackalope\FactoryInterface $factory, |
Create a new node type definition. | |
getDeclaredChildNodeDefinitions ( ) | {@inheritDoc} | |
getDeclaredPropertyDefinitions ( ) | {@inheritDoc} | |
getDeclaredSupertypeNames ( ) | {@inheritDoc} | |
getName ( ) | {@inheritDoc} | |
getPrimaryItemName ( ) | {@inheritDoc} | |
hasOrderableChildNodes ( ) | {@inheritDoc} | |
isAbstract ( ) | {@inheritDoc} | |
isMixin ( ) | {@inheritDoc} | |
isQueryable ( ) | {@inheritDoc} |
Method | Description | |
---|---|---|
fromArray ( array $data ) | Reads the node type definition from an array | |
fromNodeTypeDefinition ( PHPCR\NodeType\NodeTypeDefinitionInterface $ntd ) | Read the node type definition from another NodeTypeDefinition | |
fromXml ( DOMElement $node ) | Reads the node type definition from an xml element |
public __construct ( Jackalope\FactoryInterface $factory, |
||
$factory | Jackalope\FactoryInterface | the object factory |
$nodeTypeManager | ||
$nodetype | Either by XML or by NodeTypeDefinition or null for an empty definition |
protected fromNodeTypeDefinition ( PHPCR\NodeType\NodeTypeDefinitionInterface $ntd ) | ||
$ntd | PHPCR\NodeType\NodeTypeDefinitionInterface | The node type definition to copy information from |
protected fromXml ( DOMElement $node ) | ||
$node | DOMElement | The dom element to read information from |
public getDeclaredChildNodeDefinitions ( ) |
public getDeclaredPropertyDefinitions ( ) |
protected ArrayObject $declaredNodeDefinitions | ||
return | ArrayObject |
protected ArrayObject $declaredPropertyDefinitions | ||
return | ArrayObject |
protected FactoryInterface,Jackalope $factory | ||
return | Jackalope\FactoryInterface |
protected bool $isMixin | ||
return | boolean |
protected string $name | ||
return | string |
protected NodeTypeManager,Jackalope\NodeType $nodeTypeManager | ||
return |
protected string $primaryItemName | ||
return | string |