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
파일 보기 프로젝트 열기: jackalope/jackalope

공개 메소드들

메소드 설명
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