/**
docs.ssmods.com
Overview
Namespaces
Interfaces
Classes
Source
Overview
Classes
Sunnysideup\DMS\Model
DMSDocument
replaceDocument
Introduction
Synopsis
Parameter
Return
Interface
Source
Sunnysideup\DMS\Model\DMSDocument::
replaceDocument
Takes a File object or a String (path to a file) and copies it into the DMS, replacing the original document file but keeping the rest of the document unchanged.
Signature
public function replaceDocument(
File
$file )
Parameters
$file
— object
object, or String that is path to a file to store
Returns
DMSDocumentInstance
Document object that we replaced the file in
Defined by Interface
DMSDocumentInterface