mgd_copy_page

Name

mgd_copy_page -- Copy a page record

Synopsis

int mgd_copy_page(int id, int root);

Description

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

Example

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