getChunkIterator() public method Returns iterator for the file chunks cursor. public Iterator getChunkIterator ( $refresh = false )$refresh boolean Whether to recreate iterator, if it is already exist. return Iterator Chuck cursor iterator.
$resource public read-only property File stream resource. public resource getResource ( )
getChunkCursor() public method Returns file chunks read cursor. public \MongoDB\Driver\Cursor getChunkCursor ( $refresh = false )$refresh boolean Whether to recreate cursor, if it is already exist. return \MongoDB\Driver\Cursor Chuck list cursor. throws yii\base\InvalidConfigException
getBytes() public method Alias of toString() method. public string getBytes ( )return string File content.
$size public read-only property File size. public integer getSize ( )
$collection public property File collection to be used. public yii\mongodb\file\Collection $collection = null
$filename public read-only property File name. public string|null getFilename ( )
$chunkIterator public read-only property Chuck cursor iterator. public Iterator getChunkIterator ( $refresh = false )
$document public property Document to be downloaded. public array getDocument ( )public void setDocument ( $document )
__set() public method PHP magic method, which is invoked on attempt of setting not existing property. It passes value to the inner iterator. public void __set ( $name, $value )$name string Field name. $value mixed Field value.
Page 213 of 633