mgd_copy_topic

Name

mgd_copy_topic -- Copy a topic

Synopsis

int mgd_copy_topic(int id, int [topic]);

Description

Minimum version: Midgard 1.4 (Bifrost)

Copies the topic with id id. If the optional parameter topic is given, the copy will reside under that topic.

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

Example

<?php
 $newtopic = mgd_copy_topic(13);
?>