프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
__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} |
메소드 | 설명 | |
---|---|---|
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 |
protected ArrayObject $declaredPropertyDefinitions | ||
리턴 | ArrayObject |
protected FactoryInterface,Jackalope $factory | ||
리턴 | Jackalope\FactoryInterface |
protected bool $isMixin | ||
리턴 | boolean |
protected NodeTypeManager,Jackalope\NodeType $nodeTypeManager | ||
리턴 |
protected string $primaryItemName | ||
리턴 | string |