Copies an existing ArticleFile and renames it.
public copyFileToFileStage ( $sourceFileId, $sourceRevision, $newFileStage, $destFileId = null, $viewable = false ) | ||
$sourceFileId | int | |
$sourceRevision | int | |
$destFileId | int (optional) | |
$viewable | boolean (optional) |