array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'mongodb-driver-cursorinterface.settypemap.php', 1 => 'MongoDB\\Driver\\CursorInterface::setTypeMap', ), 'up' => array ( 0 => 'class.mongodb-driver-cursorinterface.php', 1 => 'MongoDB\\Driver\\CursorInterface', ), 'prev' => array ( 0 => 'mongodb-driver-cursorinterface.isdead.php', 1 => 'MongoDB\\Driver\\CursorInterface::isDead', ), 'next' => array ( 0 => 'mongodb-driver-cursorinterface.toarray.php', 1 => 'MongoDB\\Driver\\CursorInterface::toArray', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/cursorinterface/settypemap.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.6.0)
MongoDB\Driver\CursorInterface::setTypeMap — Sets a type map to use for BSON unserialization
Sets the type map configuration to use when unserializing the BSON results into PHP values.
typeMap
(array)No value is returned.