PHP Interface 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.
Inheritance: extends Jackalope\Transport\TransportInterface
Show file Open project: jackalope/jackalope

Public Methods

Method Description
registerNodeTypesCnd ( string $cnd, boolean $allowUpdate ) : boolean Register namespaces and new node types or update node types based on a jackrabbit cnd string

Method Details

registerNodeTypesCnd() public method

Register namespaces and new node types or update node types based on a jackrabbit cnd string
See also: 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
return boolean true on success