mgd_copy_element

(Midgard 1.4.2 'Bifrost')

mgd_copy_element -- Copy a style element

Description

int mgd_copy_element (int id, int [style])

Minimum version: Midgard 1.4 (Bifrost)

Copies the style element with id id into a new style element. The optional style parameter can be used to have the copy created within that style.

Returns the id of the newly created copy if successful. Returns FALSE on failure.


<?php
 mgd_copy_element(13,2);
?>