Net_NNTP::max()

Net_NNTP::max() – 記事番号の最大値を取得する

Synopsis

require_once 'Net/NNTP.php';

integer Net_NNTP::max ( )

Description

This function is deprecated. That means that future versions of this package may not support it anymore.

現在選択されているニュースグループの最大の記事番号を取得します。

Return value

integer - 記事番号の最大値。

Note

This function can not be called statically.

Example

max() の使用

<?php
...
$nntp->selectGroup("php.pear.dev");
echo 
"記事番号の最大値: ".$nntp->max();
?>