mongodb\file\Collection createDownload()

createDownload() public method (available since version 2.1)

Creates download command.

public yii\mongodb\file\Download createDownload ( $document )
$document array|\MongoDB\BSON\ObjectID

File document ot be downloaded.

return yii\mongodb\file\Download

File download instance.

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

Please login to continue.