PHP Class Jackalope\NodeType\NodeDefinition

TODO: document array format of constructor
Inheritance: extends ItemDefinition, implements PHPCR\NodeType\NodeDefinitionInterface
Mostrar archivo Open project: jackalope/jackalope

Protected Properties

Property Type Description
$allowsSameNameSiblings boolean
$defaultPrimaryTypeName string
$requiredPrimaryTypeNames array List of required primary type names as string.
$requiredPrimaryTypes array Cached list of NodeType instances populated in first call to getRequiredPrimaryTypes

Public Methods

Method Description
allowsSameNameSiblings ( ) {@inheritDoc}
getDefaultPrimaryType ( ) {@inheritDoc}
getDefaultPrimaryTypeName ( ) {@inheritDoc}
getRequiredPrimaryTypeNames ( ) {@inheritDoc}
getRequiredPrimaryTypes ( ) {@inheritDoc}

Protected Methods

Method Description
fromArray ( array $data ) Treat more information in addition to ItemDefinition::fromArray()

Method Details

allowsSameNameSiblings() public method

{@inheritDoc}

fromArray() protected method

See class documentation for the fields supported in the array.
protected fromArray ( array $data )
$data array The node definition in array form.

getDefaultPrimaryType() public method

{@inheritDoc}

getDefaultPrimaryTypeName() public method

{@inheritDoc}

getRequiredPrimaryTypeNames() public method

{@inheritDoc}

getRequiredPrimaryTypes() public method

{@inheritDoc}

Property Details

$allowsSameNameSiblings protected_oe property

protected bool $allowsSameNameSiblings
return boolean

$defaultPrimaryTypeName protected_oe property

protected string $defaultPrimaryTypeName
return string

$requiredPrimaryTypeNames protected_oe property

List of required primary type names as string.
protected array $requiredPrimaryTypeNames
return array

$requiredPrimaryTypes protected_oe property

Cached list of NodeType instances populated in first call to getRequiredPrimaryTypes
protected array $requiredPrimaryTypes
return array