mongodb\gii\model\Generator $attributeList

$attributeList public property public $attributeList = null

mongodb\file\Upload __destruct()

__destruct() public method Destructor. Makes sure abandoned upload is cancelled. public void __destruct ( )

mongodb\file\Upload init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

mongodb\file\Upload complete()

complete() public method Completes upload. public array complete ( )return array Saved document.

mongodb\file\Upload cancel()

cancel() public method Cancels the upload. public void cancel ( )

mongodb\file\Upload addStream()

addStream() public method Adds stream content to the upload. This method can invoked several times before complete() is called. public $this addStream ( $stream )$stream resource Data source stream. return $this Self reference.

mongodb\file\Upload addFile()

addFile() public method Adds a file content to the upload. This method can invoked several times before complete() is called. public $this addFile ( $filename )$filename string Source file name. return $this Self reference.

mongodb\file\Upload addContent()

addContent() public method Adds string content to the upload. This method can invoked several times before complete() is called. public $this addContent ( $content )$content string Binary content. return $this Self reference.

mongodb\file\Upload $length

$length public property Total upload length in bytes. public integer $length = 0

mongodb\file\Upload $filename

$filename public property Filename to be used for file storage. public string $filename = null