PHP Интерфейс 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.
Наследование: extends Jackalope\Transport\TransportInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
registerNodeTypes ( array $types, boolean $allowUpdate ) : boolean Register a list of node types with the storage backend

Описание методов

registerNodeTypes() публичный Метод

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
Результат boolean true on success