PHP 인터페이스 Jackalope\Transport\NodeTypeCndManagementInterface

If you only implement this interface, Jackalope will convert NodeTypeDefinitions into the cnd format for you. 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

공개 메소드들

메소드 설명
registerNodeTypesCnd ( string $cnd, boolean $allowUpdate ) : boolean Register namespaces and new node types or update node types based on a jackrabbit cnd string

메소드 상세

registerNodeTypesCnd() 공개 메소드

Register namespaces and new node types or update node types based on a jackrabbit cnd string
또한 보기: NodeTypeManager::registerNodeTypesCnd
public registerNodeTypesCnd ( string $cnd, boolean $allowUpdate ) : boolean
$cnd string The cnd definition as string
$allowUpdate boolean whether to fail if node already exists or to update it
리턴 boolean true on success