array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'mongodb-driver-cursorinterface.toarray.php', 1 => 'MongoDB\\Driver\\CursorInterface::toArray', ), 'up' => array ( 0 => 'class.mongodb-driver-cursorinterface.php', 1 => 'MongoDB\\Driver\\CursorInterface', ), 'prev' => array ( 0 => 'mongodb-driver-cursorinterface.settypemap.php', 1 => 'MongoDB\\Driver\\CursorInterface::setTypeMap', ), 'next' => array ( 0 => 'class.mongodb-driver-server.php', 1 => 'MongoDB\\Driver\\Server', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/cursorinterface/toarray.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.6.0)
MongoDB\Driver\CursorInterface::toArray — Returns an array containing all results for this cursor
Iterates the cursor and returns its results in an array. MongoDB\Driver\CursorInterface::setTypeMap() may be used to control how documents are unserialized into PHP values.
この関数にはパラメータはありません。
Returns an array containing all results for this cursor.