DMSDocument_versions::create_version
Creates a new version of a document by moving the current file and renaming it to the versioned filename.
This method assumes that the method calling this is just about to upload a new file to replace the old file.
Signature
public function create_version(DMSDocument
$doc )
Parameters
$doc
— DMSDocument
Returns
- bool
- Success or failure