mgd_copy_page_element

Name

mgd_copy_page_element -- Copy a page element

Synopsis

int mgd_copy_page_element(int id, int root);

Description

Minimum version: Midgard 1.4 (Bifrost)

Copies the page element record with id id to a new location under page with id root.

Returns the id of the created copy if successfull. Returns false on failure.

Example

<?php
  $copy = mgd_copy_page_element(13,17);
?>