Property | Type | Description | |
---|---|---|---|
$declaringNodeType | string | Name of the declaring node type. | |
$factory | Jackalope\FactoryInterface | The factory to instantiate objects | |
$isAutoCreated | boolean | Whether this item is autocreated. | |
$isMandatory | boolean | Whether this item is mandatory. | |
$isProtected | boolean | Whether this item is protected. | |
$name | string | Name of this node type. | |
$nodeTypeManager | |||
$onParentVersion | integer | On parent version constant |
Method | Description | |
---|---|---|
__construct ( Jackalope\FactoryInterface $factory, array $definition, |
Create a new item definition. | |
getDeclaringNodeType ( ) | {@inheritDoc} | |
getName ( ) | {@inheritDoc} | |
getOnParentVersion ( ) | {@inheritDoc} | |
isAutoCreated ( ) | {@inheritDoc} | |
isMandatory ( ) | {@inheritDoc} | |
isProtected ( ) | {@inheritDoc} |
Method | Description | |
---|---|---|
fromArray ( array $data ) | Load item definition from an array. |
public __construct ( Jackalope\FactoryInterface $factory, array $definition, |
||
$factory | Jackalope\FactoryInterface | the object factory |
$definition | array | The property definition data as array |
$nodeTypeManager |
protected string $declaringNodeType | ||
return | string |
protected FactoryInterface,Jackalope $factory | ||
return | Jackalope\FactoryInterface |
protected bool $isAutoCreated | ||
return | boolean |
protected bool $isMandatory | ||
return | boolean |
protected bool $isProtected | ||
return | boolean |
protected NodeTypeManager,Jackalope\NodeType $nodeTypeManager | ||
return |
protected int $onParentVersion | ||
return | integer |