Net_NNTP::max()

Net_NNTP::max() – get highest message number

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.

Retrieves the highest message number in the current selected newsgroup

Return value

integer - highest message number

Note

This function can not be called statically.

Example

Using max()

<?php
...
$nntp->selectGroup("php.pear.dev");
echo 
"highest message number: ".$nntp->max();
?>
get highest message number (Previous) get lowest message number (Next)
Last updated: Thu, 30 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.