mongodb\file\Download setDocument()

setDocument() public method

Sets data of the document to be downloaded.

Document can be specified by its ID, in this case its data will be fetched automatically via extra query.

public void setDocument ( $document )
$document array|\MongoDB\BSON\ObjectID

Document raw data or document ID.

doc_Yii
2016-10-30 17:08:29
Comments
Leave a Comment

Please login to continue.