Свойство | Тип | Описание | |
---|---|---|---|
$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 |
public getDeclaredChildNodeDefinitions ( ) |
public getDeclaredPropertyDefinitions ( ) |
protected ArrayObject $declaredNodeDefinitions | ||
Результат | ArrayObject |
protected ArrayObject $declaredPropertyDefinitions | ||
Результат | ArrayObject |
protected FactoryInterface,Jackalope $factory | ||
Результат | Jackalope\FactoryInterface |
protected bool $hasOrderableChildNodes | ||
Результат | boolean |
protected bool $isMixin | ||
Результат | boolean |
protected string $name | ||
Результат | string |
protected NodeTypeManager,Jackalope\NodeType $nodeTypeManager | ||
Результат |
protected string $primaryItemName | ||
Результат | string |