Net_NNTP_Client::count()

Net_NNTP_Client :: () – ニュースグループに投稿されている記事の総数を取得する

Synopsis

require_once 'Net/NNTP/Client.php';

public integer Net_NNTP_Client::count ( void )

Description

ニュースグループに投稿されている記事の総数を取得します。

Return value

integer - 記事の総数。

Note

0.3 以降

This function can not be called statically.

Example

count() の使用

<?php
...
$nntp->selectGroup("php.pear.dev");
echo 
"記事の総数: ".$nntp->count();
?>