mgd_copy_pageelement

(unknown)

mgd_copy_pageelement -- Copy a page element

Description

int mgd_copy_pageelement (int id, int root)

Minimum version: Midgard 1.4 (Bifrost)

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

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


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