XML API - pdx:cloneBlock

pdx:cloneBlock

Clones a block in the document.

Note

You are reading the XML API documentation. For the PHP API method please go to cloneBlock.

Description

Element definition

Attributes and sub-elements

variableName

The name of the block var.

occurrence

Position of the block to be cloned. 1 as default.

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code