PHP Interface Jackalope\Transport\NodeTypeManagementInterface

There is an alternate interface if your transport implements direct support for the "compact node type and namespace" definition. But if it does not, Jackalope will parse the cnd for you and call registerNodeTypes. Note that this is about creating custom node types. The basic node type discovery is part of the CoreInterface.
Inheritance: extends Jackalope\Transport\TransportInterface
Afficher le fichier Open project: jackalope/jackalope

Méthodes publiques

Méthode Description
registerNodeTypes ( array $types, boolean $allowUpdate ) : boolean Register a list of node types with the storage backend

Method Details

registerNodeTypes() public méthode

Register a list of node types with the storage backend
public registerNodeTypes ( array $types, boolean $allowUpdate ) : boolean
$types array a list of \PHPCR\NodeType\NodeTypeDefinitionInterface objects
$allowUpdate boolean whether to fail if node already exists or to update it
Résultat boolean true on success