mongodb\file\Cursor __unset()

__unset() public method PHP magic method, which is invoked on attempt of unsetting of property. public void __unset ( $name )$name string Field name.

mongodb\file\Cursor __set()

__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.

mongodb\file\Download $bytes

$bytes public read-only property File content. public string getBytes ( )

mongodb\file\Cursor __call()

__call() public method PHP magic method, which is invoked on attempt of invocation not existing method. It redirects method call to inner iterator. public mixed __call ( $name, $arguments )$name string Method name. $arguments array Method arguments return mixed Method result.

mongodb\file\Cursor __get()

__get() public method PHP magic method, which is invoked on attempt of getting not existing property. It returns value from the inner iterator. public mixed __get ( $name )$name string Field name. return mixed Field value.

mongodb\file\Cursor toArray()

toArray() public method Returns an array containing all results for this cursor public array toArray ( )return array Containing all results for this cursor.

mongodb\file\Cursor __isset()

__isset() public method PHP magic method, which is invoked on attempt of checking if a property is set. public boolean __isset ( $name )$name string Field name. return boolean Whether field exists or not.

mongodb\file\Cursor __construct()

__construct() public method Constructor. public void __construct ( $collection, $cursor )$collection yii\mongodb\file\Collection $cursor \MongoDB\Driver\Cursor

mongodb\file\Cursor count()

count() public method Count elements of this cursor. This method is required by the interface Countable. public integer count ( )return integer Elements count.

mongodb\file\Cursor setTypeMap()

setTypeMap() public method Sets a type map to use for BSON unserialization. public void setTypeMap ( $typemap )$typemap array Type map.