cloneBlock

cloneBlock

ADVANCED / PREMIUM BASIC

Clones a block in the document.

Description
public cloneBlock (string $blockName [, int $occurrence])
Parameters

blockName

The block var.

occurrence

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

Return values

Void.

Code samples

Example #1

Example #2