array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'mongodb-driver-serverdescription.gettype.php', 1 => 'MongoDB\\Driver\\ServerDescription::getType', ), 'up' => array ( 0 => 'class.mongodb-driver-serverdescription.php', 1 => 'MongoDB\\Driver\\ServerDescription', ), 'prev' => array ( 0 => 'mongodb-driver-serverdescription.getroundtriptime.php', 1 => 'MongoDB\\Driver\\ServerDescription::getRoundTripTime', ), 'next' => array ( 0 => 'class.mongodb-driver-topologydescription.php', 1 => 'MongoDB\\Driver\\TopologyDescription', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/serverdescription/gettype.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.13.0)
MongoDB\Driver\ServerDescription::getType — Returns a string denoting the type of this server
Returns a string denoting the type of this server. The value will correlate with a MongoDB\Driver\ServerDescription constant.
Cette fonction ne contient aucun paramètre.
Returns a string denoting the type of this server.