PHP Class Jackalope\NodeType\NodeDefinition

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

Protected Properties

Свойство 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

Méthodes publiques

Méthode Description
allowsSameNameSiblings ( ) {@inheritDoc}
getDefaultPrimaryType ( ) {@inheritDoc}
getDefaultPrimaryTypeName ( ) {@inheritDoc}
getRequiredPrimaryTypeNames ( ) {@inheritDoc}
getRequiredPrimaryTypes ( ) {@inheritDoc}

Méthodes protégées

Méthode Description
fromArray ( array $data ) Treat more information in addition to ItemDefinition::fromArray()

Method Details

allowsSameNameSiblings() public méthode

{@inheritDoc}

fromArray() protected méthode

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

getDefaultPrimaryType() public méthode

{@inheritDoc}

getDefaultPrimaryTypeName() public méthode

{@inheritDoc}

getRequiredPrimaryTypeNames() public méthode

{@inheritDoc}

getRequiredPrimaryTypes() public méthode

{@inheritDoc}

Property Details

$allowsSameNameSiblings protected_oe property

protected bool $allowsSameNameSiblings
Résultat boolean

$defaultPrimaryTypeName protected_oe property

protected string $defaultPrimaryTypeName
Résultat string

$requiredPrimaryTypeNames protected_oe property

List of required primary type names as string.
protected array $requiredPrimaryTypeNames
Résultat array

$requiredPrimaryTypes protected_oe property

Cached list of NodeType instances populated in first call to getRequiredPrimaryTypes
protected array $requiredPrimaryTypes
Résultat array