Net_NNTP::last()

Net_NNTP::last() – get highest message number

Synopsis

require_once 'Net/NNTP.php';

integer Net_NNTP::last ( )

Description

Retrieves the highest message number in the current selected newsgroup

Return value

integer - highest message number

Note

since 0.3

This function can not be called statically.

Example

Using last()

<?php
...
$nntp->selectGroup("php.pear.dev");
echo 
"highest message number: ".$nntp->last();
?>
check connection status (Previous) get highest message number (Next)
Last updated: Mon, 01 Sep 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.