mgd_copy_page

(Midgard 1.4.2 'Bifrost')

mgd_copy_page -- Copy a page record

Description

int mgd_copy_page (int id, int root)

Minimum version: Midgard 1.4 (Bifrost)

Copies the page record with id id to a new location, a subpage to the page with id root.

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


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