downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

MongoId::getInc> <MongoId::__construct
[edit] Last updated: Fri, 25 May 2012

view this page in

MongoId::getHostname

(PECL mongo >= 1.0.8)

MongoId::getHostnameこのマシンの id に使うホスト名を取得する

説明

public static string MongoId::getHostname ( void )

MongoId が一意な id を作るために使うホスト名を返します。 これは gethostname() の返り値と同じものとなります。

これは、次の関数と同じ意味です。

<?php

public static function getHostname() {
    return 
gethostname();
}

?>

パラメータ

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

返り値

ホスト名を返します。



add a note add a note User Contributed Notes MongoId::getHostname
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites