Name
mgd_move_article -- Move an article to different topic
Synopsis
int mgd_move_article
(int id, int target_topic);
Description
Minimum version: Midgard 1.4 (Bifrost)
Moves an article under topic specified in the
target_topic.
Returns zero if successfull, non-zero on failure.
Example
<?php
$id = 123;
$target = 17;
if(!mgd_move_article( $id, $target )) {
echo "failed to move article.<br>\n";
echo "reason: " . mgd_errstr();
} else {
echo "moved article $id under topic $target.<br>\n";
}
?>