MongoCursorException
PHP Manual

MongoCursorException::getHost

(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)

MongoCursorException::getHostThe hostname of the server that encountered the error

説明

public string MongoCursorException::getHost ( void )

Returns the hostname of the server the query was sent too.

パラメータ

この関数にはパラメータはありません。

返り値

Returns the hostname, or NULL if the hostname is unknown.


MongoCursorException
PHP Manual