mgd_copy_element

Name

mgd_copy_element -- Copy a style element

Synopsis

int mgd_copy_element(int id, int [style]);

Description

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 successfull. Returns false on failure.

Example

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